30
What is php ?

Joomla @ Barcamp4(Feb 08 Pune)

Embed Size (px)

DESCRIPTION

'Joomla' - An opensource content management system presentation for how to install, configure and use it for web application.

Citation preview

Page 1: Joomla @ Barcamp4(Feb 08 Pune)

What is php ?

Page 2: Joomla @ Barcamp4(Feb 08 Pune)

What is php ?

PHP is now officially known as “PHP: HyperText Preprocessor”.-It is a server-side scripting language usually written in an HTML context.

-Unlike an ordinary HTML page, a PHP script is not sent directly to a client by the server; instead, it is parsed by the PHP binary or module, which is server-side installed.

-HTML elements in the script are left alone, but PHP code is interpreted and executed. PHP code in a script can query databases, create images, read and write files, talk to remote servers - the possibilities are endless.

-The output from PHP code is combined with the HTML in the script and the result sent to the user's web-browser, therefore it can never tell the user whether the web-server uses PHP or not, because all the browser sees is HTML.

Page 3: Joomla @ Barcamp4(Feb 08 Pune)

What is php ?

-PHP’s support for Apache and MySQL further increases its popularity. Apache is now the most-used web-server in the world, and PHP can be compiled as an Apache module. -MySQL is a powerful free SQL database, and PHP provides a comprehensive set of functions for working with it. The combination of Apache, MySQL and PHP is all but unbeatable

Page 4: Joomla @ Barcamp4(Feb 08 Pune)

Boom for php

There are some indisputable great reasons to work with PHP. As an open source product, PHP is well supported by a talented production team and a committed user community. Furthermore, PHP can be run on all the major operating systems with most servers.The speed of development is also important. Because PHP allows you to separate HTML code from scripted elements, you will notice a significant decrease in development time on many projects. In many instances, you will be able to separate the coding stage of a project from the design and build stages. Not only can this make life easier for you as a programmer, but it also can remove obstacles that stand in the way of effective and flexible design.

Page 5: Joomla @ Barcamp4(Feb 08 Pune)

Why PHP 5 Rocks!

PHP 5, which was released earlier this week, is the first major release of PHP in years to focus on new features.While one of the key goals behind PHP 3 was increasing PHP/FI 2.0's performance and efficiency, at the same time it introduced a whole new set of functionality.That was back in 1998.PHP 4 provided another speed burst, as it introduced the Zend Engine. However, the majority of PHP 4's changes were behind the scenes. Those features allowed more people than ever to use PHP, but it didn't provide them with more tools to build their sites.Finally, after six years, the community has revisited the legacy baggage that made tackling some problems unnecessarily difficult.In particular, PHP 4's version of object-oriented programming (OOP) lacks many features, the MySQL extension doesn't support the new MySQL 4.1 client protocol, and XML support is a hodgepodge.

Page 6: Joomla @ Barcamp4(Feb 08 Pune)

Fortunately, PHP 5 improves on PHP 4 in three major areas:

– Object-oriented programming– MySQL– XML

These items have all been completely rewritten, turning them from limitations into star attractions. While these changes alone warrant a new version of PHP, PHP 5 also provides a plethora of other new features.In this article, I highlight seven of my favorite PHP 5 features. These features allow your PHP 5 code to frequently be shorter, more elegant, and more flexible than ever before.

Why PHP 5 Rocks!

Page 7: Joomla @ Barcamp4(Feb 08 Pune)

Upcoming changes in PHP 6.0

PHP 6.0 looks to be an exciting release.

Nothing is absolutely fixed yet, but it looks like it will see the demise of three of my pet peeves: register_globals, magic_quotes_gpc and safe_mode .

The first was just a big security hole, The second messed with the data and made changing environments potentially nightmarish, And the third was a misnomer that nobody really understood, and provided a false sense of security. There's also quite a lot of work scheduled to do with Unicode.

Future of PHP

Page 8: Joomla @ Barcamp4(Feb 08 Pune)

What is Frame Work ?

Page 9: Joomla @ Barcamp4(Feb 08 Pune)

A web application framework is a software framework that is designed to support the development of dynamic websites,Web applications and Web services.

The framework aims to alleviate the overhead associated with common activities used in Web development.

For example, many frameworks provide libraries for database access,templating frameworks and session management, and often promote code reuse.

What is Frame work ?

Page 10: Joomla @ Barcamp4(Feb 08 Pune)

What is Joomla ?

Page 11: Joomla @ Barcamp4(Feb 08 Pune)

Joomla is a free, award-winning content management system written in PHP which allows users to easily publish their content on the world wide web and intranets. 

Joomla is created as an open-source project where individuals and teams contribute their skills to its development as well as its supporting systems.

While Joomla is packed with features, its greatest quality is that it is extremely extensible.  Because of its extensible structure, there aren't many things you cannot do with Joomla. 

What is joomla ?

Page 12: Joomla @ Barcamp4(Feb 08 Pune)

A short list of some important features of Joomla are the following:

• Page Caching • Web Indexing • RSS Feeds • Printable Page Versions • Newsflashes • Blogs • Forums • Polls • Calendars • Website Searching • Language Internationalization • Online commerce • the possibilities are limitless…

What is joomla ?

Page 13: Joomla @ Barcamp4(Feb 08 Pune)

What's in a name?

The name Joomla is a phonetic spelling for the Swahili word "Jumla", which means "all together" or "as a whole".

Page 14: Joomla @ Barcamp4(Feb 08 Pune)

A short list of some important features of Joomla are the following:

