Skip to content Skip to sidebar Skip to footer

Crud Operation Using Html5

i want to create a crud application using html5. the application at startup loads the data from SQL Server and display it on web page.now the user can perform various crud operatio

Solution 1:

You need to use several kind of techniques:

  • Javascript loads via AJAX data from your server, best using JSON format. You should consider jQuery or Sencha ExtJS to ease AJAX and JSON handling.
  • Than you can store the data localy using webstorages or indexedDB, depending on the complexity of your data. The more complex, the more happy you might be with indexedDB as it allows you to have indexes and some sort of accelerated filtering. If you use jQuery take a indexedDB plugin to ease your live.
  • To show, add, edit and in general manipulate your data offline, consider to build your forms, tables, make them sortable. jQuery can help you to build this up too. Although Sencha ExtJS has a very nice table configurator.
  • uploading data to your server needs some kind of synchronisation logics, best server side, to keep the control over the validation of data central. You can work with JSON as well, its easy to generate and to parse at server side, in any server-side language.

If you don't have a favorite Javascript lib and you are new to all this, have a look at jQuery. It also might teach you the underlaying technologies. Sencha will only hide the technology from you, which is somehow "bad", as it keeps you blind and it can be hard or sometimes impossible to accomplish very complex tasks.

Actually what you need is to learn Javascript, as its the core of what people think is html5.

This answer is by far not a complete guide or tutorial, but hopefully it contains some hints for you! Wish you good start.

Post a Comment for "Crud Operation Using Html5"