Archive for the ‘php’ Tag
Just PHP will give you nothing… unless you upgrade yourself by Hasin Hayder by Hasin Hayder
This topic was actually posted by Hasin Bhai, I just made a summary of it and want to find out from here what should i learn next.
CSS: (maintain a list of websites where from you can get updates. Dont learn the CSS from book, but goto websites and see what is happening)
JS: you have to have some basic skills on basic javascript, but dont spend time for re inventing the wheels. Go for popular libs like Prototype, jQuery, Moo, Mootools, Scriptaculous, Dojo, Rico
Frameworks: Have to have proper knowledge on MVC framework. Most Popular frameworks for PHP are CodeIgniter, CakePHP, Symfony
Never wait for only MySQL. Learn postgreSQL. PostgreSQL also developed a lot. Now its hardly a factor between them, if you talk abt performance. Beside that I must say postgre is much more mature, feature rich and thats why it is called “open source oracle”. And it is also necessary to learn atleast one of the embedded database like SQLite. Dont ever think that SQLite is less powerull. You can develop amazing apps using simply SQLite, with some “hacks” and “optimizations”.
If you are PHP developer and think you have learned enough already, let me give some suggestions. Please DONT think you have finished learning. Everyday there are new release from PEAR, PECL and many other providers. Please learn useful packages from PEAR. Also learn the following:
1. ezComponents
2. Zend Framework (dont mix framework with the MVC concept.. MVC is just a part of Zend Framework)
3. Popular opensource packages
4. PEAR
5. Templating engines like Smarty, Savant.
also keep yourself uptodate from the following sites
1. www.phparch.com
2. www.phpmag.net
3. www.phpmagazine.net
4. www.ajaxian.com
5. www.mashable.com
6. www.programmableweb.com
7. www.planet-php.org
Naming convention for Variable and other’s in PHP
- Variable
- Local Variable (lower case: EX. $stdtname)
- Global Variable (Starts with a g: EX. gStudentname
Some Important Recognized variables:
i => Counter Variable
n => Count Variable
m => Represents n, if n is used
j => Represents i, if i is used
k => Represents i, if i is used
- Class (Starting character is Capital: EX. class Maritalstatus)
- Function (Camal Case: EX. function MyFunction()
- Parameter/Argument (Starts with p, then camel case)
- Instantiate (Class/Object starts with m, then camel case)
- Controls (Starts with meaningful short name, then your chosen name in Camel Case: Ex. txtPersonName)
- Form Elements (Starts with frm, then your chosen name in camel case: EX. frmMyForm)
implement
Database Name: Represent/Separate it by underscore to have a Meaning full name. Name should be all lower case (By Default MySQL treats database as lower case, what ever name you give it)
Table Name: Lower case, Separated by underscore (If needed)
Field Name: Should be meaningful and Camel Case.
Comments (3)
Leave a Comment
Comments (2)




