SlideShare a Scribd company logo
CODING CONVENTION TuVinh Services & Software Solutions ., JSC   1. Name of variable: Name of one  variable define by prefix plus Name of variable Example : a. double : prefix = dbl  $dblFree = 125.75; b. object : prefix = obj $objCustomer = new Customer();
2.Variable naming convention table
3. Convention of funciton or classs when coding: When you create a function, you need to have one comment that funciton for detail Example: /* Author: Nguyen Thanh Dung Date create : 02/02/2009 Date repaire: 03/02/2009 Function name: getCustomerName() Input: no values Outpuut: return one array store name of customer /* function getCustomerName() { // some scripts  here }
4. Convention name of some tags on web form
5. Convention of database : Database name = prefix + name Table name =  prefix + name Column name = prefix + name
THE END

More Related Content

Viewers also liked (9)

ODP
Coding In Php
Harit Kothari
 
PPTX
PHP FUNCTIONS
Zeeshan Ahmed
 
PPSX
PHP Comprehensive Overview
Mohamed Loey
 
PDF
Introduction to php web programming - sessions and cookies
baabtra.com - No. 1 supplier of quality freshers
 
ODP
PHP Web Programming
Muthuselvam RS
 
PPT
Class 6 - PHP Web Programming
Ahmed Swilam
 
PDF
Introduction to PHP
Bradley Holt
 
PPT
Php Presentation
Manish Bothra
 
PPT
Introduction to PHP
Jussi Pohjolainen
 
Coding In Php
Harit Kothari
 
PHP FUNCTIONS
Zeeshan Ahmed
 
PHP Comprehensive Overview
Mohamed Loey
 
Introduction to php web programming - sessions and cookies
baabtra.com - No. 1 supplier of quality freshers
 
PHP Web Programming
Muthuselvam RS
 
Class 6 - PHP Web Programming
Ahmed Swilam
 
Introduction to PHP
Bradley Holt
 
Php Presentation
Manish Bothra
 
Introduction to PHP
Jussi Pohjolainen
 

Similar to Php Coding Convention (20)

PPTX
FAIZAN JAVED BUTT_845544_assignsubmission_file_ppt VP.pptx
bestmoviestrailerbes
 
PPT
Virtual Function and Polymorphism.ppt
ishan743441
 
PPTX
21CSC101T best ppt ever OODP UNIT-2.pptx
Anantjain234527
 
PPTX
Functions in C++ programming language.pptx
rebin5725
 
PPTX
Improving rpc bkp
eleksdev
 
PDF
EMC Documentum - xCP.x Updating Endpoint
Haytham Ghandour
 
ODT
Mysql
ksujitha
 
TXT
Plsql
Shohan Ahmed
 
PDF
Constructors & Destructors [Compatibility Mode].pdf
LadallaRajKumar
 
PPTX
functIONS PROGRAMMING CIII II DJDJKASDJKJASD.pptx
nandemprasanna
 
PPTX
Ian 2014.10.24 weekly report
LearningTech
 
PPT
Constructors and destructors in C++
RAJ KUMAR
 
PDF
Customizing oro crm webinar
Oro Inc.
 
PDF
22 scheme OOPs with C++ BCS306B_module2.pdfmodule2.pdf
sindhus795217
 
PDF
Symfony2 - from the trenches
Lukas Smith
 
PDF
Symfony2 from the Trenches
Jonathan Wage
 
PPT
ASP.NET 09 - ADO.NET
Randy Connolly
 
PPTX
Procedure and Functions in pl/sql
Ñirmal Tatiwal
 
PPTX
Classes and objects
Bhushan Mulmule
 
DOC
Labsheet 7 FP 201
rohassanie
 
FAIZAN JAVED BUTT_845544_assignsubmission_file_ppt VP.pptx
bestmoviestrailerbes
 
Virtual Function and Polymorphism.ppt
ishan743441
 
21CSC101T best ppt ever OODP UNIT-2.pptx
Anantjain234527
 
Functions in C++ programming language.pptx
rebin5725
 
Improving rpc bkp
eleksdev
 
EMC Documentum - xCP.x Updating Endpoint
Haytham Ghandour
 
Mysql
ksujitha
 
Constructors & Destructors [Compatibility Mode].pdf
LadallaRajKumar
 
functIONS PROGRAMMING CIII II DJDJKASDJKJASD.pptx
nandemprasanna
 
Ian 2014.10.24 weekly report
LearningTech
 
Constructors and destructors in C++
RAJ KUMAR
 
Customizing oro crm webinar
Oro Inc.
 
22 scheme OOPs with C++ BCS306B_module2.pdfmodule2.pdf
sindhus795217
 
Symfony2 - from the trenches
Lukas Smith
 
Symfony2 from the Trenches
Jonathan Wage
 
ASP.NET 09 - ADO.NET
Randy Connolly
 
Procedure and Functions in pl/sql
Ñirmal Tatiwal
 
Classes and objects
Bhushan Mulmule
 
Labsheet 7 FP 201
rohassanie
 
Ad

Recently uploaded (20)

PDF
[GDGoC FPTU] Spring 2025 Summary Slidess
minhtrietgect
 
PDF
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
PDF
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
PDF
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 
PDF
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PPTX
Essential Content-centric Plugins for your Website
Laura Byrne
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
Linux schedulers for fun and profit with SchedKit
Alessio Biancalana
 
PDF
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
PPTX
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PDF
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
PPTX
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
PPTX
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
[GDGoC FPTU] Spring 2025 Summary Slidess
minhtrietgect
 
99 Bottles of Trust on the Wall — Operational Principles for Trust in Cyber C...
treyka
 
“Squinting Vision Pipelines: Detecting and Correcting Errors in Vision Models...
Edge AI and Vision Alliance
 
NASA A Researcher’s Guide to International Space Station : Earth Observations
Dr. PANKAJ DHUSSA
 
Transcript: Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Essential Content-centric Plugins for your Website
Laura Byrne
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
Linux schedulers for fun and profit with SchedKit
Alessio Biancalana
 
“NPU IP Hardware Shaped Through Software and Use-case Analysis,” a Presentati...
Edge AI and Vision Alliance
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
What’s my job again? Slides from Mark Simos talk at 2025 Tampa BSides
Mark Simos
 
Role_of_Artificial_Intelligence_in_Livestock_Extension_Services.pptx
DrRajdeepMadavi
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Dev Dives: Accelerating agentic automation with Autopilot for Everyone
UiPathCommunity
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Survival Models: Proper Scoring Rule and Stochastic Optimization with Competi...
Paris Women in Machine Learning and Data Science
 
CapCut Pro PC Crack Latest Version Free Free
josanj305
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
Evolution: How True AI is Redefining Safety in Industry 4.0
vikaassingh4433
 
Agentforce World Tour Toronto '25 - Supercharge MuleSoft Development with Mod...
Alexandra N. Martinez
 
Ad

Php Coding Convention

  • 1. CODING CONVENTION TuVinh Services & Software Solutions ., JSC 1. Name of variable: Name of one variable define by prefix plus Name of variable Example : a. double : prefix = dbl $dblFree = 125.75; b. object : prefix = obj $objCustomer = new Customer();
  • 3. 3. Convention of funciton or classs when coding: When you create a function, you need to have one comment that funciton for detail Example: /* Author: Nguyen Thanh Dung Date create : 02/02/2009 Date repaire: 03/02/2009 Function name: getCustomerName() Input: no values Outpuut: return one array store name of customer /* function getCustomerName() { // some scripts here }
  • 4. 4. Convention name of some tags on web form
  • 5. 5. Convention of database : Database name = prefix + name Table name = prefix + name Column name = prefix + name