SlideShare ist ein Scribd-Unternehmen logo
1 von 24
Downloaden Sie, um offline zu lesen
Presentation #1
Basics - Overview
Topics
•
•
•
•
•
•

HTML vs CSS
DOM trees
JavaScript
PHP
Frameworks
Templates
HTML vs CSS
HTML
• Content, content, content!
• Tags, elements that form a
DOM (Document Object
Model) tree

CSS
• Presentation of a page
• Select elements and choose
how you want them to look
DOM trees
• The Document Object Model (DOM) is a cross-platform and languageindependent convention for representing and interacting with objects in
X|HTML.
JavaScript
• You add action to your page.
• It’s an OOP client side language.
•

 add a trim function to String
sssssssssssssssssssssssssss
class

•

 use it and add action to
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
your page!
Adding life to static pages
• You’ve been creating great web pages with HTML, and a bit of
CSS.

• But you’ve noticed that visitors to your site can’t do much
other than passively look at the content on the pages. The
communication’s one-way, and you’d like to change that!
• With pure HTML web pages,
the server simply serves up
static HTML that only displays
content
PHP – Brings pages to life!
• PHP allows you to manipulate web page content on the server
just before a page is delivered to the client browser.
1. A PHP script runs on the server
2. This script can alter or generate HTML code at will
3. HTML page is delivered to the browser which does not know
that PHP was involved
• With PHP in the mix, the web server is able to dynamically
generate HTML web pages on the fly.
PHP – All the action
PHP - continued
What the server ran

What the client received
Frameworks
• A software framework is an abstraction in which software
providing generic functionality can be selectively changed by
additional user-written code, thus providing applicationspecific software. A software framework is a universal,
reusable software platform to develop applications, products
and solutions.
• Software frameworks include support programs, compilers,
code libraries, tool sets, and application programming
interfaces (APIs) that bring together all the different
components to enable development of a project or solution.
Frameworks – Why use one?
• If you look at PHP Job listings, you will often see “MVC Framework
Experience” as one of their requirements. It is becoming one of
those must-have skill sets for web developers.
1.
2.
3.
4.
5.
6.
7.

Code and File Organization
Utilities and Libraries
The MVC Pattern
Security
Less Code & Faster Development
Community Support
Suitable for Teamwork
Frameworks – Code and File Organization
• When you setup a PHP Framework, it already has a certain
folder structure. It is expected from you to follow the same
standards and keep everything organized in a certain way.
• Once you get used to this model, you will never want to go
back!
Frameworks – Utilities and Libraries
• if you ever try to build a whole website with PHP alone, you will
find yourself either hunting down a lot of 3rd party code and
libraries, or have to write them yourself.
• All top PHP frameworks come with certain Libraries and Helpers,
that help you with:
1.
2.
3.
4.
5.

Form Validation
Input/Output filtering
Database Abstraction
Session/Cookie Handling
Email, Calendar, Pagination etc…
Frameworks - The MVC Pattern
PHP itself works like a template
engine. However, when used
irresponsibly, it leads to very ugly and
unmaintainable code.
The way the MVC Pattern applies to
PHP applications:
-

-

Models represent your data
structures, usually by interfacing
with the database.
Views contain page templates and
output.
Controllers handle page requests
and bind everything together.

