what is php framework? set of classes and functions(methods) design for the development of web...

10
WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD) Saves you time Build more stable application Reduce amount of repetitive code Allows you to spend more time in creating the actual web application, instead of spending time writing repetitive code PHP Framework

Upload: lauren-bell

Post on 08-Jan-2018

219 views

Category:

Documents


0 download

DESCRIPTION

WHY SHOULD WE USE A PHP FRAMEWORK? Speeding up the development process Offers pre-built modules Stability Extensive PHP Framework

TRANSCRIPT

Page 1: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

WHAT IS PHP FRAMEWORK?

• Set of Classes and Functions(Methods)• Design for the development of web

applications• Provide basic structure

• Rapid application development(RAD)• Saves you time• Build more stable application• Reduce amount of repetitive code

• Allows you to spend more time in creating the actual web application, instead of spending time writing repetitive code

PHP Framework

Page 2: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

MODEL-VIEW-CONTROLLER (MVC)• Architectural pattern in programming that isolates

business logic code from the User Interface (UI)• Break up the development process of an application• Makes coding in PHP faster and less complicated• Model

• Contains the server business logic code• View

• Present the output to the user in a particular format, most often HTML makup

• Controller• The Manager

PHP Framework

Page 3: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

WHY SHOULD WE USE A PHP FRAMEWORK?• Speeding up the development process• Offers pre-built modules• Stability• Extensive

PHP Framework

Page 4: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

WHEN TO USE A PHP FRAMEWORK?• Will offer greater simplicity as well stability, so it may

be a good idea to use PHP frameworks whenever possible.

• Will help reduce or eliminate bad coding and speed up the build process.

• PHP Frameworks for “weak” programmers.• When working on a project with tight deadlines.• When you’re working on projects with substantial

amounts of monotonous coding.

PHP Framework

Page 5: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

TWO CATEGORIES OF PHP FRAMEWORK• Glue Framework

• Provide greater flexibility than Full-Stack Framework.

• Allows advance developer to choose their way to use the existing codes base from framework.

• Full-Stack Framework• Difficult to implement your own ideas but other

way it requires less work to make things work.• Saves you development time by providing pre-

built logic for common application patterns.

PHP Framework

Page 6: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

PHP FRAMEWORK VS. CONTENT MANAGEMENT SYSTEM(CMS)

PHP Framework

CMS PHP FRAMEWORKProvides nice basic functionality Provides nice development toolsGood for a large number of websites with typical functionality

Good for a sites with unique functionality

No need to reinvent common used stuff like breadcrumb, easy media files or menu management, etc

Common used stuff can be easily added with flexible, extensible

There is a number of ready-to-use plugins

There is a number of ready-to-use API libraries

• BASIC ISSUES

Page 7: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

PHP FRAMEWORK VS. CONTENT MANAGEMENT SYSTEM(CMS)

PHP Framework

CMS PHP FRAMEWORKRestricts what you can do No restrictionsSlow customizing for unique requirements

Quick customizing

Making changes into the code can be difficult and with risks of losing compatibility with new versions of the CMS or just other plugins

Making changes into the code is easy, because core is not dependent on the third-party solutions

Unlike the core, modules and plugins can contain hard-to-fix bugs

All the code is easy-to-control

• CUSTOMIZING ISSUES

Page 8: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

PHP FRAMEWORK VS. CONTENT MANAGEMENT SYSTEM(CMS)

PHP Framework

CMS PHP FRAMEWORKImpossible to use good programming practices like automated tests, refactoring, etc.

Good programming practices are welcomed!

Impossible to use coding standards and maintain code quality

Coding standards are widely used to maintain the code quality

Many CMS have performance issues which can't be solved if the problem is in the core

Any performance issues can be solved by our programmers

• CODING ISSUES

Page 9: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

PHP FRAMEWORK VS. CONTENT MANAGEMENT SYSTEM(CMS)

PHP Framework

CMS PHP FRAMEWORKProfessional CMS are very expensive in the first investment and in the long run

Development with framework is expensive in the first investment and not expensive in the long run

• BUSINESS ISSUES

Page 10: WHAT IS PHP FRAMEWORK? Set of Classes and Functions(Methods) Design for the development of web applications Provide basic structure Rapid application development(RAD)

PHP Framework