Posted on 1 Comment

Tutorial: AJAX with jQuery

jQuery is a very powerful JavaScript framework, and to put in their own terms, is The Write Less, Do More JavaScript library. jQuery’s slogan indeed holds true to its claim, as you’ll discover as soon as you start coding using jQuery. Although jQuery has an extensive set of API and a collection of many functions in its arsenal, I would be concentrating more on the AJAX capabilities of jQuery in this tutorial.

Most of the modern websites, irrespective of whether they offer a simple or a complex interface, usually use AJAX for some task or the other. While designing in order to cater to today’s needs, it becomes almost indispensable to use AJAX to make the end-user experience faster and more pleasant. So, if you had been deferring the use of AJAX till now owing to it’s complexity in raw JavaScript, here is your chance to start using it with utmost ease.

It is really amazing to see how much simplified AJAX is with jQuery. The developers have seemingly (and painstakingly) done a lot of hard work behind the scenes to make it easy for the web developer to implement even the most complex JavaScript concepts, including AJAX.

For the purpose of demostrating AJAX, I’ll be making use of a simple web application (that I designed using HTML, PHP, jQuery, CSS and MySQL). I call it the Albums Database.

Continue reading Tutorial: AJAX with jQuery

Posted on Leave a comment

Recent Happenings – II

Posting after about a month. So, what happened in the past one month with me? Read on….

  • In my Python learning quest, I have reached the most interesting and core part – OOP (Object Oriented Programming). Before that, I had been reading the functional programming part, which is also interesting in itself, but of course not as interesting as implementing classes 😉 . You might be thinking why I am too slow in learning Python. That’s because of a simple reason that I get to read my Python book only when I get some time (which I rarely get in continuation).
  • Last month, I also created a Python based Jumbled Words game. It’s a GUI-based game which uses wxPython as the front-end. I have already prepared a setup file for this little game (for Windows) which I will be posting for download soon.
  • As a part of a college project, last week I was all too busy coding a light-weight Forum System (prepared in PHP and uses MySQL as the database backend). If you are interested in checking out how it looks like, visit: http://www.granularproject.org/sandbox/forum/. Currently, it doesn’t boast of many features, but at least provides all the basic functionality in a cool looking interface. And well, I don’t intend to introduce any more features in it. It is better left as it is!
  • On Granular development front, I had been slow since the last 2 weeks. But now, I intend to devote some good amount of planned time as the next Granular Linux release date is approaching soon.
  • The recently launched IPL (Indian Premier League) has been quite a success. I myself love watching it. the major matches are very addictive and high scoring. Gosh, due to IPL I am worried about my forthcoming end semester exams! 😉
  • And did you remember I was reading Skipping Christmas by John Grisham? Well, I haven’t gotten any far in it yet. I am still there where I left it the last time I gave a mention of it. 😉