This kind of separation leads to
cleaner and more maintainable
code.
Frameworks - Security
• In PHP you can already find many input and output filtering
functions to protect your website against certain attacks.
• However, manually using these functions can get tiring and
you may forget about them every once in a while.
• With a framework, most of the work can be done for you
automatically. For example in CodeIgniter:
1. Any value passed to database object gets filtered against
SQL injection attacks.
2. All html generating functions, such as form helpers and url
helpers filter the output automatically.
3. All user input can be filtered against XSS attacks.
4. Encrypting cookies automatically is only a matter of
changing a config option.
Frameworks – Less Code & Faster
Development
• There is of course a learning curve for all PHP
Frameworks. But once you get over this hump, you will
enjoy the benefits of rapid application development.
• You will write less code, which means less time spent
typing. You will not have to chase down 3rd party
libraries all the time for every new project because
most of them will come with the default framework
install.
• Also, since you are being more organized, it will be
much faster to chase down bugs, maintain code, and
make changes to existing code.
Frameworks – Community Support
• All popular PHP Frameworks have great active
communities behind them. You can talk to
other developers, get help, feedback and also
give back to the community yourself.
• There are message boards and mailing lists…
You can also learn a lot by just browsing the
forums and look at what other people are
talking about.
Frameworks - Suitable for Teamwork
• The way your project is organized in a PHP
Framework also helps you create a suitable
environment for teamwork.
• You can let your designers work on the Views,
database guru work on the Models, let the
smart programmer build reusable Libraries
and Plugins etc…
• Also you can have someone build unit tests,
because they come with tools for that too.
Frameworks – Which one?
1.
2.
3.
4.
5.
6.

Laravel
Phalcon
Symfony
CodeIgniter
CakePHP
Zend

• There are also JavaScript frameworks which you
normally put them together alongside your PHP
framework to be more productive!
Templates
• A template is a set of HTML as well as CSS files
that organize the look and feel of your page.
• They basically make up the Views you will use
in your framework.
• Thus, your only job is to use the MVC
framework to fill the appropriate content on
each of your pages.
Templates - Bracket
Templates - Simplicity
Templates
• And the list goes on and on…
• We will have to choose one of the ones
listed in the .doc file
The End
• Questions?

Weitere ähnliche Inhalte

Was ist angesagt?

WordPress & Other Content Management Systems
WordPress & Other Content Management SystemsWordPress & Other Content Management Systems
WordPress & Other Content Management SystemsEmily Lewis
 
Modern UI Architecture_ Trends and Technologies in Web Development
Modern UI Architecture_ Trends and Technologies in Web DevelopmentModern UI Architecture_ Trends and Technologies in Web Development
Modern UI Architecture_ Trends and Technologies in Web DevelopmentSuresh Patidar
 
11 Live Node.js CMS Frameworks
11 Live Node.js CMS Frameworks11 Live Node.js CMS Frameworks
11 Live Node.js CMS FrameworksiScripts
 
Edy Dawson Notes on SF HTML5 Dev Conf
Edy Dawson Notes on SF HTML5 Dev ConfEdy Dawson Notes on SF HTML5 Dev Conf
Edy Dawson Notes on SF HTML5 Dev ConfEdy Dawson
 
EPUB for Website Producers
EPUB for Website ProducersEPUB for Website Producers
EPUB for Website Producerswaldoj
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_phpJeanho Chu
 
CUST-3 Document Management with Share
CUST-3 Document Management with ShareCUST-3 Document Management with Share
CUST-3 Document Management with ShareAlfresco Software
 
concrete5 from developer perspective
concrete5 from developer perspectiveconcrete5 from developer perspective
concrete5 from developer perspectivemainio
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web developmentMohammed Safwat
 
WebNetConf 2012 - Single Page Apps
WebNetConf 2012 - Single Page AppsWebNetConf 2012 - Single Page Apps
WebNetConf 2012 - Single Page AppsPop Apps
 
Advanced php code igniter framework
Advanced php code igniter frameworkAdvanced php code igniter framework
Advanced php code igniter frameworkFahim Faysal Kabir
 
Php Frameworks
Php FrameworksPhp Frameworks
Php FrameworksRyan Davis
 
Single page application and Framework
Single page application and FrameworkSingle page application and Framework
Single page application and FrameworkChandrasekar G
 

Was ist angesagt? (20)

Joomla! theming
Joomla! themingJoomla! theming
Joomla! theming
 
WordPress & Other Content Management Systems
WordPress & Other Content Management SystemsWordPress & Other Content Management Systems
WordPress & Other Content Management Systems
 
