Professional Documents
Culture Documents
UltraTech Cement Limited: Vikram Cement Works Grasim's first cement plant goes on stream at Jawad (Madhya Pradesh) in 1985. UltraTech Cement Limited: Vikram Cement (VC) works at Khor is among the largest single location cement plant in India with clinker production capacity of 2.8 million tpa, from three lines. VC is a part of Grasim Cement which itself is the cement arm of the Aditya Birla (AB) Group, that owns a capacity 11 million tpa. Limited demand growth coupled with escalating input costs has put pressure on the margins of most of the players in the Indian cement industry including VC In 2009 Grasim's plants Vikram Cement (Khor, Madhya Pradesh) and Aditya Cement (Shambhupura, Rajasthan), have won the TERI (The Energy and Resources Institute) CSR Award for their sterling work in 37 villages among 12,550 families in the area of healthcare.
JOOMLA
Joomla Versions:
Joomla 1.0 released on September 22, 2005 Joomla 1.5 released on January 22, 2008. The latest release of this version was 1.5 26 on March 27, 2012. This version was the first to attain long term support (LTS). Joomla 1.6 released on January 10, 2011. Joomla 1.7 released on July 19, 2011, six months after 1.6.0. Joomla 2.5 was released on January 24, 2012, six months after 1.7.0. This version is a long term support (LTS) release. Originally this release was to be 1.8.0; however the developers announced August 9 that they would rename it to fit into a new version number scheme in which every LTS release is an X.5 release. This version was the first to run on other databases besides MySQL.
Joomla 3.0 was released on September 27, 2012. On December 24, 2012, it was decided to add one more version (3.2) to the 3.x series to improve the development life cycle and extend the support of LTS versions. This will also be applied to the 4.x series.
2.2 Deployment:
Like many other popular web applications, Joomla can be run on a LAMP stack. Many web hosts have control panels that allow for automatic installation of Joomla. On Windows, Joomla can be installed using the Microsoft Web Platform Installer, which automatically detects and installs any missing dependencies, such as PHP or MySQL. Joomla enjoys strong support on the web from hosts that specialize in or support it. Many web sites provide information on installing and maintaining Joomla sites.
Templates: A template is the type of Joomla! extension that changes the way your site looks. There are two types of templates: Front-end Templates and Backend Templates.
Plug-ins: A plugin is a kind of Joomla! extension. Plugins provide functions which are associated with trigger events. Joomla provides a set of core plugin events, but any extension can fire (custom) events. When a particular event occurs, all plugin functions of the type associated with the event are executed in sequence. This is a powerful way of extending the functionality of the Joomla! Framework. It also offers extension developers a way to allow other extensions to respond to their actions, making extensions extensible. The Joomla! plugin architecture follows the Observer design pattern. The JPlugin class is derived from JObserver and provides the means to register custom plugin code with core or custom events. The JEventDispatcher class, derived from JObservable, is an event handler which calls all plug-in registered for a particular event, when that event is triggered. Prior to Joomla! 1.5 plug-in were known as mambots. Mambots were able to change content only and were based on certain signal words. Since then their scope has been stretched and extended to such an extent that to enhance the meaning of the new functionality the developers decided to change the name from mambots to plugins. Joomla! 1.5 includes legacy support for Joomla! 1.0 mambots.
Fig.1. Logical structure of Article, Category and section Sections Sections are used to manage or structure your categories in a logical order. You cannot create a category without first creating a section to store the category in. You are not limited to just one section, depending how complex your Joomla web site is you may wish to create a number of sections in order to structure your site. Categories Categories are used to store and manage articles. Each category must be associated with a section. You are not limited to just creating one category you can create different categories and associate them with a specific section. Articles
Articles are stored in categories or they can be outside a category using the un categorized feature. Articles can only be Associated with one category and not multiple categories
Project description
3.1. Hardware Requirements:
Operating System used: Windows 7 Intel Pentium 4 or more (2.4 GHz or more processing speed) Minimum of 1 GB RAM
used to actually serve web pages on the World Wide Web. A special tool is provided to password-protect the most important parts of the package. XAMPP also provides support for creating and manipulating databases in MySQL and SQLite among others. Once XAMPP is installed, it is possible to treat a localhost like a remote host by connecting using an FTP client. Using a program like FileZilla has many advantages when installing a content management system (CMS) like Joomla. It is also possible to connect to localhost via FTP with an HTML editor. The default FTP user is "newuser", the default FTP password is "wampp". The default MySQL user is "root" while there is no default MySQL password.
Components:
XAMPP 1.8.1 for Windows, including: Apache 2.4.3 MySQL 5.5.27 PHP 5.4.7 phpMyAdmin 3.5.2.2 FileZilla FTP Server 0.9.41 Tomcat 7.0.30 (with mod_proxy_ajp as connector) Strawberry Perl 5.16.1.1 Portable XAMPP Control Panel 3.1.0 (from hackattack142) XAMPP 1.8.1 for Linux, including: Apache 2.4.3 MySQL 5.5.27 PHP 5.4.7 phpMyAdmin 3.5.2.2 OpenSSL 1.0.1c
3.2.2. NOTEPAD ++: Notepad++ is a free source code editor and Notepad replacement
that supports several languages. Running in the MS Windows environment, its use is governed by GPL License. Based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption in a greener environment.
Features:
Tabbed document interface Drag-and-drop Multiple clipboards (plugin required) Split screen editing and synchronized scrolling Spell checker (requires A spell) (Spell checker does not distinguish between text and code) Supports text encoding formats such as Unicode, for international writing systems. UTF-8 and several UTF-16 encodings are supported. Find and replace: with regular expressions (including multi-line); over multiple documents; and marking/summary of occurrences File comparison Zooming Source code editing features include: Auto-completion Bookmarks Syntax highlighting and syntax folding 9
Brace and indent highlighting Smart highlighting Project manager Regular expression find and replace (in perl compatible extent) Speech synthesis FTP Browser (plug-in included in standard installation) Macro recording and execution. Various tools such as line sorting, text encoding conversion, text folding File status auto-detection Customizable shortcut key mapping. Notepad++ supports syntax highlighting and code folding for over 50 programming, scripting, and markup languages. It attempts to automatically detect the language that a given file uses, using a modifiable list of file extension bindings. Users may also manually set the current language, overriding the extension's default language. The program also supports auto completion for a subset of the API of some programming languages. The following languages are natively supported by Notepad++ as of version 6.1.6: Ada, asp, Assembly, autoIt Batch C, C++, C#, Caml, Cmake, COBOL, CSS D, Diff Flash ActionScript, Fortran Gui4CLI , Go Haskell, HTML InnoSetup Java, Javascript, JSP KiXtart LISP, Lua
10
Makefile, Matlab, MS-DOS, INI file NSIS, Normal Text File Objective-C Pascal, Perl, PHP, Postscript, PowerShell, Properties file, Python R, Resource file, Ruby Shell, Scheme, Smalltalk, SQL TCL, TeX Visual Basic, VHDL, Verilog XML YAML Users can also define their own language (for syntax highlighting) and its respective API (for autocompletion) by using the built-in User Language Define System. Users may configure the syntax highlighting's font styles per element, per language, and the resulting formatted script may be printed in full-color (WYSIWYG). Additionally, Notepad++ displays indent guidelines when source code is indented with tab characters, and highlights closing braces, brackets and tags.
3.2.3. NAVICAT: Navicat is a series of graphical database management and development software produced by PremiumSoft CyberTech Ltd. For MySQL, Oracle, SQLite, PostgreSQL and Microsoft SQL Server. It has an Explorer-like graphical user interface and supports multiple database connections for local and remote databases. Its design is made to meet the needs of a variety of audiences, from database administrators and programmers to various businesses/companies that serve clients and share information with partners. Navicat is a cross-platform tool and works on Microsoft Windows, Mac OS X and Linux platforms. Upon purchase, users are able to select a language for the software from eight available languages: English, French, German, Japanese, Korean, Polish, Simplified Chinese and Traditional Chinese. 11
Navicat for MySQL is available for three platforms Microsoft Windows, Mac OS X and Linux. It connects users to any local/remote MySQL Server, providing several database utilities such as Data Modeling Tool, Data/Structure Synchronization, Import/Export, Backup and Report, to facilitate the process of maintaining data.
A use case diagram acts as a focus for the description of user requirements. It describes the relationships between requirements, users, and the major components. It does not describe the requirements in detail; these can be described in separate diagrams or in documents that can be linked to each use case. In the above figure the Actor is the user whereas use cases are Home, About Us, Photo gallery and Contact us. 12
The following snapshot is of Xampp control panel , using xampp controlpanel we can start the services Apache and Mysql just by clicking on the start button. This is the first thing we do in order to create a website. Here svc module is marked, if this module is marked then there is no need to start the services every time we turned on the computer. Since we only use Apache and Mysql services, so there is no need to start other services.
Now in order to create the website first we have to download joomla 2.5 from http://www.joomla.org/ , the downloaded zip file is then extracted at following location C:\xampp\htdocs and name the folder ABG (your site name). 13
Now run it on local host and follow the instruction to install the site. There were some errors encountered during installation in some of the php files, which can be easily removed by which installation video available on youtube.
After installation login to the joomla administrator, through which we can edit our site. During installation we have to remove the installation folder The following snapshot is of joomla administrator .
14
Joomla has some default templates with sample data, but we can use other templates also according to our requirements. For that we have to first download a template and then install it by using extension option of joomla administrator. All we have to do is to choose the downloaded template form file browser and upload it. Then we can use and edit template by clicking on template manager in Extensions tab. There are many default modules and components already installed in joomla, but there are modules and components we want to use, all we have to do is to upload and install these required modules and components same as we install templates. These modules and components can be used and edited from Components and Module Manager tab in joomla administrator.
15
Following is a snapshot of joomla administrator where we install a new extension such as template, module component and plug-ins.
In joomla one thing we dont have to worry is about database management, it is maintained automatically. All the tables are created and maintained all by itself, as we add modules and components and edit them new tables are added and updated. We can view these tables by using navicat. Since we havent uploaded this site it is presented on the localhost. We can also view
16
these tables through xampp installation on localhost and then in phpmyadmin. The url is as //localhost/phpmyadmin/. Following is the snapshot of navicat showing the various tables created.
17
Given below is the snapshot of the database view of module table, as we can see here; that all the modules details are added here such as there title, name publishing date, client id, position etc. As we add a new module in our site an automatic update query runs and update the module table.
18
The following snapshot of phpmyadmin used to view and edit the tables.
Following snapshots are of index.php file of our site, the file has been edited according to the requirements. The signature of joomla and of other modules such as ozio gallery etc. can be removed by editing there index files and configuration.php files. We can take help of firebug, it is a plug-in present in Firefox through which we can easily and with much faster speed determine the position of the code segment of a particular location.
19
The following is the snapshot of the Home page of the website. In this we have used image showcase module. By using this module we can use different images and can display them on a single case with varying patterns to change the image. This module is freely available; the only thing we have to concern is about the size of the images used, because the size of the container is static. Here the size we used is 896x326 px.
20
The home page of the site is as follow; here we have a main menu on the right side of the our page where we have four menu. This menu is created using menu manager in joomla administrator and articles are attached to each menu. Articles are created using Article manager, Articles are of many types such as Archived Article, single Article etc.
21
Here we also used Notice board present on the right sight of the page below main menu. This notice board is created using a notice board module and notice board component. Notice board is a plugin for Community builder that allows to add a personal message-board for each user (as a bulletin board). Notice board allows you to create your own post on your message-board, moreover, going on other members profiles, you can see what they wrote. Another feature of Notice board is the opportunity to comment on posts of other users and report them if violated site rules. Notice board simplified editor allows you to insert to your post links, images and video, in addition to simple text.
In the administration part of the plugin you can set how many posts per page you need to see and define if you want to send e-mails to administrator and users each time someone makes a comment or a post on the message-board. Notice board also has a plugin folder with English and Italian languages installed by default; these can be modified or, in addition, you can even create a 22
new language! Without using Notice board component we cant use notice board module. Through Notice board component we can write the description we have to write down on the module. So whatever we want to display we have to write it using notice board component.
Now the following snapshot is of the bottom part of the home page. Here we have added a arrow image, on clicking this image the page is automatically scrolled up and upper part of the home page is displayed. Using this there is no need of scroll bars.
The part of the home page displayed after clicking on the arrow present at the bottom is shown in the following snapshot.
23
The About Us page of the main menu is same as the Home page, in which we have main menu panel on the right side of the page and a notice board below the main menu. The image showcase on About Us page disabled, but the Site name on a black strip as we have shown it in the home page. For scrolling purpose we have used same arrow button bellow the About Us page as we used it in Home Page. We have created About Us Article using article manager and attach this article to the About Us menu. No other module or component is used in this page.
24
The following snapshot is of photo Gallery menu present on the main menu. This page is used to view the pictures of the site. In order to view images we have used Ozio gallery component. Ozio Gallery is a photo gallery designed for Joomla 2.5 or newer, written in javascript which shows images published on Google plus.
25
The following snapshot is of Contact Us menu on main menu. As we can see that here we use Google map in order to display the head office location. The module we used here is mod_jpmaps, this module is freely available. By using this module we can make more than one marker and attach address to the marker. Also we can zoom the map and can use both road map and satellite view. There is also notice board bellow the map and an arrow in the bottom for scrolling purpose.
26
27
Conclusion:
The Site has been designed, implemented and tested with different screen sizes and with real devices and users successfully. The project helped in understanding the challenges involved in developing a website through joomla, the ways to overcome them and in better understanding the intricacies of website development. The project also helped in understanding the value of designing the components of overall application before implementing them. The project also taught us the various aspects of xampp through which we know about apache and mysql server and also helped us in understanding the use of navicat and notepad++ and there various features. The uses of different types of modules and components present by default in joomla administrator or installed later helped us to make site attractive and fulfill our various requirements.
Further Scope:
This site can be further extended in many possible ways; we can add many other modules and components such as youtube component, run at news, stock market module etc. We can also add other menu items describing about the various sector of the Aditya Birla Group.
28
References
1) Joomla Download from http://www.joomla.org/download.html cited on 1 June 2011 2) Xampp download and documentation http://www.apachefriends.org/en/xamppwindows.html cited on 1 June 2011 3) Joomla installation video http://www.youtube.com/watch?v=H41ZJrNkdS8 cited on 4 June 2011 4) Joomla template download http://www.joomlart.com/ cited on 7 June 2011 5) Joomla Press official imprint of joomla! Edition 2, Authors: Jennifer Marriott & Elin Waring Publisher: Addison-Wesley Professional ISBN-10: 0321821548 6) For solution of problems encountered http://stackoverflow.com/ cited on 11 June 2011 7) Joomla! Bible Author Ric Shreves Wiley publications, 2010 Publication Date: January 12, 2010 | ISBN-10: 0470509570 | ISBN-13: 9780470509579 | Edition: 1st 8) http://magazine.joomla.org Cited on 15 June 2011 9) http://docs.joomla.org Cited on 21 June 2011 10) http://forum.joomla.org Cited on 21 June 2011
29
LIST OF FIGURES
S. No.
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17.
NAME
Logical structure of section, article and category Use case diagram Xampp Control panel Joomla installation wizard Joomla administration pane Joomla administration panel for adding extensions tables in navicat on localhost Database view of module table Phpmyadmin panel in xampp on localhost index.php file Image showcase on home page Home page of the website Bottom view of home page Top view of Home page About Us page of the site Photo gallery page of the site Contact Us page of the site
PAGE No.
6 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
30