JQuery Ajax Validation Plugin

The jQuery form plugin by malsup is an excellent plugin when we want to use Ajax feature when submitting the web form. It will be more cool if we can add validation feature to mark the fields which contain error. For security reason, the validation itself will be done in server side not in client side. This plugin is intended to achive that.

Fetch Database Row Using Angular

Based my previous post about jQuery FetchRow plugin. We are going to fetch one record from database based on the ID we entered and display the result in the other input element but this time I try to achieve it using Angular.

Let's see the following complete client side code. For the server side script we are still using the same code in jQuery FetchRow.

Introducing Angular JS

Javascript technology has improved so great. We already has jQuery and now we has Angular JS. First time I hear about it I have no idea what it will be like. After spending some time to search it on the internet I can describe it as a Javascript framework that able to separate the data manipulation for the DOM manipulation. Whatever it is, it will be easier if we take a look at this sample application.

Django Pagination For Raw Query

It's almost two weeks since I started to learn Django until this article is written. It's true that Django has a very powerfull pagination function. When we use it with QuerySet, the query result won't be fetched until we print the result. Yeah, it really saves the performance, but when we use it together with the raw query, all the query result will be fetched first then the library will perform the pagination on it. To solve the problem, I try to create the custom pagination class for Django.


Subscribe to W3Shaman.Com RSS