Professional Documents
Culture Documents
edid=113454
| Electronics | Solar | Consumer Electronics | Infotech | Linux & Open Source | Smartphones |
Tablets Search
| Science & Technology | NIWEEK 2013
Keep off from anything ending with _once()– As programmers, it is well known that
include() gives a warning if it fails, whereas require() kills the script with a fatal error
whenever it fails. Using include_once() and require_once() is too overbearing on server
resources. Nothing can be done about this and this is how PHP is set up. Always keep in
mind that using these terms will kill your server resources especially on a huge
framework. Planning your codes properly will help you to do away with it.
Work with error reporting on- You must ensure to turn the error reporting to E_ALL
before commencing any new project. This must be switched off just 10 seconds before
SUBSCRIBE TO EFYTIMES
going into production mode. It will prevent any error from occurring during the running of Receive the latest reviews, how-tos, news & more.
the project.
Utilise a Framework If Need Be– Using Frameworks which aid in doing difficult things Enter your email address:
can assist but you should learn the functioning of the frameworks to begin with to make
things simple. It also decreases your chances of writing a bad code when someone has
already done most of it for you.
Utilise PHP's Inbuilt Functions– Use the built in PHP function count(), for all your
Subscribe
counting requirements. PHP comes with many built-in functions assisting the user in every
Delivered by FeedBurner
way it can. So ensure that you have read the manual to ensure you are doing it in the best
way possible.
Keep your Database Protected- The ideal way is to use mysql_real_escape_string() for
all database before adding it to the database. This function protects all strings in terms of
quotes and other functions that could affect your database or has a malicious code. Ensure
to make use of this as the first step towards protecting your data.
1 of 4 08/14/2013 11:42 PM
10 Handy PHP Tips For Software Developers http://www.efytimes.com/e1/fullnews.asp?edid=113454
Don’t Use GET Use POST– POST is safer especially when using form submission. GET is
simple to emulate as all one needs to do is add something to their address bar and they
can hack the project.
Draw Before You Code- It is a good idea to think out the mechanics of your application
before starting on coding as it will help in removing the difficulties in your head and avoid
the major headache that comes with the facepalm that makes you realize that all you have
done is either wrong or simply silly.
Know Your Project– Make an effort to understand what you plan to do with your project
before sitting down to code it. Not understanding your project will only prevent you from
building it.
Code Code Code– There is only one way that you can become a good developer that is
by coding again and again. Code real things that interest you and not something that is of
no use. Make what interests you, it will help you to learn.
Most popular
12,990
Press Release
SAP and the Women’s Tennis Association ... Jetstar Soars Towards Paperless Cockpit ...
Now Purchasing A Mobile Will Help You ... GreenDust Launches Its First Ever Brand ...
Vodafone India’s Response To TRAI ... Infinera And DANTE Set Guinness World ...
Distinguished Jury To Decide The Final ... iBeta Completes DEA EPCS Biometric ...
Special Independence Day Offers From ... Infibeam Gives You Mrp Se Aazaadi ...
Freedom From PNR Hassles For Android ... ASUS Launches Its 1st Exclusive Store ...
SAS® Anti-Money Laundering Named Best ... LSI Demonstrates New SandForce® Flash ... Features
10 Handy PHP Tips For Software Developers
Associated Banc-Corp Selects ... ESET Monthly Threat Report For India ... PHP is one of the most popular languages
amongst the developers. These tips can help
Arbor Networks Launches Advanced Threat ... iGATE Wins Asia’s Best Employer Brand ... improve the PHP development....
Drippler Hits 200 Million Drips And ... Ovum predicts The Global Enterprise ... 8 Must-Have Android Apps For You!
These apps allow you to do manage your bank
account, to-do list, listen to radio, edit and modify
McAfee MOBILE SECURITY Offers Enhanced ... IPC Technology Market Research ... images, and do so many day to day things,
which is w...
Nokia Store continues Its India Growth ... Mushkin To Unveil Scorpion Deluxe PCIe ...
Accentium Launches Coupons Site, ... Defense Mobile Corporation Sing ...
World’s First Integrated In-Store ... New 8GB Raspberry Pi Bundle Also ...
Videos
Experience Exemplary Connectivity On ... Arise India Ltd. Enters The Dynamic ...
2 of 4 08/14/2013 11:42 PM
10 Handy PHP Tips For Software Developers http://www.efytimes.com/e1/fullnews.asp?edid=113454
Amazon Web Services Makes Mobile App ... Abu Dhabi Commercial Bank Goes Live ... First Look: LG Optimus G
The phone sports a high-end display and
The Cube(R) And The CubeX(TM) Are The ... Gartner Survey Shows 75 Percent Of ... comes powered by a powerful processor.
...
ASUS Announces ET2301 AiO PC with ... Foxconn Plans To Establish Cloud ...
Create QR-Codes For Free
Ugam Solutions Partners With Leading ... Sterlite Technologies Helps Tata Power ... TEC-IT releases the freeware QR-Code
Studio to provide a quick and convenient
Samsung Introduces World's First 3D ... Introducing iBall Slide i9018: India’s ... way of QR code creation for every
application scenario....
Maxx Mobile Launches Fifteen New Mobile ... Program Features Keynote By Bully ...
Business Leadership Award Winner's ... Ripley SA Selects Manthan Systems to ...
Dialogue
Lenovo Unveils A Range Of Performance ... Pre-Book Nokia Lumia 625 Via ...
“Linux Jobs Are On The Rise”
Infor Partners With CAD Service To ... Microsoft Ventures Accelerator ... If you are working in the open source
space, you have all the chances of being
hired by the biggies. Linux jobs are on
Seagate Joins Industry Leaders To Form ... Accenture Expands Product Lifecycle ... the rise, claims Ralf Flaxa, vi...
NIWEEK 2013
NI cDAQ-9188XT Takes Measurements
In Rugged Environments
NI has improved its NI CompactDAQ
platform by adding a new rugged
chassis, and has introduced NI
CompactDAQ support for the LabVIEW
Electrical Power S...
EFY India
Like
3 of 4 08/14/2013 11:42 PM
10 Handy PHP Tips For Software Developers http://www.efytimes.com/e1/fullnews.asp?edid=113454
Comments
Toodlelew said: "If you are going to depend on ..." on
Events
12 Nov: LASER World Of PHOTONICS INDIA
4 of 4 08/14/2013 11:42 PM