SlideShare a Scribd company logo
1 of 8
6Simple
Better
PHP Developer
to become a
1
Core PHP
Functions
&
Classes
Always check out the PHP manual
(http://www.php.net/manual/en/) before
creating your own functions.
2 File
Configuration
Instead of having your database connection
settings scattered everywhere, why not just
create one master file that contains its settings,
and then include it in your PHP scripts?
3 Data
Sanitize
SQL injections are more common than you may
think, and unless you want a big headache
later on, sanitizing your database inputs is the
only way to get rid of the problem.
4 Turned
Error Reporting
When building your application, leave
error_reporting and display_errors turned on to
see run-time errors that will help you quickly
identify where errors are coming from.
On
More here…
5 Your Code
Comment
Comment the complicated parts of your source
code so that when you revisit it later you’ll
quickly remember what’s going on.
6 Fellow
Connect
Join a PHP community and interact with
others. By connecting with other developers,
you’ll learn better ways of doing the things
you’re currently doing.
Developers
By:-
Submitted
Biswajit Sur is currently a Project Leader at
AAPNA Infotech Pvt. Ltd. Having a rich 7
years experience in Wordpress/PHP, he has
been an astute professional throughout the
years at AAPNA. His total IT experience is 11
years.
Biswajit Sur

More Related Content

Similar to 6 simple tips to become a better PHP developer

scale_perf_best_practices
scale_perf_best_practicesscale_perf_best_practices
scale_perf_best_practiceswebuploader
 
Php tutorial
Php tutorialPhp tutorial
Php tutorialNiit
 
Chapter 1
Chapter 1Chapter 1
Chapter 1Uma Sam
 
Zend Framework In Action
Zend Framework In ActionZend Framework In Action
Zend Framework In Actionaskme
 
Presentation 1 Web--dev
Presentation 1 Web--devPresentation 1 Web--dev
Presentation 1 Web--devaltsav
 
CONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMCONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMANAND PRAKASH
 
main report on restaurant
main report on restaurantmain report on restaurant
main report on restaurantNeeraj Kumar
 
Rapid Web Development with Python for Absolute Beginners
Rapid Web Development with Python for Absolute BeginnersRapid Web Development with Python for Absolute Beginners
Rapid Web Development with Python for Absolute BeginnersFatih Karatana
 
Online Examination System
Online Examination SystemOnline Examination System
Online Examination SystemDanish Ansari
 
Learn PHP Lacture1
Learn PHP Lacture1Learn PHP Lacture1
Learn PHP Lacture1ADARSH BHATT
 
Top 10 techniques to minimize security vulnerabilities in php application dev...
Top 10 techniques to minimize security vulnerabilities in php application dev...Top 10 techniques to minimize security vulnerabilities in php application dev...
Top 10 techniques to minimize security vulnerabilities in php application dev...Andolasoft Inc
 

Similar to 6 simple tips to become a better PHP developer (20)

scale_perf_best_practices
scale_perf_best_practicesscale_perf_best_practices
scale_perf_best_practices
 
Real World SharePoint Debacles
Real World SharePoint DebaclesReal World SharePoint Debacles
Real World SharePoint Debacles
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Zend Framework In Action
Zend Framework In ActionZend Framework In Action
Zend Framework In Action
 
Presentation 1 Web--dev
Presentation 1 Web--devPresentation 1 Web--dev
Presentation 1 Web--dev
 
Php rules
Php rulesPhp rules
Php rules
 
Codeigniter
CodeigniterCodeigniter
Codeigniter
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
CONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEMCONTENT MANAGEMENT SYSTEM
CONTENT MANAGEMENT SYSTEM
 
PHP Web Development.pdf
PHP Web Development.pdfPHP Web Development.pdf
PHP Web Development.pdf
 
main report on restaurant
main report on restaurantmain report on restaurant
main report on restaurant
 
Rapid Web Development with Python for Absolute Beginners
Rapid Web Development with Python for Absolute BeginnersRapid Web Development with Python for Absolute Beginners
Rapid Web Development with Python for Absolute Beginners
 
Online Examination System
Online Examination SystemOnline Examination System
Online Examination System
 
Php rules
Php rulesPhp rules
Php rules
 
Laravel Presentation
Laravel PresentationLaravel Presentation
Laravel Presentation
 
Learn PHP Lacture1
Learn PHP Lacture1Learn PHP Lacture1
Learn PHP Lacture1
 
Top 10 techniques to minimize security vulnerabilities in php application dev...
Top 10 techniques to minimize security vulnerabilities in php application dev...Top 10 techniques to minimize security vulnerabilities in php application dev...
Top 10 techniques to minimize security vulnerabilities in php application dev...
 

More from Aapna Infotech

How Much Does it Cost to Develop an App
How Much Does it Cost to Develop an AppHow Much Does it Cost to Develop an App
How Much Does it Cost to Develop an AppAapna Infotech
 
Build a Minimum Viable Product (MVP) for Your Startups.pptx
Build a Minimum Viable Product (MVP) for Your Startups.pptxBuild a Minimum Viable Product (MVP) for Your Startups.pptx
Build a Minimum Viable Product (MVP) for Your Startups.pptxAapna Infotech
 
Top HR Processes to Automate
Top HR Processes to AutomateTop HR Processes to Automate
Top HR Processes to AutomateAapna Infotech
 
Laravel Web Development
Laravel Web Development Laravel Web Development
Laravel Web Development Aapna Infotech
 
ElectroNeek Partner - AAPNA Infotech
ElectroNeek Partner - AAPNA InfotechElectroNeek Partner - AAPNA Infotech
ElectroNeek Partner - AAPNA InfotechAapna Infotech
 
RPA Case Studies - AAPNA Infotech
RPA Case Studies - AAPNA InfotechRPA Case Studies - AAPNA Infotech
RPA Case Studies - AAPNA InfotechAapna Infotech
 
Top Reasons to use RPA in Financial Services
Top Reasons to use RPA in Financial ServicesTop Reasons to use RPA in Financial Services
Top Reasons to use RPA in Financial ServicesAapna Infotech
 
Advantages of Automation in Mortgage Processing
Advantages of Automation in Mortgage ProcessingAdvantages of Automation in Mortgage Processing
Advantages of Automation in Mortgage ProcessingAapna Infotech
 
Enterprise App Development
Enterprise App DevelopmentEnterprise App Development
Enterprise App DevelopmentAapna Infotech
 
Software Development Company Corporate Presentation
Software Development Company Corporate Presentation Software Development Company Corporate Presentation
Software Development Company Corporate Presentation Aapna Infotech
 
Enterprise Application Development Corporate Presentation - AAPNA Infotech
Enterprise Application Development Corporate Presentation - AAPNA InfotechEnterprise Application Development Corporate Presentation - AAPNA Infotech
Enterprise Application Development Corporate Presentation - AAPNA InfotechAapna Infotech
 
Artificial Intelligence Services - AAPNA Infotech
Artificial Intelligence Services - AAPNA InfotechArtificial Intelligence Services - AAPNA Infotech
Artificial Intelligence Services - AAPNA InfotechAapna Infotech
 
Robotic process automation (rpa)
Robotic process automation (rpa)Robotic process automation (rpa)
Robotic process automation (rpa)Aapna Infotech
 
Software QA Testing Company India Presentation - AAPNA Infotech
Software QA Testing Company India Presentation - AAPNA InfotechSoftware QA Testing Company India Presentation - AAPNA Infotech
Software QA Testing Company India Presentation - AAPNA InfotechAapna Infotech
 
End-to-End solution - Mobile APP, Web & Smart Iot Bin
End-to-End solution - Mobile APP, Web & Smart Iot Bin End-to-End solution - Mobile APP, Web & Smart Iot Bin
End-to-End solution - Mobile APP, Web & Smart Iot Bin Aapna Infotech
 
Challenges Of Outsourcing
Challenges Of OutsourcingChallenges Of Outsourcing
Challenges Of OutsourcingAapna Infotech
 
Aapna Infotech - A web development company- Corporate Presentation
Aapna Infotech - A web development company- Corporate PresentationAapna Infotech - A web development company- Corporate Presentation
Aapna Infotech - A web development company- Corporate PresentationAapna Infotech
 
10 Steps to Secure Wordpress Sites
10 Steps to Secure Wordpress Sites10 Steps to Secure Wordpress Sites
10 Steps to Secure Wordpress SitesAapna Infotech
 

More from Aapna Infotech (20)

How Much Does it Cost to Develop an App
How Much Does it Cost to Develop an AppHow Much Does it Cost to Develop an App
How Much Does it Cost to Develop an App
 
Build a Minimum Viable Product (MVP) for Your Startups.pptx
Build a Minimum Viable Product (MVP) for Your Startups.pptxBuild a Minimum Viable Product (MVP) for Your Startups.pptx
Build a Minimum Viable Product (MVP) for Your Startups.pptx
 
Top HR Processes to Automate
Top HR Processes to AutomateTop HR Processes to Automate
Top HR Processes to Automate
 
Laravel Web Development
Laravel Web Development Laravel Web Development
Laravel Web Development
 
ElectroNeek Partner - AAPNA Infotech
ElectroNeek Partner - AAPNA InfotechElectroNeek Partner - AAPNA Infotech
ElectroNeek Partner - AAPNA Infotech
 
RPA Case Studies - AAPNA Infotech
RPA Case Studies - AAPNA InfotechRPA Case Studies - AAPNA Infotech
RPA Case Studies - AAPNA Infotech
 
Top Reasons to use RPA in Financial Services
Top Reasons to use RPA in Financial ServicesTop Reasons to use RPA in Financial Services
Top Reasons to use RPA in Financial Services
 
Advantages of Automation in Mortgage Processing
Advantages of Automation in Mortgage ProcessingAdvantages of Automation in Mortgage Processing
Advantages of Automation in Mortgage Processing
 
Enterprise App Development
Enterprise App DevelopmentEnterprise App Development
Enterprise App Development
 
Software Development Company Corporate Presentation
Software Development Company Corporate Presentation Software Development Company Corporate Presentation
Software Development Company Corporate Presentation
 
Enterprise Application Development Corporate Presentation - AAPNA Infotech
Enterprise Application Development Corporate Presentation - AAPNA InfotechEnterprise Application Development Corporate Presentation - AAPNA Infotech
Enterprise Application Development Corporate Presentation - AAPNA Infotech
 
Artificial Intelligence Services - AAPNA Infotech
Artificial Intelligence Services - AAPNA InfotechArtificial Intelligence Services - AAPNA Infotech
Artificial Intelligence Services - AAPNA Infotech
 
Robotic process automation (rpa)
Robotic process automation (rpa)Robotic process automation (rpa)
Robotic process automation (rpa)
 
Software QA Testing Company India Presentation - AAPNA Infotech
Software QA Testing Company India Presentation - AAPNA InfotechSoftware QA Testing Company India Presentation - AAPNA Infotech
Software QA Testing Company India Presentation - AAPNA Infotech
 
End-to-End solution - Mobile APP, Web & Smart Iot Bin
End-to-End solution - Mobile APP, Web & Smart Iot Bin End-to-End solution - Mobile APP, Web & Smart Iot Bin
End-to-End solution - Mobile APP, Web & Smart Iot Bin
 
Challenges Of Outsourcing
Challenges Of OutsourcingChallenges Of Outsourcing
Challenges Of Outsourcing
 
Aapna Infotech - A web development company- Corporate Presentation
Aapna Infotech - A web development company- Corporate PresentationAapna Infotech - A web development company- Corporate Presentation
Aapna Infotech - A web development company- Corporate Presentation
 
10 Steps to Secure Wordpress Sites
10 Steps to Secure Wordpress Sites10 Steps to Secure Wordpress Sites
10 Steps to Secure Wordpress Sites
 
Aapna presentation
Aapna presentationAapna presentation
Aapna presentation
 
Pourquoi externaliser
Pourquoi externaliserPourquoi externaliser
Pourquoi externaliser
 

Recently uploaded

Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptxVinzoCenzo
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolsosttopstonverter
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...Bert Jan Schrijver
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf31events.com
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...OnePlan Solutions
 
Understanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM ArchitectureUnderstanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM Architecturerahul_net
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slidesvaideheekore1
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLionel Briand
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingShane Coughlan
 
VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024VictoriaMetrics
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsChristian Birchler
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shardsChristopher Curtin
 
Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Anthony Dahanne
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfkalichargn70th171
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxAndreas Kunz
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 

Recently uploaded (20)

Osi security architecture in network.pptx
Osi security architecture in network.pptxOsi security architecture in network.pptx
Osi security architecture in network.pptx
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
eSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration toolseSoftTools IMAP Backup Software and migration tools
eSoftTools IMAP Backup Software and migration tools
 
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
JavaLand 2024 - Going serverless with Quarkus GraalVM native images and AWS L...
 
Sending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdfSending Calendar Invites on SES and Calendarsnack.pdf
Sending Calendar Invites on SES and Calendarsnack.pdf
 
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
Tech Tuesday Slides - Introduction to Project Management with OnePlan's Work ...
 
Understanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM ArchitectureUnderstanding Flamingo - DeepMind's VLM Architecture
Understanding Flamingo - DeepMind's VLM Architecture
 
Introduction to Firebase Workshop Slides
Introduction to Firebase Workshop SlidesIntroduction to Firebase Workshop Slides
Introduction to Firebase Workshop Slides
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Large Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and RepairLarge Language Models for Test Case Evolution and Repair
Large Language Models for Test Case Evolution and Repair
 
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full RecordingOpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
OpenChain AI Study Group - Europe and Asia Recap - 2024-04-11 - Full Recording
 
VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024VictoriaMetrics Anomaly Detection Updates: Q1 2024
VictoriaMetrics Anomaly Detection Updates: Q1 2024
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving CarsSensoDat: Simulation-based Sensor Dataset of Self-driving Cars
SensoDat: Simulation-based Sensor Dataset of Self-driving Cars
 
2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards2024 DevNexus Patterns for Resiliency: Shuffle shards
2024 DevNexus Patterns for Resiliency: Shuffle shards
 
Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024Not a Kubernetes fan? The state of PaaS in 2024
Not a Kubernetes fan? The state of PaaS in 2024
 
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdfExploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
Exploring Selenium_Appium Frameworks for Seamless Integration with HeadSpin.pdf
 
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptxUI5ers live - Custom Controls wrapping 3rd-party libs.pptx
UI5ers live - Custom Controls wrapping 3rd-party libs.pptx
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 

6 simple tips to become a better PHP developer

  • 2. 1 Core PHP Functions & Classes Always check out the PHP manual (http://www.php.net/manual/en/) before creating your own functions.
  • 3. 2 File Configuration Instead of having your database connection settings scattered everywhere, why not just create one master file that contains its settings, and then include it in your PHP scripts?
  • 4. 3 Data Sanitize SQL injections are more common than you may think, and unless you want a big headache later on, sanitizing your database inputs is the only way to get rid of the problem.
  • 5. 4 Turned Error Reporting When building your application, leave error_reporting and display_errors turned on to see run-time errors that will help you quickly identify where errors are coming from. On More here…
  • 6. 5 Your Code Comment Comment the complicated parts of your source code so that when you revisit it later you’ll quickly remember what’s going on.
  • 7. 6 Fellow Connect Join a PHP community and interact with others. By connecting with other developers, you’ll learn better ways of doing the things you’re currently doing. Developers
  • 8. By:- Submitted Biswajit Sur is currently a Project Leader at AAPNA Infotech Pvt. Ltd. Having a rich 7 years experience in Wordpress/PHP, he has been an astute professional throughout the years at AAPNA. His total IT experience is 11 years. Biswajit Sur