Вы находитесь на странице: 1из 12

A MINI-PROJECT ON

"Stock Market Simulation"

SARDAR PATEL COLLEGE OF ENGINEERING Unaided wing Munshi Nagar, Andheri (w), Mumbai-400 058

CERTIFICATE
THIS IS TO CERTIFY THAT PRAKASH SRINIVASAN, ROLL NO.53 OF THIRD YEAR COMPUTER ENGINEERING HAVE SUCCESFULLY COMPLETED TERMWORK ASSIGNMENT IN THE SUBJECT

"COMPUTER PROGRAMMING LANGUAGE


AS A GROUP ACTIVITY

(H.O.D)

(PROJECT GUIDE)

SARDAR PATEL COLLEGE OF ENGINEERING Unaided wing Munshi Nagar, Andheri (w), Mumbai-400 058

CERTIFICATE
THIS IS TO CERTIFY THAT RAO SHIVASHARANA, ROLL NO.56 OF THIRD YEAR COMPUTER ENGINEERING HAVE SUCCESFULLY COMPLETED TERMWORK ASSIGNMENT IN THE SUBJECT

"COMPUTER PROGRAMMING LANGUAGE


AS A GROUP ACTIVITY

(H.O.D)

(PROJECT GUIDE)

SARDAR PATEL COLLEGE OF ENGINEERING Unaided wing Munshi Nagar, Andheri (w), Mumbai-400 058

CERTIFICATE
THIS IS TO CERTIFY THAT PRADHAN GAUTAM, ROLL NO.50 OF THIRD YEAR COMPUTER ENGINEERING HAVE SUCCESFULLY COMPLETED TERMWORK ASSIGNMENT IN THE SUBJECT

"COMPUTER PROGRAMMING LANGUAGE


AS A GROUP ACTIVITY

(H.O.D)

(PROJECT GUIDE)

/*INTRODUCTION
Todays world is techno savvy and along with being technically efficient, current era is leading to www revolution. Its very crucial to own a web site of your own organization, keep it updated. Many things to be done manually are done mechanically but efficiently and flawlessly. So, most of the organizations prefer to have a website of their own instead of having brochures, forms and everything which needs manual process. We are very much glad to represent you with a school website under the project website development. The soul motive to choose the subject school website is to represent the different ways with which the site can be made eye-catchy, user-friendly multifunctional and the most importantly informative. Being the school site, users of the site can be categorized into Teachers Students Non-teaching staff Parents

By this way, we can see that the site can be used by each and every element of the school. The site being a SCHOOL-SITE is made very colorful. Varity of images have been used. Navigation through site is made very easy by informative tags, links and references. Exclusive menu-bar is added to the left to lead you through the entire contents of the site.

*/

Purpose Of the Project Features

Front End and Back End used


On the Client Side,

The front end is any web browser .

On the Server Side,

The front end is any web browser and the back end is Mysql.

Hardware Requirements for the working of the project Internet enabled device Requirements for the working of the project Server side: Apache 2 PHP 5 MySQL 5.0 Web Browser Client side: Web Browser

TECHNOLOGY: Php ( php hypertext preprocessor ) along with Smarty (Template Engine ) was used
1. PHP:PHP (PHP: Hypertext Preprocessor) is a reflective programming language originally designed for producing dynamic Web pages. PHP is used mainly in server-side application software, but can be used from a command line interface or in standalone graphical applications. PHP competes with Visual Basic and C++ as the third most popular programming language behind Java and C, based on world wide availability of practitioners, courses and vendors.[1] Available under the PHP License, PHP is an open source language and is considered to be free software by the Free Software Foundation.

History
PHP was written as a set of CGI binaries in the C programming language by the DanishCanadian programmer Rasmus Lerdorf in 1994, to replace a small set of Perl scripts he had been using to maintain his personal homepage.[2] Lerdorf initially created PHP to display his rsum and to collect certain data, such as how much traffic his page was receiving. "Personal Home Page Tools" was publicly released on June 8, 1995 after Lerdorf combined it with his own Form Interpreter to create PHP/FI.[3]

Usage
PHP generally runs on a web server, taking PHP code as its input and creating Web pages as output, but command-line scripting and client-side GUI applications are part of the three primary uses of PHP as well.

Server-side scripting
Originally designed to create dynamic web pages, server-side scripting is the principal focus for PHP. While running the PHP parser with a web server and web browser, the PHP model can be compared to other server-side scripting languages such as Microsoft's ASP.NET system, Adobe ColdFusion, Sun Microsystems' JavaServer Pages, Zope, mod_perl and the Ruby on Rails framework, as they all provide dynamic content to the client from a web server. To more directly compete with the "framework" approach taken by these systems, Zend is working on the Zend Framework - an emerging (as of June 2006) set of PHP building blocks and best practices; other PHP frameworks along the same lines include CakePHP and Symfony. The LAMP architecture has become popular in the Web industry as a way of deploying inexpensive, reliable, scalable, secure web applications. PHP is commonly used as the P in this bundle alongside Linux, Apache and MySQL. PHP can be used with a large number of relational database management systems, runs on all of the most popular web servers and is available for many different operating systems. This flexibility means that PHP has a wide installation base across the Internet; over 18 million Internet domains are currently hosted on servers with PHP installed.[6] Examples of popular server-side PHP applications include phpBB, PHP-Nuke, Joomla, Wordpress , MediaWiki. and Drupal

