Enviar pesquisa
Carregar
Beginning PHP
•
2 gostaram
•
1,118 visualizações
Mohammed Safwat
Seguir
Tecnologia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 24
Baixar agora
Baixar para ler offline
Recomendados
Php unit i
Php unit i
prakashvs7
Php tutorial
Php tutorial
Niit
PHP LICTURES ..........
PHP LICTURES ..........
Rashid Ahmad
Web programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh Maloth
Bhavsingh Maloth
Programming paradigm and web programming
Programming paradigm and web programming
Mohammad Kamrul Hasan
Php vs asp.net most valuable differences to learn and select the best one f...
Php vs asp.net most valuable differences to learn and select the best one f...
Concetto Labs
Envisioning the Future of Language Workbenches
Envisioning the Future of Language Workbenches
Markus Voelter
Zend Framework Workshop
Zend Framework Workshop
10n Software, LLC
Recomendados
Php unit i
Php unit i
prakashvs7
Php tutorial
Php tutorial
Niit
PHP LICTURES ..........
PHP LICTURES ..........
Rashid Ahmad
Web programming UNIT II by Bhavsingh Maloth
Web programming UNIT II by Bhavsingh Maloth
Bhavsingh Maloth
Programming paradigm and web programming
Programming paradigm and web programming
Mohammad Kamrul Hasan
Php vs asp.net most valuable differences to learn and select the best one f...
Php vs asp.net most valuable differences to learn and select the best one f...
Concetto Labs
Envisioning the Future of Language Workbenches
Envisioning the Future of Language Workbenches
Markus Voelter
Zend Framework Workshop
Zend Framework Workshop
10n Software, LLC
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
Bhavsingh Maloth
Mastering Regex in Perl
Mastering Regex in Perl
Edureka!
A Brief Introduction to Zend_Form
A Brief Introduction to Zend_Form
Jeremy Kendall
Programming language
Programming language
kalasalingam university
PHP Frameworks Review - Mar 19 2015
PHP Frameworks Review - Mar 19 2015
kyphpug
Zero to Zend Framework in 10 minutes
Zero to Zend Framework in 10 minutes
Jeremy Kendall
Coldfusion
Coldfusion
Ram
php_tizag_tutorial
php_tizag_tutorial
tutorialsruby
C++ Restrictions for Game Programming.
C++ Restrictions for Game Programming.
Richard Taylor
Intro to-php-19 jun10
Intro to-php-19 jun10
Kathy Reid
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Paul Filkin
Advantages of golang development services & 10 most used go frameworks
Advantages of golang development services & 10 most used go frameworks
Katy Slemon
Php
Php
Vineet Vats
PHP Training In Chandigar1.docx
PHP Training In Chandigar1.docx
Excellence Academy
PHP Training In Chandigarh.docx
PHP Training In Chandigarh.docx
Excellence Academy
Top 8 Powerful Tools Developers Use for Laravel Web Development.pdf
Top 8 Powerful Tools Developers Use for Laravel Web Development.pdf
MoonTechnolabsPvtLtd
unitI-Introduction to php.pptx
unitI-Introduction to php.pptx
nehasahuji
Php tutorial
Php tutorial
sushil kumar
Php tutorial
Php tutorial
Nguyễn Hoà
Php tutorial
Php tutorial
vigneswaran54
PHP Basics
PHP Basics
Sasi Kumar
Php ppt
Php ppt
Sasi Kumar
Mais conteúdo relacionado
Mais procurados
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
Bhavsingh Maloth
Mastering Regex in Perl
Mastering Regex in Perl
Edureka!
A Brief Introduction to Zend_Form
A Brief Introduction to Zend_Form
Jeremy Kendall
Programming language
Programming language
kalasalingam university
PHP Frameworks Review - Mar 19 2015
PHP Frameworks Review - Mar 19 2015
kyphpug
Zero to Zend Framework in 10 minutes
Zero to Zend Framework in 10 minutes
Jeremy Kendall
Coldfusion
Coldfusion
Ram
php_tizag_tutorial
php_tizag_tutorial
tutorialsruby
C++ Restrictions for Game Programming.
C++ Restrictions for Game Programming.
Richard Taylor
Intro to-php-19 jun10
Intro to-php-19 jun10
Kathy Reid
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Paul Filkin
Advantages of golang development services & 10 most used go frameworks
Advantages of golang development services & 10 most used go frameworks
Katy Slemon
Php
Php
Vineet Vats
Mais procurados
(13)
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
WEB PROGRAMMING UNIT V BY BHAVSINGH MALOTH
Mastering Regex in Perl
Mastering Regex in Perl
A Brief Introduction to Zend_Form
A Brief Introduction to Zend_Form
Programming language
Programming language
PHP Frameworks Review - Mar 19 2015
PHP Frameworks Review - Mar 19 2015
Zero to Zend Framework in 10 minutes
Zero to Zend Framework in 10 minutes
Coldfusion
Coldfusion
php_tizag_tutorial
php_tizag_tutorial
C++ Restrictions for Game Programming.
C++ Restrictions for Game Programming.
Intro to-php-19 jun10
Intro to-php-19 jun10
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Ask the Experts: SDL Trados live Q+A webinar for freelance translators
Advantages of golang development services & 10 most used go frameworks
Advantages of golang development services & 10 most used go frameworks
Php
Php
Semelhante a Beginning PHP
PHP Training In Chandigar1.docx
PHP Training In Chandigar1.docx
Excellence Academy
PHP Training In Chandigarh.docx
PHP Training In Chandigarh.docx
Excellence Academy
Top 8 Powerful Tools Developers Use for Laravel Web Development.pdf
Top 8 Powerful Tools Developers Use for Laravel Web Development.pdf
MoonTechnolabsPvtLtd
unitI-Introduction to php.pptx
unitI-Introduction to php.pptx
nehasahuji
Php tutorial
Php tutorial
sushil kumar
Php tutorial
Php tutorial
Nguyễn Hoà
Php tutorial
Php tutorial
vigneswaran54
PHP Basics
PHP Basics
Sasi Kumar
Php ppt
Php ppt
Sasi Kumar
PHP.docx
PHP.docx
NithiyaNithi2
PHP Vs ASP.NET: How to Choose the Right One?
PHP Vs ASP.NET: How to Choose the Right One?
netdroidtech
Php intro
Php intro
sana mateen
PHP vs Python Which is Best for Web Development.pdf
PHP vs Python Which is Best for Web Development.pdf
christiemarie4
.Net Development Services VS | PHP Development Services
.Net Development Services VS | PHP Development Services
Worth Studios Pvt. Ltd.
Learn PHP Lacture1
Learn PHP Lacture1
ADARSH BHATT
PHP Vs NodeJS for Backend Web Development.pdf
PHP Vs NodeJS for Backend Web Development.pdf
SofiaCarter4
PHP Web Development.pdf
PHP Web Development.pdf
Jiniya Bipasha
Applied+Web+Development+[Autosaved].pptx
Applied+Web+Development+[Autosaved].pptx
voot1
PHP programmimg
PHP programmimg
Sharbani Bhattacharya
Node.js vs PHP, What should SMBs prefer for web development.pdf
Node.js vs PHP, What should SMBs prefer for web development.pdf
Mindfire LLC
Semelhante a Beginning PHP
(20)
PHP Training In Chandigar1.docx
PHP Training In Chandigar1.docx
PHP Training In Chandigarh.docx
PHP Training In Chandigarh.docx
Top 8 Powerful Tools Developers Use for Laravel Web Development.pdf
Top 8 Powerful Tools Developers Use for Laravel Web Development.pdf
unitI-Introduction to php.pptx
unitI-Introduction to php.pptx
Php tutorial
Php tutorial
Php tutorial
Php tutorial
Php tutorial
Php tutorial
PHP Basics
PHP Basics
Php ppt
Php ppt
PHP.docx
PHP.docx
PHP Vs ASP.NET: How to Choose the Right One?
PHP Vs ASP.NET: How to Choose the Right One?
Php intro
Php intro
PHP vs Python Which is Best for Web Development.pdf
PHP vs Python Which is Best for Web Development.pdf
.Net Development Services VS | PHP Development Services
.Net Development Services VS | PHP Development Services
Learn PHP Lacture1
Learn PHP Lacture1
PHP Vs NodeJS for Backend Web Development.pdf
PHP Vs NodeJS for Backend Web Development.pdf
PHP Web Development.pdf
PHP Web Development.pdf
Applied+Web+Development+[Autosaved].pptx
Applied+Web+Development+[Autosaved].pptx
PHP programmimg
PHP programmimg
Node.js vs PHP, What should SMBs prefer for web development.pdf
Node.js vs PHP, What should SMBs prefer for web development.pdf
Mais de Mohammed Safwat
Why do start-ups fail?
Why do start-ups fail?
Mohammed Safwat
Unreal Technology
Unreal Technology
Mohammed Safwat
Introduction to web development
Introduction to web development
Mohammed Safwat
Web Services
Web Services
Mohammed Safwat
Introduction to Linux OS
Introduction to Linux OS
Mohammed Safwat
Asterisk ( The open source telephony )
Asterisk ( The open source telephony )
Mohammed Safwat
Mais de Mohammed Safwat
(6)
Why do start-ups fail?
Why do start-ups fail?
Unreal Technology
Unreal Technology
Introduction to web development
Introduction to web development
Web Services
Web Services
Introduction to Linux OS
Introduction to Linux OS
Asterisk ( The open source telephony )
Asterisk ( The open source telephony )
Último
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
2toLead Limited
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
hariprasad279825
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
Padma Pradeep
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Hervé Boutemy
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Commit University
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Zilliz
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Sergiu Bodiu
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Slibray Presentation
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
BookNet Canada
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
Fwdays
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Lorenzo Miniero
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
Enterprise Knowledge
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
Stephanie Beckett
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
comworks
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
Mark Billinghurst
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
SeasiaInfotech2
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
Zilliz
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
UiPathCommunity
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Alex Barbosa Coqueiro
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
charlottematthew16
Último
(20)
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
Beginning PHP
1.
Web Talk Series[2]
Beginning PHP
2.
Contents Why PHP ? Coding. Limitations. Pros & Cons . Language constructors. OO Aspects. Fear of PHP.
Line of culture .
3.
Why PHP ? PHP is an excellent choice for Web programming. It has many advantages over other languages, including other Weboriented languages. To get a very general understanding of how the common Web programming languages compare, let’s compare them.
PHP ASP Java Perl
4.
Why PHP ? ASP Microsoft’s Web programming environment. It’s not a language itself because it allows the programmer to choose from a few actual languages, such as VBScript or Jscript. ASP is simple, but too simple for programs that use complex logic or algorithms. Many companies find it hard to budget for the expense of Microsoft licenses.
5.
Why PHP ? Java Java is platform independent. It has serious downsides in development time, development cost, and execution speed. Java development is timeconsuming because projects in Java must follow strict rules (imposed by Java) that require extensive planning. Java developers are expensive to hire!
6.
Why PHP ? Perl Perl has been around longer than PHP. Before PHP, Perl was generally accepted as the best Web programming language. You have to download separate modules to get the same functionality in Perl. This leads to problems when programs are transferred from one system to another .
7.
Why PHP ? PHP’s primary use certainly isn’t to track résumés anymore. It has grown to be able to do that and just about anything else. PHP's common uses: • Feedback forms • Shopping carts and other types of ecommerce systems • User registration, access control, and management for online subscription services • Guest books • Discussion and message boards
8.
Coding Creating a PHP program requires that you actually work with the source code of the file as opposed to a “what you see is what you get” (WYSIWYG) approach.
“Installing the environment and web scenario”
9.
Coding The process you would use to create a PHP program is much the same: 1. Create your HTML file (containing text, tables, images, or sounds) and insert PHP code where desired. 2. Save your PHP file as filename.php. 3. Use an FTP program to upload your file to the Web server. 4. Point your browser to the address of the file on your Web server (suchas http://www.example.com/filename.php).
10.
Coding <html> <head><title> Example 1/title></head> HTML <body bgcolor="white" text="black"> <h4>Chapter 1 :: Example 1</h4> <?php /* Display a text message */ echo "Hello, world! This is my first PHP program."; ?> </body> </html>
Save. Upload to web server . Test.
11.
Coding
12.
Coding The PHP interpreter (or parser) is the program that performs the processing mentioned previously. It reads the PHP program file and executes the commands it understands. If PHP happens to find a command it doesn’t understand, it stops parsing the file and sends an error message back to the browser. This is quite different from a compiled language, such as C or C++, which is only interpreted from a humanreadable form once.
13.
Limitations The most important limitations are : Statement: must be correct commands. Syntax : ex: echo “Hi” > will not work. But
echo “Hi”; > will work.
14.
Language Constructors Like the most of programming languages , but PHP has some tweaks: ● Variables & Constants. ● Program Input & Output. ●
Arithmetic and String manipulations. ● Control Structures. ● Functions. ● Classes and Objects. ● Creating dynamic contents with PHP & MySQL. ● Password protection. ● Uploading files. ● Cookies and Sessions.
15.
Cons It's simple , so that there's no unified structure in writing code,like Java for example..! Hard to debug and maintain .. ! Hard for team oriented projects. But , developers made somethings called “Frameworks” , following some design patterns to unify the way all programmers work with.
16.
Object Oriented Aspects PHP has the ability to “include” files within a web page. This reduces initial work and ongoing maintenance. Imagine a website contains a menu at the top of each web page, and this menu is identical throughout the site. You could cut and paste the appropriate code into every page, but this is both cumbersome and counterproductive. This is the simple OO aspect in PHP.But there's more.
17.
Object Oriented Aspects You could summarize this approach as “include and reuse; don’t rewrite.” Objectoriented programming (OOP) is just an extension of this concept. Objects simplify web development by eliminating the need to cut,paste, and adapt existing code.
18.
Arguments for OO PHP 1. It's just a scripting language. “Some scripting languages simply string together a series of commands and for this reason are sometimes referred to as glue”. An OO scripting language is a contradiction in terms; it’s a language that’s“getting above itself.” The limited OO capabilities of PHP 4 reinforced the view that a scripting language shouldn’t attempt to be object oriented.
19.
Arguments for OO PHP 2.Object Orientation Is for Large Software Shops OOP is something best left to the large shops. If a number of programmers are involved in the same project, an OO approach is a necessary evil, but it’s not much use for the lone developer.
20.
Replies OOP doesn’t replace procedural programming or make it obsolete. Nor is an OO approach always the right approach, as some OO enthusiasts might have you believe. However,some web problems require an OO solution. without a minimal understanding of the basics of OOP, you can’t make full use of the capabilities of PHP 5. Example: if you want to create a SOAP client, there is really no other way to do it than by using the SOAPClient class.
21.
Fear of PHP Fear of PHP becoming overly complex is often a more subtly stated objection to an OO PHP. There’s no doubt that OOP can sometimes introduce unwanted complexity. This hasn’t happened with PHP, and there’s good reason to suspect that it won’t. PHP is first and foremost a web development language (which is probably why it has taken so long for PHP to adopt an OO approach).
22.
Fear of PHP The point of object orientation in PHP is not to turn PHP into Java or something similar, but to provide the proper tools for web developers. Object orientation is another strategy for adapting to the current circumstances of “web development”.
23.
A line of culture (KISS) : Keep IT Simple , Stupid ! There will be a learning curve for a procedural programmer adopting an OO approach to web development, In fact, you’ll probably find that some of the tasks you’re used to doing procedurally are more easily done in an OO manner.
24.
Questions?!
Thanks!
Baixar agora