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.
Although it’s been in my head and my keyboard for a while, I am “officially” starting to work on brand new Instant Update CMS from 5th of July. Version 4, which is being written from scratch, is based on CodeIgniter and Datamapper ORM. Although it is (or at least will be) completely rewritten, we will keep current philosophy of being template-less CMS system! Sort of, as in new version you will actually use your HTML files as templates!
What’s new in version 4:
These are just few of many improvements we are going to make in new IU. These are sort of already implemented.
We plan to release it with minimum functionality and to build on top of that when we hear back suggestions from our users. I’m thrilled to work on this!
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
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.