2:Smarty
Smarty is a template engine written in PHP. Smarty separates PHP, as a business logic, from HTML, a presentation logic, and generates web content by the placement of special Smarty tags within a document (i.e. variable substitution). Tags are variables such as {$variable}, and a range of logical and loop operators. This makes for much cleaner coding and more flexible modification. For instance, one could typically modify a Smarty-based application's appearance (i.e. skin) easily, without ever looking at any business logic or PHP code. This compartmentalization also allows for the back-end to change separate from the layout. Smarty allows template programming with regular expressions foreach if nl2br - For example {$variable|nl2br}

and many more features

Although Smarty is known as a "Template Engine", it would be more accurately described as a "Template/Presentation Framework." That is, it provides the programmer and template designer with a wealth of tools to automate tasks commonly dealt with at the presentation layer of an application. I stress the word Framework because Smarty is not a simple tagreplacing template engine. Although it can be used for such a simple purpose, its focus is on quick and painless development and deployment of your application, while maintaining high-performance, scalability, security and future growth. Here are some of the more notable features of Smarty: Caching: Smarty provides fine-grained caching features for caching all or parts of a rendered web page, or leaving parts uncached. Programmers can register template functions as cacheable or non-cachable, group cached pages into logical units for easier management, etc. Configuration Files: Smarty can assign variables pulled from configuration files. Template designers can maintain values common to several templates in one location without intervention from the programmer, and config variables can easily be shared between the programming and presentation portions of the application. Security: Templates do not contain PHP code. Therefore, a template designer is not unleashed with the full power of PHP, but only the subset of functionality made available to them from the programmer (application code.) Easy to Use and Maintain: Web page designers are not dealing with PHP code syntax, but instead an easy-to-use templating syntax not much different than plain HTML. The templates are a very close representation of the final output, dramatically shortening the design cycle. Variable Modifiers: The content of assigned variables can easily be adjusted at displaytime with modifiers, such as displaying in all upper-case, html-escaped, formatting dates, truncating text blocks, adding spaces between characters, etc. Again, this is accomplished with no intervention from the programmer. Template Functions: Many functions are available to the template designer to handle tasks such as generating HTML code segments (dropdowns, tables, pop-ups, etc.), displaying content from other templates in-line, looping over arrays of content, formatting text for e-mail output, cycling though colors, etc. Filters: The programmer has complete control of template output and compiled template content with pre-filters, post-filters and output-filters. Resources: Templates can be pulled from any number of sources by creating new resource handlers, then using them in the templates. Plugins: Almost every aspect of Smarty is controlled through the use of plugins. They are generally as easy as dropping them into the plugin directory and then mentioning them in

the template or using them in the application code. Many user-community contributions are also available. (See the plugins section of the forum and wiki.) Add-ons: Many user-community contributed Add-ons are available such as Pagination, Form Validation, Drop Down Menus, Calander Date Pickers, etc. These tools help speed up the development cycle, there is no need to re-invent the wheel or debug code that is already stable and ready for deployment. (see the Add-ons section of the forum and wiki.) Debugging: Smarty comes with a built-in debugging console so the template designer can see all of the assigned variables and the programmer can investigate template rendering speeds. Compiling: Smarty compiles templates into PHP code behind the scenes, eliminating runtime parsing of templates. Performance: Smarty performs extremely well, despite its vast feature set. Most of Smarty's capabilities lie in plugins that are loaded on-demand. Smarty comes with numerous presentation tools, minimizing your application code and resulting in quicker, less error-prone application development/deployment. Smarty templates get compiled to PHP files internally (once), eliminating costly template file scans and leveraging the speed of PHP op-code accelerators. So is Smarty right for you? What it comes down to is using the right tool for the job. If you want simple variable replacement, you might want to look at something simpler or even roll your own. If you want a robust templating framework with numerous tools to assist you as your application evolves into the future, Smarty is likely a good choice. 3: Apache server Apache HTTP Server is a free software/open source web server for Unix-like systems, Microsoft Windows, Novell NetWare and other operating systems. Apache is notable for playing a key role in the initial growth of the World Wide Web, and continues to be the most popular web server in use,[1] serving as the de facto reference platform against which other web servers are designed and judged. Apache features configurable error messages, DBMS-based authentication databases, and content negotiation. It is also supported by several graphical user interfaces (GUIs) which permit easier, more intuitive configuration of the server. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation.

Features
Apache supports a variety of features, many implemented as compiled modules which extend the core functionality. These can range from server-side programming language support to authentication schemes. Some common language interfaces support Perl,

Python, Tcl, and PHP. Popular authentication modules include mod_access, mod_auth, and mod_digest. A sample of other features include SSL and TLS support (mod_ssl), a proxy module, a useful URL rewriter (also known as a rewrite engine, implemented under mod_rewrite), custom log files (mod_log_config), and filtering support (mod_include and mod_ext_filter). Apache logs can be analyzed through a web browser using free scripts such as AWStats or Visitors. Version 2 of the Apache server was a substantial re-write of much of the code, with a strong focus on further modularisation and the development of a portability layer; the APR. The Apache 2.x core has several major enhancements over Apache 1.x.[1] These include UNIX threading, better support for non-Unix platforms (such as Windows), a new Apache API, and IPv6 support. The first alpha release of Apache 2 was in March 2000 with the first general availability release in May 2002. Version 2.2 introduced a new auth API that allows for more flexibility. It also features improved cache modules and proxy modules. Constraints Of the Project (Future aspect) E-R Diagram ,Modules And their purpose (Tree diagram) ,Administrator Side Client Side ,Output (upto 5)

Вам также может понравиться