This document discusses using PHP to build a website generator with an intuitive interface for website creation and administration. It describes having sub-pages that can contain different elements like lists of people or projects, and pages made of one or many sub-pages. The technologies used are PHP, MySQL, CSS, JavaScript, and security is added through username/password and encryption. PHP is described as a scripting language especially suited for dynamic web pages that can interact with databases like MySQL. In comparison, PHP is said to be faster than both JSP and ASP.
3. • Designing a website generator
• Intuitive interface for
• Website creation
• Website administration
Abstract
Goal of the projectGoal of the project
4. A classy lab website is always composed by the
following types of elements:
• HTML basic page
• Lists of people – As list of supervisors, list of professors…
• Lists of projects proposal
• Lists of finished projects
• Lists of links
• Certain pages contain several different elements
So m e facts
Goal of the projectGoal of the project
5. 1. First, create Sub-pages:
1. Choosing the type of each Sub-page
2. Chose a name for each sub-page
3. Can create many sub-pages of the same type
2. Then, create Pages – A page is composed of one or many
sub-pages
1. Choosing a name for each page
2. Filling a page with one or many sub-pages
3. Now, we create our Website- A website is composed of one
many pages
1. Choosing pages and their order
4. Finally, we fill the sub-pages with elements
1. An element can be in many sub-pages
Goal of the projectGoal of the project
7. 1. PHP recursive acronym for "PHP:Hypertext
Preprocessor“
2. Widely-used Open Source scripting language
3. Especially suited for Web development
4. Used for producing dynamic web pages
5. Can be embedded into HTML.
Used TechnologiesUsed Technologies
PHP
Personal Home Page (PHP)
8. 1. PHP includes a large number of free and open
source libraries
2. Real Object Oriented Programming Language
3. Commonly install on Apache Server allow to interact
with Database like Mysql
4. PHP is mainly focused on server-side scripting
Used TechnologiesUsed Technologies
PHP
Hypertext Preprocessor
9. Where does PHP fit ?
Web Browser
Internet or
Intranet
page
Web
HTTP
Request
Page
Web
page
Web
Server
server
Added
function
ality
Added
function
ality
Client-side
“Active pages”
JavaScript, VBScript,
Applet, ActiveX
Server-side
“Dynamic pages”
CGI, SSI, Server
API, ASP, JSP, PHP,
COM/DCOM,
CORBA
Active and dynamic page technology
can be used together – server-side
program generates customized active
Used TechnologiesUsed Technologies
10. Web-Client Web-Server
PHP
Script
HTML-Form Submit
Form Data
Call PHP
interpreter
Response Response
Web-Browser WWW
Reply
PHP - Communication client-server
Used TechnologiesUsed Technologies
PHP generally runs on a web server, taking PHP code as its input
and creating Web pages as output
11. A content management system is software that keeps track of every piece of
content on your Website, much like your local public library keeps track of
books and stores them.
Content can be simple text, photos, music, video, documents, or just about
anything you can think of.
A major advantage of using a CMS is that it requires almost no technical skill
or knowledge to manage.
Since the CMS manages all your content, you don't have to.
What's a content management system(CMS)?
12. Drupal is a robust and flexible open source content management
system that is easy to use and very extensible.
Renowned for its reliability and suitability for a wide range of sectors,
Drupal has been adopted by leading organisations all over the world
including The White House, The Economist and Royal Mail.
Drupal Development
17. Used TechnologiesUsed Technologies
MySQL
1. MySQL is a multithreaded, multi-user SQL database
management system.
2. Popular for web applications.
3. Closely tied to PHP.
4. Allow all sort of queries.
5. PhpMyAdmin: friendly user interface to manage database
develop on PHP.
18. Used TechnologiesUsed Technologies
CCS
1. Cascading Style Sheets (CSS): style sheet language used to
describe the presentation of a html document.
2. Define colors, fonts, layout, and other aspects of document
3. Why CSS?
• more flexibility
• control the specification of presentational characteristics
• reduce complexity and repetition in the structural
content.
19. Used TechnologiesUsed Technologies
Javascript
1. JavaScript is a scripting language most often used for client-
side.
2. JS functions are embedded in HTML pages and interact with
the Document Object Model (DOM) of the page
3. Respond to user actions quickly, making an application feel
more responsive
4. Detect user actions which HTML alone cannot
20. Used TechnologiesUsed Technologies
Security
1. Administration is protected by username and password
2. Encryption using a MD5 provider that itself implements an
algorithm based on a cryptographic hash function.
3. Used of Session and cookies
22. Sub-pag e “Pe o ple ”
DataBase DesignDataBase Design
23. List o f Pag e s
DataBase DesignDataBase Design
24.
25. PHP vs. JSP
PHP is faster in execution time
A recent survey in ZDnet's e We e k online publication
found that PHP is as much as 3. 5 times faster than
JSP
Faster in development time – flatter learning curve
PHP supports any 32-bit or better platform, whereas
JSP supports only platforms that have a Java virtual
machine available
26. PHP vs. ASP
PHP is faster
Superior Memory Management
Closer to C Style of Programming
Cross Platform Migration Strategy
Dynamic generation of UI is more flexible
Because JSP is based on Java, a strongly typed language, we had to declare the types of variables we used and manually convert between types when necessary. This makes JSP the hardest of the scripting languages we tested for nonprogrammers to learn...
PHP is very easy to learn because the core language of PHP is quite small, and the constructs are similar to Javascript. As a bonus, many basic HTTP concepts are built into the language.