Login or Register

  Welcome: Guest


Home >> Article >> Programming >> DataBase >> Post New Article Bookmark and Share

Tips & Tricks For Developers.

July 10, 2012  by: Wajeeh Khan  Points: 3   Category: DataBase  Earning $0.10   Views: 395

Here are some useful tips and tricks that can make developers life easier.

         

Here are some useful tips and tricks that can make developer's life easier:
Database:
1. Use PDO, ADO, Pear, Zend etc. library to connect to database.
2. Take regular backup of database.
3. Use proper and meaningful naming conventions.
4. Take the user’s keys away - It’s usually a bad idea to choose a user-editable field as a key.
5. Don’t over-normalize
6. Build in a fudge factor -unless table size is a serious concern, always build in a fudge factor to allow for new fields

Folders:
1. Use proper naming conventions.
2. Take regular backup of folders.
3. Protect project’s folder to unauthorized access, just put index.html or use apache security.
4. Folder name are case sensitive on servers like Linux.
5. Don’t use 0777 permission on any folder, use 0755.

Files:
1. Use proper naming conventions.
2. Use better documentation for web files, apply comments for coding and indent it.
3. Make consistency in DB, Files-names, Variables, Page design.
4. Take regular backup of files.
5. Use caching for file to make site speed more fast.
6. Create debug files .txt, .log, .html etc. (fopen() | fwrite()) for tracking logical bugs.




Comment(s)

No response found. Be the first to respond to this post

Post Comment

Please Log In  to post comment

Related Resources



5 Essential Tips and Tricks IPAD
Any fool cans IPAD to use on a fundamental level. It was designed this way. But there are things you should know, as if by magic, things you never call again. And we are here to help.

Baby Clothes - Tips and Tricks
Baby clothes are actual expensive, and because your babyish is growing actual rapidly in the aboriginal years, the clothes accept a actual abbreviate life. For best use should accede how we affliction for them, how can we accept added on their issue, and how to save money by affairs the appropriate things first.

Tips and tricks to motivate your sales team
Tips and tricks to motivate your sales team are here. The motivation appears to be one of the toughest applications to control

Tips and Tricks for Improving you Blog/Site with Google Ad Sense
How to utilize google adsense for your blog or site.

Seven Calorie Burning Tips And Tricks
These are all little habits that make a contribution to a real difference and raise your metabolism over a period. You'll make weight management faster and simpler by augmenting your metabolism rate and burning more calories.

Latest Resources From The Same Category



Tips & Tricks For Developers.
Here are some useful tips and tricks that can make developers life easier.

Database Synchronization
Database Synchronization prossesses and Database Comparison

Back up And Restore Database
Step by Step Sql Data Backup And Restore Database

create database source name (DSN)
database source name craetion Steps

 

Top Performers     Top Contributors     Share and Earn     Terms of Service    Privacy Policy     Contact Us