Tech talk php_cms

27
TECH TALK : PHP By: Mr. Shehrevar Davierwala http://www.trackdcode.com https://www.facebook.com/trackdcode

Transcript of Tech talk php_cms

Page 1: Tech talk php_cms

TECH TALK : PHP

By: Mr. Shehrevar Davierwalahttp://www.trackdcode.com

https://www.facebook.com/trackdcode

Page 2: Tech talk php_cms

Goal of the projectGoal of the project

Page 3: Tech talk php_cms

• Designing a website generator• Intuitive interface for

• Website creation• Website administration

AbstractGoal of the projectGoal of the project

Page 4: Tech talk php_cms

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

Some facts

Goal of the projectGoal of the project

Page 5: Tech talk php_cms

1. First, create Sub-pages:1. Choosing the type of each Sub-page2. Chose a name for each sub-page3. Can create many sub-pages of the same type

2. Then, create Pages – A page is composed of one or many sub-pages1. Choosing a name for each page2. Filling a page with one or many sub-pages

3. Now, we create our Website- A website is composed of one or many pages1. Choosing pages and their order

4. Finally, we fill the sub-pages with elements1. An element can be in many sub-pages

Goal of the projectGoal of the project

Page 6: Tech talk php_cms

Used TechnologiesUsed Technologies

05/01/23

Page 7: Tech talk php_cms

1. PHP recursive acronym for "PHP:Hypertext Preprocessor“

2. Widely-used Open Source scripting language3. Especially suited for Web development4. Used for producing dynamic web pages5. Can be embedded into HTML.

Used TechnologiesUsed TechnologiesPHP Personal Home Page (PHP)

Page 8: Tech talk php_cms

1. PHP includes a large number of free and open source libraries

2. Real Object Oriented Programming Language3. Commonly install on Apache Server allow to

interact with Database like Mysql 4. PHP is mainly focused on server-side scripting

Used TechnologiesUsed TechnologiesPHP Hypertext Preprocessor

Page 9: Tech talk php_cms

Where does PHP fit ?

Web Browser

Internet orIntranet

page

Web

HTTPRequest

Page

Webpage

Web

Server

server

Addedfunction

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 pages.

Used TechnologiesUsed Technologies

Page 10: Tech talk php_cms

Web-Client Web-Server

PHPScript

HTML-Form SubmitForm Data

Call PHPinterpreter

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 inputand creating Web pages as output

Page 11: Tech talk php_cms

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)?

Page 12: Tech talk php_cms

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

Page 13: Tech talk php_cms

Screenshot

Page 14: Tech talk php_cms
Page 15: Tech talk php_cms

Wordpress

Page 16: Tech talk php_cms

Typo3

Page 17: Tech talk php_cms

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.

Page 18: Tech talk php_cms

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.

Page 19: Tech talk php_cms

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

Page 20: Tech talk php_cms

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

Page 21: Tech talk php_cms

Database DesignDatabase Design

05/01/23

Page 22: Tech talk php_cms

Sub-page “People”

DataBase DesignDataBase Design

Page 23: Tech talk php_cms

List of Pages

DataBase DesignDataBase Design

Page 24: Tech talk php_cms
Page 25: Tech talk php_cms

PHP vs. JSP PHP is faster in execution time A recent survey in ZDnet's eWeek 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

Page 26: Tech talk php_cms

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

Page 27: Tech talk php_cms

TThe End…he End…

05/01/23

Thanks…..