Click here to Skip to main content
12,509,612 members (57,525 online)
Click here to Skip to main content

Tagged as

Stats

11.1K views
413 downloads
12 bookmarked
Posted

JavaScript Database Engine (JS-DBE)

, 12 Feb 2013 CPOL
This is a simple JavaScript database engine implementation
<tables>
	<table>
		<Person>
			<Id>1</Id>
			<Name>John Smith</Name>
			<Age>35</Age>
			<City>New York</City>
			<Country>USA</Country>
			<Amount>315,254.56</Amount>
			<Currency>USD</Currency>
			<CompanyId>1</CompanyId>
		</Person>
		<Person>
			<Id>2</Id>
			<Name>Anna Black</Name>
			<Age>38</Age>
			<City>London</City>
			<Country>Great Britain</Country>
			<Amount>250,480.13</Amount>
			<Currency>GBP</Currency>
			<CompanyId>2</CompanyId>
		</Person>
		<Person>
			<Id>3</Id>
			<Name>Stiven Anderson</Name>
			<Age>60</Age>
			<City>Washington</City>
			<Country>USA</Country>
			<Amount>130,800.00</Amount>
			<Currency>USD</Currency>
			<CompanyId>1</CompanyId>
		</Person>
		<Person>
			<Id>4</Id>
			<Name>Kelly Torn</Name>
			<Age>52</Age>
			<City>Liverpool</City>
			<Country>Great Britain</Country>
			<Amount>24,130.18</Amount>
			<Currency>GBP</Currency>
			<CompanyId>1</CompanyId>
		</Person>
		<Person>
			<Id>5</Id>
			<Name>Johan Wurstenberg</Name>
			<Age>18</Age>
			<City>Berlin</City>
			<Country>Germany</Country>
			<Amount>160,998.00</Amount>
			<Currency>EUR</Currency>
			<CompanyId>2</CompanyId>
		</Person>
	</table>

	<table>
		<Company>
			<Id>1</Id>
			<Name>Microsoft</Name>
			<Country>USA</Country>
		</Company>
		<Company>
			<Id>2</Id>
			<Name>Apple</Name>
			<Country>USA</Country>
		</Company>
	</table>
</tables>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

darkoman
Software Developer (Senior) Elektromehanika d.o.o. Nis
Serbia Serbia
He has a master degree in Computer Science at Faculty of Electronics in Nis (Serbia), and works as a C++/C# application developer for Windows platforms since 2001. He likes traveling, reading and meeting new people and cultures.

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160929.1 | Last Updated 12 Feb 2013
Article Copyright 2013 by darkoman
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid