Click here to Skip to main content
15,886,847 members
Articles / Programming Languages / Javascript

jQuery Templates/View Engines and JSON Services

Rate me:
Please Sign up or sign in to vote.
4.96/5 (28 votes)
25 Apr 2012CPOL16 min read 82.3K   1.9K   102  
Basic concepts of creating pure JavaScript applications using jQuery, JavaScript View Engines, and web services that provide JSON results that are accessed by JavaScript code via AJAX calls.
* {
	margin: 0;
	padding: 0;
}


body {
	font-size: 62.5%;
	font-family: Helvetica, sans-serif;
	background: url(images/stripe.png) repeat;
}


p {
	font-size: 1.3em;
	margin-bottom: 15px;
}


#page-wrap {
	width: 660px;
	background: white;
	padding: 20px 50px 50px 50px;
	margin: 20px auto;
	min-height: 150px;
	height: auto !important;
	height: 500px;
}

#contact-area {
	width: 600px;
	margin-top: 25px;
}

#contact-area input, #contact-area textarea {
	padding: 5px;
	width: 471px;
	font-family: Helvetica, sans-serif;
	font-size: 1.4em;
	margin: 0px 0px 10px 0px;
	border: 2px solid #ccc;
}


#contact-area textarea {
	height: 90px;
}

#contact-area textarea:focus, #contact-area input:focus {
	border: 2px solid #900;
}

#contact-area input.submit-button {
	width: 100px;
	float: right;
}


label {font-size: 1.4em;}
label, span {
	float: left;
	text-align: right;
	margin-right: 15px;
	width: 100px;
	padding-top: 5px;

}
#contact-area input[type="radio"], #contact-area input[type="checkbox"] { width:5px }
li span {float:none; margin-right:0px}
dt {margin-left: 10px}
dt, dd {display:inline-table; border-bottom-style:solid; border-bottom-width:thin; width:80px}

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)


Written By
Program Manager Microsoft
Serbia Serbia
Graduated from Faculty of Electrical Engineering, Department of Computer Techniques and Informatics, University of Belgrade, Serbia.
Currently working in Microsoft as Program Manager on SQL Server product.
Member of JQuery community - created few popular plugins (four popular JQuery DataTables add-ins and loadJSON template engine).
Interests: Web and databases, Software engineering process(estimation and standardization), mobile and business intelligence platforms.

Comments and Discussions