Browsing articles from "February, 2009"
Feb 18, 2009
admin

PHP 5 Magic – _clone() method


Before I begin to explain the use of a _clone() method, lets try and understand what does object cloning mean.

To clone an object means to create a duplicate of an object. With regular variables $a = $b means that a new variable $a gets created that contains the value of $b. This means that 2 variables get created.

With objects $obj2 = $obj1 does not mean that a new object i.e. $obj2 gets created. When we execute $obj2 = $obj1, the reference of $obj1 is assigned to $obj2. This means that $obj1 and $obj2 point to the same memory space. Look at the diagram below. Continue reading »

Feb 13, 2009
admin

Example of AJAX and PHP


Hello Friends !

Here I explain one Example how AJAX used in PHP ?

First create a database displayed below:

id FirstName LastName Age Hometown Job
1 Peter Griffin 41 Quahog Brewery
2 Lois Griffin 40 Newport Piano Teacher
3 Joseph Swanson 39 Quahog Police Officer
4 Glenn Quagmire 41 Quahog Pilot

Then You have to create HTML form:

<html>
<head>
<script src="selectuser.js"></script>
</head>
<body>
<form>
Select a User:
<select name="users" onchange="showUser(this.value)">
<option value="1">Peter Griffin</option>
<option value="2">Lois Griffin</option>
<option value="3">Glenn Quagmire</option>
<option value="4">Joseph Swanson</option>
</select>
</form>
<p>
<div id="txtHint"><b>User info will be listed here.</b></div>
</p>
</body>
</html>

Continue reading »

Feb 13, 2009
admin

Do You Know What is AJAX ?


AJAX : Asynchronous Java And XML

Ajax is a set of programming techniques or a particular approach to Web programming. These programming techniques involve being able to seamlessly update a Web page or a section of a Web application with input from the server, but without the need for an immediate page refresh. This doesn’t mean that the browser doesn’t make a connection to the Web server.

Ajax doesn’t have to use XML, and neither does it have to be asynchronous. Ajax applications can use XML, and they can be updated asynchronously. These are quite common tricks and techniques used to update the page, but they are not tied to these technologies.

Here are the technologies he specifically mentioned:

  • XHTML and CSS
  • The Document Object Model (DOM)
  • JavaScript
  • XML and XSLT
  • The XMLHttpRequest object

In reality, to create an application using Ajax techniques you need only three of these: XHTML, the DOM, and JavaScript. If you do any amount of development with Ajax techniques, though, you will almost certainly need to use all of the technologies at some point.

You’ll also probably need a server-side language to handle any interaction with the server. This is most typically one of the following three:

  • PHP
  • ASP.NET (Visual Basic.Net/C#)
  • Java

This is the Overview of AJAX.

In my Next Post I will write that how to use AJAX in PHP ?

Don’t Forget to leave comment.

Thanks…….

Feb 9, 2009
admin

Free Download PHP Books


Hello Friends !

As you all know by this site, I am trying to provide you the knowledge of PHP.

If you are new for PHP then don’t worry friends .

I found some PHP books which will help you to learn PHP easily.

I list some links on which you can find PHP Books absolutely free…

PHP 5 Power Programming

Free PHP Books Zone

PHP Junk Yard

Free PHP Programming Books

Free PHP Ebooks

Above links are useful those all the peoples who want to learn PHP and those who wnat to do Powerfull programming in PHP.

If you like this post then Please Comment on this post..

Enjoy the Free Books……

Feb 5, 2009
admin

Javascript Effects to Boost your Website


Hello Friends,

I found 27 javascript for image gallery ( Light box effects) which will be very useful in your site and also used in your PHP related projects.

Here’s a collection of 27 powerful – yet easy-to-implement — JavaScript effects to supplement your web page’s interface. These were picked using a “bang for your buck” methodology; meaning that these effects were chosen specifically because they provide high-impact effects with very little effort in installing and using them.

I list down that all below. Continue reading »

Pages:«12

Support to grow

If you think my post is helps you then please make donation and do support to grow:

PHP Genious Services

I am a PHP freelancer india, PHP Developer india, PHP programmer india, Wordpress Freelancer india, Wordpress customization services, Wordpress Plugin Developer, Wordpress theme customization, Wordpress plugin customization, Magento Freelancer, Magento Developer india, Magento customization services, Magento theme integration, Opencart Developer india, Zencart Freelancer, Opencart customization, Opencart plugin development, HTML and CSS customization, cakePHP Developer, cakePHP Freelancer india, Ecommerce Developer india

Click Here for

Follow me on Facebook

Categories

Get Adobe Flash playerPlugin by wpburn.com wordpress themes