際際滷

際際滷Share a Scribd company logo
Php in web-developing
PHP,Frameworks,CMS-platform,database
What is php?
Preprocessor hypertext also called as
personal home page a recursive Acronym.
 Server language that use MVC pattern
 Used to build secure webapps
 Share content between view page and
database via USER AUTHENTICATION
Restaurant model
Restaurant WWW
Recipe php code
Cook PHP
Kitchen Server
Pantry Database
Dish Content
Waiter HTTP
Diner End user
How to run php?
Why only php?
Where exactly php?
 Save projects here
C:wamp64www and run on local
server(wamp/xamp)
 Everywhere/open/Free apps/uses
MYSQL/easy to use yet powerful
 Server side scripting
How php differs
from
ASP.NET (C# OR Visual Basic)
C++
Java and JSP.
Python.
Ruby on Rails and so on.
F
R
A
M
E
W
O
R
K
s
Important Considerations
for Choosing A Web Dev
Framework
Based on 15 results
(https://goo.gl/Fo9wSK)
1. Usage Context
2. License
3. Software Pattern
4. Hosting Requirements
5. Ease of Installation
6. Learning Curve
7. Core Library
8. DB Abstraction and ORM
9. Included JS Library
10. Unit Testing
11. Scaling
12. Documentation
13. The Community
14. Bug Fixes/ Updates
15. Ease of Creating an Extension and
Availability
https://goo.gl/e9a5zY
https://goo.gl/4vZE7i
Cms -
Content management
system
Popular
Cms
Users
in
millions
Popular
CMS
for PHP
MAGENTO
 Open source CMS
 E-commerce platform
 Build on Zend framework
 Uses EAV(Entity-Attribute
 value) database model
In magento,
Websites can be
build in 3 ways
 From scratch code
 Buy online themes
 Use pre-installed
themes
Why magento?
mysqlWhy used in most Frameworks and server scripts?
 MySQL is a relational database that supports SQL to query data
 most used database on the planet
 Many extremely popular open source platforms like Wordpress and
Drupal use MYSQL
 Almost supports all frameworks of php
It is also important to note that PHP also needs to be coded in a secure manner. Developers need to
always ensure to validate and sanitize user input.
Think of this scenario. A developer fails to properly validate and sanitize user input during the processing
of the form. A malicious hacker realizes this and decides to do whats called SQL Injection. SQL is the
database language that MySQL is based off of.
The injection attack is done in a way to delete all the data found in the database. Now all 10,000 homes
are no longer in the database and youre back to driving around town. Actually no, worse, the website now
loses you as a website visitor because you visit the competitor's website instead. Loss of business.
So PHP can be used to properly validate and sanitize user input for security reasons.
This is just a small example of the power of PHP
security

More Related Content

Php frameworks

  • 2. What is php? Preprocessor hypertext also called as personal home page a recursive Acronym. Server language that use MVC pattern Used to build secure webapps Share content between view page and database via USER AUTHENTICATION
  • 3. Restaurant model Restaurant WWW Recipe php code Cook PHP Kitchen Server Pantry Database Dish Content Waiter HTTP Diner End user
  • 4. How to run php? Why only php? Where exactly php? Save projects here C:wamp64www and run on local server(wamp/xamp) Everywhere/open/Free apps/uses MYSQL/easy to use yet powerful Server side scripting
  • 5. How php differs from ASP.NET (C# OR Visual Basic) C++ Java and JSP. Python. Ruby on Rails and so on.
  • 7. Important Considerations for Choosing A Web Dev Framework Based on 15 results (https://goo.gl/Fo9wSK) 1. Usage Context 2. License 3. Software Pattern 4. Hosting Requirements 5. Ease of Installation 6. Learning Curve 7. Core Library 8. DB Abstraction and ORM 9. Included JS Library 10. Unit Testing 11. Scaling 12. Documentation 13. The Community 14. Bug Fixes/ Updates 15. Ease of Creating an Extension and Availability
  • 11. Popular CMS for PHP MAGENTO Open source CMS E-commerce platform Build on Zend framework Uses EAV(Entity-Attribute value) database model
  • 12. In magento, Websites can be build in 3 ways From scratch code Buy online themes Use pre-installed themes
  • 14. mysqlWhy used in most Frameworks and server scripts? MySQL is a relational database that supports SQL to query data most used database on the planet Many extremely popular open source platforms like Wordpress and Drupal use MYSQL Almost supports all frameworks of php
  • 15. It is also important to note that PHP also needs to be coded in a secure manner. Developers need to always ensure to validate and sanitize user input. Think of this scenario. A developer fails to properly validate and sanitize user input during the processing of the form. A malicious hacker realizes this and decides to do whats called SQL Injection. SQL is the database language that MySQL is based off of. The injection attack is done in a way to delete all the data found in the database. Now all 10,000 homes are no longer in the database and youre back to driving around town. Actually no, worse, the website now loses you as a website visitor because you visit the competitor's website instead. Loss of business. So PHP can be used to properly validate and sanitize user input for security reasons. This is just a small example of the power of PHP security