Ariba Tech Solutions’ Web Development Training
Ariba Tech Solutions will be conducting a series of Web Development Training this January 2012. For more details, please visit http://aribawebdevtraining.eventbrite.com/

PHP/MySQL Quick Cheat Sheet
- Download and install WAMP (Windows Apache MySQL PHP) Server at www.wampserver.com/en or you can use other server package that supports MySQL and PHP applications (ex. AppServ, LAMP, etc.)
- Once installed, make sure that your localhost is up and running and try to access http://localhost
- Read the manual on how to create and where to save your PHP webpages. For WAMP, go to the installation directory and locate the “www” folder.
- Enjoy creating dynamic web applications using PHP & MySQL.
COMMON PHP/MYSQL FUNCTIONS: Read more…
Object-Oriented Programming with PHP
The recent PHP versions now supports object-oriented programming or OOP, which usually are in class form. Since PHP OOP are in class form, they have accessors, mutators, data members, etc. — much like the usual OOP programming languages. Last week, we started a short crash course with Web Development with PHP/MYSQL. So, I introduced a bit of OOP since most of the participants have the idea already about OOP ( in Java, C++).
Here’s a snippet I used as a demo during our short session:
<?php
class demo {
var $name;
function setName($nombre)
{
$this->name = $nombre;
}
function getName()
{
return $this->name;
}
}
$naming = new demo();
$naming->setName("Jerome Locson");
echo $naming->getName();
?>
I guess if you have a background in programming, you know how the code works. And if not, just drop me comment and I am willing to answer it.


Hi! I am Jerome Locson from Zamboanga City, Philippines. I am programmer, web developer and designer, technopreneur, and blogger. I blog about technology, foods and my travel. Thank you for visiting!