Modern UI Architecture_ Trends and Technologies in Web Development
Modern UI Architecture_ Trends and Technologies in Web DevelopmentModern UI Architecture_ Trends and Technologies in Web Development
Modern UI Architecture_ Trends and Technologies in Web Development
 
11 Live Node.js CMS Frameworks
11 Live Node.js CMS Frameworks11 Live Node.js CMS Frameworks
11 Live Node.js CMS Frameworks
 
Edy Dawson Notes on SF HTML5 Dev Conf
Edy Dawson Notes on SF HTML5 Dev ConfEdy Dawson Notes on SF HTML5 Dev Conf
Edy Dawson Notes on SF HTML5 Dev Conf
 
EPUB for Website Producers
EPUB for Website ProducersEPUB for Website Producers
EPUB for Website Producers
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_php
 
CUST-3 Document Management with Share
CUST-3 Document Management with ShareCUST-3 Document Management with Share
CUST-3 Document Management with Share
 
Concrete5 workshop
Concrete5 workshopConcrete5 workshop
Concrete5 workshop
 
concrete5 from developer perspective
concrete5 from developer perspectiveconcrete5 from developer perspective
concrete5 from developer perspective
 
Web 2.0
Web 2.0Web 2.0
Web 2.0
 
Web dev#1
Web dev#1Web dev#1
Web dev#1
 
Week01 jan19
Week01 jan19Week01 jan19
Week01 jan19
 
Introduction to web development
Introduction to web developmentIntroduction to web development
Introduction to web development
 
Framework
FrameworkFramework
Framework
 
WebNetConf 2012 - Single Page Apps
WebNetConf 2012 - Single Page AppsWebNetConf 2012 - Single Page Apps
WebNetConf 2012 - Single Page Apps
 
Advanced php code igniter framework
Advanced php code igniter frameworkAdvanced php code igniter framework
Advanced php code igniter framework
 
BackboneJS
BackboneJSBackboneJS
BackboneJS
 
Php Frameworks
Php FrameworksPhp Frameworks
Php Frameworks
 
Single page application and Framework
Single page application and FrameworkSingle page application and Framework
Single page application and Framework
 

Andere mochten auch

Avoiding conflict and litigation with hmrc
Avoiding conflict and litigation with hmrcAvoiding conflict and litigation with hmrc
Avoiding conflict and litigation with hmrcIndia inc
 
Consultation with Regional Rural and Isolated People 2014
Consultation with Regional Rural and Isolated People 2014Consultation with Regional Rural and Isolated People 2014
Consultation with Regional Rural and Isolated People 2014Elizabeth Kerry
 
ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015
ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015
ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015Anastasia Petraki
 
Kbm 1 fiqh bab 12
Kbm 1 fiqh bab 12Kbm 1 fiqh bab 12
Kbm 1 fiqh bab 12putraisya
 
Panel discussion-what are indian family offices doing globally? Managing Indi...
Panel discussion-what are indian family offices doing globally? Managing Indi...Panel discussion-what are indian family offices doing globally? Managing Indi...
Panel discussion-what are indian family offices doing globally? Managing Indi...India inc
 
RTB для недвижимости и авто
RTB для недвижимости и автоRTB для недвижимости и авто
RTB для недвижимости и автоValentin El'tsov
 
Wee cig presentation
Wee cig presentationWee cig presentation
Wee cig presentationdennislzf
 
Foreign exchange-management-act-1999
Foreign exchange-management-act-1999Foreign exchange-management-act-1999
Foreign exchange-management-act-1999Abhishek Bharati
 
The Water Cycle
The Water CycleThe Water Cycle
The Water Cyclemailyn_14
 