• Page Caching • Web Indexing • RSS Feeds • Printable Page Versions • Newsflashes • Blogs • Forums • Polls • Calendars • Website Searching • Language Internationalization • Online commerce • the possibilities are limitless…

What is joomla ?

Page 15: Joomla @ Barcamp4(Feb 08 Pune)

Why Joomla ?

Page 16: Joomla @ Barcamp4(Feb 08 Pune)

I mean 'Why yet another PHP framework/ CMS ?'

 

• No CMS ever was designed in such a way that we can use as

framework as well.

• No other framework was in 'ready to use' form.

• Customization was the bottle neck concern for every other framework.

• Most of the CMS targets their features only for end-users.

• What if we can customize the admin panel?

Why Joomla ?

Page 17: Joomla @ Barcamp4(Feb 08 Pune)

Using the core framework, developers can easily build:

• Integrated e-commerce systems• Inventory control systems• Data reporting tools• Custom product catalogues• Complex business directories• Reservation and booking systems• Communication tools• Application bridges or any kind of application to suit a unique need.

Joomla! for Developers

Page 18: Joomla @ Barcamp4(Feb 08 Pune)

Functional breakdownOf

Joomla

Page 19: Joomla @ Barcamp4(Feb 08 Pune)

Joomla is divided into two sub parts . They are

1] Administrator side.2] User side.

Functional Breakdown of Joomla

Page 20: Joomla @ Barcamp4(Feb 08 Pune)

From administrator side of joomla we can keep control on whole website or on whole application.From administrator side we can do following

1. We can create & delete components.2. We can create & delete modules.3. We can create new user & delete and update existing user.4. We can display banners, create new banners.5. We can create & publish the news.6. We can create menu and submenus.7. We can create static contents & publish it.8. We can change a existing template.9. We can install components.10. We can customize front page.11. We can block the access of user.

1] Administrator side.

Page 21: Joomla @ Barcamp4(Feb 08 Pune)

user side of joomla is again divided into three parts

1. Templates

2. Components

3. Modules.

2] User side.

Page 22: Joomla @ Barcamp4(Feb 08 Pune)

-The template and its associated files provide the visual ‘look and feel’ of your web site and are maintained separately from the web site content.

-This is stored in a MySQL database.

-In Joomla there are two preinstall templates they are

1] madeyourweb. 2] rhuk_solaflare_ii.

-Template files are located in the templates folder, in the root directory

1 ] Templates

Page 23: Joomla @ Barcamp4(Feb 08 Pune)

-Components are core elements of Joomla!’s functionality and are displayed in the main body of the web site’s template.

-The code for the main body will appear in the template as follows: <?php mosMainBody(); ?>

-Components are used for complex functionality.

-We can call only one component at a time.

- Single component can be used on multiple pages.

2 ] Components

Page 24: Joomla @ Barcamp4(Feb 08 Pune)

-A Module is a small piece of content that can be displayed anywhere that your template allows.

-Modules extend the capabilities of Joomla giving the software new functionality.

-We can call multiple modules on a single web page.

-Single module can be used on multiple pages.

3 ] Modules

Page 25: Joomla @ Barcamp4(Feb 08 Pune)

Users: Access Control Levels

A Guest is anyone that is connected to the web site but NOT registered and/or logged in. A Guest only has access to the Front-end Content that has an Access Classification of Public

Front-end User GroupsThere are four Front-end User Groups available in a standard Joomla installation:• Registered: • Author:• Editor: • Publisher:

Access Control

Page 26: Joomla @ Barcamp4(Feb 08 Pune)

-The Registered User Group comprises those users who have completed the registration process.

-As a Registered User they have the access permission to log in to the web site, view all Content that is Classified as Registered Access as well as Public Access Content.

-By default Registered Users are able to configure their own User Profile, submit a Web Link, view/rate Content Items with a Registered Classification

Registered:

Page 27: Joomla @ Barcamp4(Feb 08 Pune)

-The Author User Group inherits the access permissions of the Registered User Group and in addition, its members are allowed to create a new Content Item for the Front-end of the web site.

-A new Menu Item link will need to be added to one of the web site Menus to allow the Author to access this function

Author:

Page 28: Joomla @ Barcamp4(Feb 08 Pune)

The Editor User Group inherits the access permissions of the Author User Group and, in addition, its members are allowed to edit all published Content Items for the Front-end of the web site, and to review and edit (where appropriate) any new Content Item that has yet to be published.

A new Menu Item link will need to be added to one of the web site Menus to allow the Editor to access any unpublished Content Items. These are created in the menu=>Menu Manager [menuname]->new Menu Item.

Editor:

Page 29: Joomla @ Barcamp4(Feb 08 Pune)

The Publisher User Group inherits the access permissions of the Editor User Group, and in addition, its members are allowed to publish new Content Items to the Front-end of the web site. In addition the Publisher can control existing published Content Items and Unpublish them if necessary by direct entry into the Content Item itself.

A new Menu Item link will need to be added to one of the web site Menus to allow the Publisher to access any unpublished Content Items.These are created in the menu=>Menu Manager [menuname]->new Menu Item.

Editor:

Page 30: Joomla @ Barcamp4(Feb 08 Pune)

For more details on Joomla :

The official website is : www.joomla.org

Visit this for all detailed information, recent releases, more & more extensions including templates, components, Modules, Plug-ins, recent patches, latest news about joomla etc.

For some help files for Joomla :

The official website is : www.puneitlab.com/share/joomla help files/

Visit this for user-manual and some presentation files (e.g. Joomla 1.5)