jQuery redirect/POST plugin

Recently I had to POST some data to an URL from within JavaScript (jQuery) and I found out that there is no easy way to do such thing directly from jQuery, other than to create an HTML form on-the-fly and submit it. Since I had to do similar thing on several locations in my code I’ve decided to pack this code to jQuery plugin so anyone can use it.

Once it is included in your page (after jQuery!) you can call it as simple as:

$().redirect('demo.php', {
	'argument1': 'value1',
	'argument2': 'value2' //...and so on...
});

This will POST data hashmap (second argument) to demo.php as soon as the function is called.

See this plugin in action!

DOWNLOAD

College graduate

Yesterday, I have finally completed my last exam on the topic “Development of Android applications with Java”. I have got highest grade possible (10) and now I officially have title of vocational engineer of electrical and computer engineering. It took me a while but finally it’s finished and now I will have more time to work on my private web development business and, of course, InterestingFacts.org, which was the theme of my work. I have made application for IF web site so users can read interesting facts wherever they are! It still needs a little brushing but I expect to see it on Google Play soon!

InterestingFacts.org Android application preview

 

Facebook research project

I just started working on new project for one domestic marketing agency. Can’t talk much about that but the base is I’m using PHP (CodeIgniter + Datamapper, of course) and Facebook’s PHP SDK 3 to get some statuses and let person who is doing research to analyze friend’s statuses. This is just the tip of the iceberg, it seems like it’s going to be one big (if not huge) application.

In the meantime, my Real Estate Script is progressing slowly. I’m finishing setup scripts and should move to frontend development soon. I’ve also started making some kind of Datamapper clone (wannabe) for Java/Android, it’s called SQLiteMapper and it will be very basic copy of Datamapper for CodeIgniter. PHP is much more flexible language than Java and my knowledge of Java and Android API is so tiny so don’t expect it to be ultra cool as WanWizard’s Datamapper, but (if ever finished) it should ease working with SQLite databases a little bit. I’m not sure if I’ll use it in my final exam project, but I plan to use it for all my future Android projects.

Final exam

I’ve chosen my final exam topic. I’m going to make Android application for www.InterestingFacts.org. I already have an idea how it might look like but I need to work on the details

This will be my second Android application written in Java. First is English-Serbian-English dictionary with pronunciation of English words. It will probably never be released in public :-)