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

Granular Package Archive

rpm_logoContinuing my Java learning stint, I started experimenting on RPM packages in the Granular 2008 repository by extracting meta data from them using various Java classes I had written for my on-going college major project. To give a shape (end-user interface) to these leisurely done Java programs, I used my existing project MyBlog to create a website that could display information (extracted by the Java programs) about every RPM package in the repository. In other words, the Java programs store information about each RPM package in a central database which in turn is used by a PHP-based website to display that information, and much more.

In the introduction to Granular Package Archive post I wrote on the Team Granular blog, I explained the various features it has to offer. My personal favorite is the ability to leave comments on individual RPM pages. Other than that, I am quite satisfied with the overall look-and-feel too. In another of my Team Granular blog post, I explained the working of this package archive system, and the way to use it with any other repository of RPM packages.

Some guys at the Unity Project are also contemplating the idea of using this package archive system with their repository too.

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. πŸ˜‰