News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Using Code Igniter to Build an IP-to-Country Mapping Application
February 25, 2009 @ 07:57:11

DevShed finished off their tutorial series looking at mapping IPs to countries in a CodeIgniter application with this new article completing the application to provide a correct products list based on their location.

In this final chapter of the series, I'll be discussing how to build multi-lingual web pages by combining the functionality brought by the "iptocountry" MySQL table that you learned in previous tutorials and the power of the Code Igniter PHP framework.

Their database tables sort the prodcuts out with the three character country code they're associated with. The IP-to-country tables then help with the translation between the visitor's IP address and which products should be shown.

0 comments voice your opinion now!
country ip mapping products codeigniter framework


Developer.com:
Developing a Ajax-driven Shopping Cart with PHP and Prototype
January 26, 2007 @ 07:46:00

On Developer.com, Jason Gilmore has posted This new tutorial that steps you through the creation of an ajax-enabled shopping cart that combines PHP and Prototype.

In the latest installment of this ongoing PHP series, I'll show you how to build a shopping cart using PHP, session handling, and the Prototype JavaScript library (introduced in an earlier installment). The cart allows users to add and delete products from the cart, as well as change cart quantities. And of course, the interaction is seemingly instantaneous, allowing for the user to continue shopping without waiting for the page to reload.

He creates the database table first (bottom up approach), then moves to the PHP code to handle the request/responses for the shopping cart, and with a little bit of session magic to connect the cart to the user and the Prototype tossed in, the cart is complete.

0 comments voice your opinion now!
prototype ajax shoppingcart products database prototype ajax shoppingcart products database



Community Events





Don't see your event here?
Let us know!


application release wordpress interview code threedevsandamaybe laravel developer library introduction project bugfix list podcast series configure api community language framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework