Bear and Share [my] Knowledge

Bear and Share Knowledge

Archive for the ‘tutorial’ Category

First Try using Window Live Writer

without comments

This is testing post using window live writer.

Written by imamiscool

2009/08/09 at 11:29

Posted in tutorial

Check email availability using jQuery’s ajax (Part 2. easy way)

with 2 comments

On our previous tutorial (Part 1), we have deal with hard way of checking email availability using jQuery ajax.
Now we will accomplish the same problem, which is to check email availability without have to reload the page (server side processing).

Here we will solve it using jQuery plugin jQuery validator which is mainly used to validate user form. Inside jQuery validator, we will using its remote feature (the plugin also capable to check wheter the email entered by user is valid or not).

Remote feature allow us to process ajax call then handle its response.
Well then, lets begin.
Read the rest of this entry »

Written by imamiscool

2009/06/29 at 08:50

Posted in tutorial

Tagged with , , , ,

Check email availability using jQuery’s ajax (Part 1. hard way)

with one comment

Here we will make a form such as registration form, which is contain of email field, that need to be checked for its availability.

Naturally, we will check its (email) availability by let the form submitted once, then processed it in the server. However by using AJAX, we can make it possible to check its availability on client-side. Again, jQuery will make it much easier to accomplish.

Before we start, we need jQuery library to complete this tutorial.
This part, we will try to make it using common jQuery’s ajax function, that need several setting to accomplish.
Then, lets begin..
Read the rest of this entry »

Written by imamiscool

2009/06/29 at 08:42

Posted in tutorial

Tagged with , , ,

Generate dynamic chart using amchart and php + ajax drill down

with 2 comments

On our previous tutorial, we’ve made simple dynamic chart using php. Now we will add little feature to make the chart more interactive. We will add drill down feature using jquery’s ajax.

For this purpose, we need to make several changes. We will add another chart as a view of dill down data. Again, we will simulate this data using -fake-data dummy.

We can assume our chart can show the detail of composition of the visitor for ‘clicked’ day, eg. for January 1st, the number of visitor is 68 persons, we -hope- can see the composition of that ‘68′ persons divided into male and female.

Enough for introduction. Lets coding.
Read the rest of this entry »

Written by imamiscool

2009/06/16 at 17:47

Posted in tutorial

Tagged with , , , , ,

Generate dynamic chart using amchart and php

without comments

Introduction
Last week, I’ve been assigned new task to make my chart as interactive as possible, that is need to add some functionality like tooltip, animation, etc which is -almost- impossible to accomplished with javascript.

The last choice is to use SWF-generated chart. The only disadvantage of majority of swf chart out there are lack of capability of export to image file. Then I found amchart, with outstanding style, documentation, template, etc, and the story begin..
Read the rest of this entry »

Written by imamiscool

2009/06/12 at 15:19

Posted in tutorial

Tagged with , ,