ΙΣΤΟΡΙΑ Α' ΕΠΑΛ ΠΡΟΑΓΩΓΙΚΕΣ 2016
ΙΣΤΟΡΙΑ Α' ΕΠΑΛ ΠΡΟΑΓΩΓΙΚΕΣ 2016ΙΣΤΟΡΙΑ Α' ΕΠΑΛ ΠΡΟΑΓΩΓΙΚΕΣ 2016
ΙΣΤΟΡΙΑ Α' ΕΠΑΛ ΠΡΟΑΓΩΓΙΚΕΣ 2016Anastasia Petraki
 
Results Rule: How to Sell Anything to Anyone in Oil & Gas - James Hahn [Energ...
Results Rule: How to Sell Anything to Anyone in Oil & Gas - James Hahn [Energ...Results Rule: How to Sell Anything to Anyone in Oil & Gas - James Hahn [Energ...
Results Rule: How to Sell Anything to Anyone in Oil & Gas - James Hahn [Energ...Energy Digital Summit
 
Types of drugs ict
Types of drugs ictTypes of drugs ict
Types of drugs ictNathanICT
 
Oprezni online josip šimun kuči, 4.c
Oprezni online josip šimun kuči, 4.cOprezni online josip šimun kuči, 4.c
Oprezni online josip šimun kuči, 4.cMarijana Ivosevic
 
Evan Shegog Slide Presentation Sigma Xi Research Showcase 2014
Evan Shegog Slide Presentation Sigma Xi Research Showcase 2014 Evan Shegog Slide Presentation Sigma Xi Research Showcase 2014
Evan Shegog Slide Presentation Sigma Xi Research Showcase 2014 evanshegog
 
Measuring What Really Matters: Search Engine Metrics & Tracking Tips - David ...
Measuring What Really Matters: Search Engine Metrics & Tracking Tips - David ...Measuring What Really Matters: Search Engine Metrics & Tracking Tips - David ...
Measuring What Really Matters: Search Engine Metrics & Tracking Tips - David ...Energy Digital Summit
 

Andere mochten auch (20)

Avoiding conflict and litigation with hmrc
Avoiding conflict and litigation with hmrcAvoiding conflict and litigation with hmrc
Avoiding conflict and litigation with hmrc
 
Consultation with Regional Rural and Isolated People 2014
Consultation with Regional Rural and Isolated People 2014Consultation with Regional Rural and Isolated People 2014
Consultation with Regional Rural and Isolated People 2014
 
Gta 5
Gta 5Gta 5
Gta 5
 
ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015
ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015
ΚΟΙΝΩΝΙΚΗ & ΠΟΛΙΤΙΚΗ ΑΓΩΓΗ Γ' ΓΥΜΝΑΣΙΟΥ ΑΠΟΛΥΤΗΡΙΕΣ ΕΞΕΤΑΣΕΙΣ 2015
 
Kbm 1 fiqh bab 12
Kbm 1 fiqh bab 12Kbm 1 fiqh bab 12
Kbm 1 fiqh bab 12
 
Panel discussion-what are indian family offices doing globally? Managing Indi...
Panel discussion-what are indian family offices doing globally? Managing Indi...Panel discussion-what are indian family offices doing globally? Managing Indi...
Panel discussion-what are indian family offices doing globally? Managing Indi...
 
RTB для недвижимости и авто
RTB для недвижимости и автоRTB для недвижимости и авто
RTB для недвижимости и авто
 
Wee cig presentation
Wee cig presentationWee cig presentation
Wee cig presentation
 
Foreign exchange-management-act-1999
Foreign exchange-management-act-1999Foreign exchange-management-act-1999
Foreign exchange-management-act-1999
 
Hi-Lok Installation
Hi-Lok InstallationHi-Lok Installation
Hi-Lok Installation
 
The Water Cycle
The Water CycleThe Water Cycle
The Water Cycle
 
Recce
RecceRecce
Recce
 
ΙΣΤΟΡΙΑ Α' ΕΠΑΛ ΠΡΟΑΓΩΓΙΚΕΣ 2016
ΙΣΤΟΡΙΑ Α' ΕΠΑΛ ΠΡΟΑΓΩΓΙΚΕΣ 2016ΙΣΤΟΡΙΑ Α' ΕΠΑΛ ΠΡΟΑΓΩΓΙΚΕΣ 2016
ΙΣΤΟΡΙΑ Α' ΕΠΑΛ ΠΡΟΑΓΩΓΙΚΕΣ 2016
 
Results Rule: How to Sell Anything to Anyone in Oil & Gas - James Hahn [Energ...
Results Rule: How to Sell Anything to Anyone in Oil & Gas - James Hahn [Energ...Results Rule: How to Sell Anything to Anyone in Oil & Gas - James Hahn [Energ...
Results Rule: How to Sell Anything to Anyone in Oil & Gas - James Hahn [Energ...
 
Types of drugs ict
Types of drugs ictTypes of drugs ict
Types of drugs ict
 
Oprezni online josip šimun kuči, 4.c
Oprezni online josip šimun kuči, 4.cOprezni online josip šimun kuči, 4.c
Oprezni online josip šimun kuči, 4.c
 
Evan Shegog Slide Presentation Sigma Xi Research Showcase 2014
Evan Shegog Slide Presentation Sigma Xi Research Showcase 2014 Evan Shegog Slide Presentation Sigma Xi Research Showcase 2014
Evan Shegog Slide Presentation Sigma Xi Research Showcase 2014
 
Measuring What Really Matters: Search Engine Metrics & Tracking Tips - David ...
Measuring What Really Matters: Search Engine Metrics & Tracking Tips - David ...Measuring What Really Matters: Search Engine Metrics & Tracking Tips - David ...
Measuring What Really Matters: Search Engine Metrics & Tracking Tips - David ...
 
2525
25252525
2525
 
Kd3.2
Kd3.2Kd3.2
Kd3.2
 

Ähnlich wie Basics of HTML, CSS, JS, PHP Frameworks & Templates

SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017
SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017
SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017Marc D Anderson
 
Frameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic ReviewFrameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic Reviewnetc2012
 
MWLUG 2015 - An Introduction to MVC
MWLUG 2015 - An Introduction to MVCMWLUG 2015 - An Introduction to MVC
MWLUG 2015 - An Introduction to MVCUlrich Krause
 
An Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPagesAn Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPagesUlrich Krause
 
PHP Frameworks Review - Mar 19 2015
PHP Frameworks Review - Mar 19 2015PHP Frameworks Review - Mar 19 2015
PHP Frameworks Review - Mar 19 2015kyphpug
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!netzwelt12345
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_phpJeanho Chu
 
Entity Framework Core 1.0
Entity Framework Core 1.0Entity Framework Core 1.0
Entity Framework Core 1.0Senthil Kumar
 
Which are the best PHP frameworks for web development that have a good future...
Which are the best PHP frameworks for web development that have a good future...Which are the best PHP frameworks for web development that have a good future...
Which are the best PHP frameworks for web development that have a good future...Moon Technolabs Pvt. Ltd.
 
Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Shelly Megan
 
Learn from my Mistakes - Building Better Solutions in SPFx
Learn from my  Mistakes - Building Better Solutions in SPFxLearn from my  Mistakes - Building Better Solutions in SPFx
Learn from my Mistakes - Building Better Solutions in SPFxThomas Daly
 
After the LAMP, it's time to get MEAN
After the LAMP, it's time to get MEANAfter the LAMP, it's time to get MEAN
After the LAMP, it's time to get MEANJeff Fox
 

Ähnlich wie Basics of HTML, CSS, JS, PHP Frameworks & Templates (20)

SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017
SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017
SPS Monaco 2017 - The Lay of the Land of Client-Side Development circa 2017
 
Frameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic ReviewFrameworks Galore: A Pragmatic Review
Frameworks Galore: A Pragmatic Review
 
MWLUG 2015 - An Introduction to MVC
MWLUG 2015 - An Introduction to MVCMWLUG 2015 - An Introduction to MVC
MWLUG 2015 - An Introduction to MVC
 
An Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPagesAn Introduction To Model  View  Controller In XPages
An Introduction To Model  View  Controller In XPages
 
PHP Frameworks Review - Mar 19 2015
PHP Frameworks Review - Mar 19 2015PHP Frameworks Review - Mar 19 2015
PHP Frameworks Review - Mar 19 2015
 
Ps02 cint24 mvc in php
Ps02 cint24 mvc in phpPs02 cint24 mvc in php
Ps02 cint24 mvc in php
 
My cool new Slideshow!
My cool new Slideshow!My cool new Slideshow!
My cool new Slideshow!
 
Week01 jan19 introductionto_php
Week01 jan19 introductionto_phpWeek01 jan19 introductionto_php
Week01 jan19 introductionto_php
 
Entity Framework Core 1.0
Entity Framework Core 1.0Entity Framework Core 1.0
Entity Framework Core 1.0
 
Which are the best PHP frameworks for web development that have a good future...
Which are the best PHP frameworks for web development that have a good future...Which are the best PHP frameworks for web development that have a good future...
Which are the best PHP frameworks for web development that have a good future...
 
Seminar.pptx
Seminar.pptxSeminar.pptx
Seminar.pptx
 
Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!Prominent Back-end frameworks to consider in 2022!
Prominent Back-end frameworks to consider in 2022!
 
Learn from my Mistakes - Building Better Solutions in SPFx
Learn from my  Mistakes - Building Better Solutions in SPFxLearn from my  Mistakes - Building Better Solutions in SPFx
Learn from my Mistakes - Building Better Solutions in SPFx
 
Drupal 7
Drupal 7Drupal 7
Drupal 7
 
1_Intro_toHTML.ppt
1_Intro_toHTML.ppt1_Intro_toHTML.ppt
1_Intro_toHTML.ppt
 
Codeigniter
CodeigniterCodeigniter
Codeigniter
 
Tech talk php_cms
Tech talk php_cmsTech talk php_cms
Tech talk php_cms
 
After the LAMP, it's time to get MEAN
After the LAMP, it's time to get MEANAfter the LAMP, it's time to get MEAN
After the LAMP, it's time to get MEAN
 
Tech talk webtech
Tech talk webtechTech talk webtech
Tech talk webtech
 
Php Web Frameworks
Php Web FrameworksPhp Web Frameworks
Php Web Frameworks
 

Kürzlich hochgeladen

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 

Kürzlich hochgeladen (20)

FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 

Basics of HTML, CSS, JS, PHP Frameworks & Templates

  • 2. Topics • • • • • • HTML vs CSS DOM trees JavaScript PHP Frameworks Templates
  • 3. HTML vs CSS HTML • Content, content, content! • Tags, elements that form a DOM (Document Object Model) tree CSS • Presentation of a page • Select elements and choose how you want them to look
  • 4. DOM trees • The Document Object Model (DOM) is a cross-platform and languageindependent convention for representing and interacting with objects in X|HTML.
  • 5. JavaScript • You add action to your page. • It’s an OOP client side language. •  add a trim function to String sssssssssssssssssssssssssss class •  use it and add action to aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa your page!
  • 6. Adding life to static pages • You’ve been creating great web pages with HTML, and a bit of CSS. • But you’ve noticed that visitors to your site can’t do much other than passively look at the content on the pages. The communication’s one-way, and you’d like to change that! • With pure HTML web pages, the server simply serves up static HTML that only displays content
  • 7. PHP – Brings pages to life! • PHP allows you to manipulate web page content on the server just before a page is delivered to the client browser. 1. A PHP script runs on the server 2. This script can alter or generate HTML code at will 3. HTML page is delivered to the browser which does not know that PHP was involved • With PHP in the mix, the web server is able to dynamically generate HTML web pages on the fly.
  • 8. PHP – All the action
  • 9. PHP - continued What the server ran What the client received
  • 10. Frameworks • A software framework is an abstraction in which software providing generic functionality can be selectively changed by additional user-written code, thus providing applicationspecific software. A software framework is a universal, reusable software platform to develop applications, products and solutions. • Software frameworks include support programs, compilers, code libraries, tool sets, and application programming interfaces (APIs) that bring together all the different components to enable development of a project or solution.
  • 11. Frameworks – Why use one? • If you look at PHP Job listings, you will often see “MVC Framework Experience” as one of their requirements. It is becoming one of those must-have skill sets for web developers. 1. 2. 3. 4. 5. 6. 7. Code and File Organization Utilities and Libraries The MVC Pattern Security Less Code & Faster Development Community Support Suitable for Teamwork
  • 12. Frameworks – Code and File Organization • When you setup a PHP Framework, it already has a certain folder structure. It is expected from you to follow the same standards and keep everything organized in a certain way. • Once you get used to this model, you will never want to go back!
  • 13. Frameworks – Utilities and Libraries • if you ever try to build a whole website with PHP alone, you will find yourself either hunting down a lot of 3rd party code and libraries, or have to write them yourself. • All top PHP frameworks come with certain Libraries and Helpers, that help you with: 1. 2. 3. 4. 5. Form Validation Input/Output filtering Database Abstraction Session/Cookie Handling Email, Calendar, Pagination etc…
  • 14. Frameworks - The MVC Pattern PHP itself works like a template engine. However, when used irresponsibly, it leads to very ugly and unmaintainable code. The way the MVC Pattern applies to PHP applications: - - Models represent your data structures, usually by interfacing with the database. Views contain page templates and output. Controllers handle page requests and bind everything together. This kind of separation leads to cleaner and more maintainable code.
  • 15. Frameworks - Security • In PHP you can already find many input and output filtering functions to protect your website against certain attacks. • However, manually using these functions can get tiring and you may forget about them every once in a while. • With a framework, most of the work can be done for you automatically. For example in CodeIgniter: 1. Any value passed to database object gets filtered against SQL injection attacks. 2. All html generating functions, such as form helpers and url helpers filter the output automatically. 3. All user input can be filtered against XSS attacks. 4. Encrypting cookies automatically is only a matter of changing a config option.
  • 16. Frameworks – Less Code & Faster Development • There is of course a learning curve for all PHP Frameworks. But once you get over this hump, you will enjoy the benefits of rapid application development. • You will write less code, which means less time spent typing. You will not have to chase down 3rd party libraries all the time for every new project because most of them will come with the default framework install. • Also, since you are being more organized, it will be much faster to chase down bugs, maintain code, and make changes to existing code.
  • 17. Frameworks – Community Support • All popular PHP Frameworks have great active communities behind them. You can talk to other developers, get help, feedback and also give back to the community yourself. • There are message boards and mailing lists… You can also learn a lot by just browsing the forums and look at what other people are talking about.
  • 18. Frameworks - Suitable for Teamwork • The way your project is organized in a PHP Framework also helps you create a suitable environment for teamwork. • You can let your designers work on the Views, database guru work on the Models, let the smart programmer build reusable Libraries and Plugins etc… • Also you can have someone build unit tests, because they come with tools for that too.
  • 19. Frameworks – Which one? 1. 2. 3. 4. 5. 6. Laravel Phalcon Symfony CodeIgniter CakePHP Zend • There are also JavaScript frameworks which you normally put them together alongside your PHP framework to be more productive!
  • 20. Templates • A template is a set of HTML as well as CSS files that organize the look and feel of your page. • They basically make up the Views you will use in your framework. • Thus, your only job is to use the MVC framework to fill the appropriate content on each of your pages.
  • 23. Templates • And the list goes on and on… • We will have to choose one of the ones listed in the .doc file