You are on page 1of 45

A SUMMER TRAINING REPORT ON

ONLINE CLASSIFIEDS
SUBMITTED TO RAJASTHAN TECHNICAL UNIVERSITY (IN PARTIAL FULFILLMENT FOR THE AWARD OF THE DEGREE) OF BACHLOR OF TECHNOLOGY IN COMPUTER ENGINEERING SESSION 2011-2012

SUBMITTED TO: Mr. Surendra Kumar Yadav(HOD) Ms. Bhavna Mahure

SUBMITTED BY: Chhavi Bhatnagar B.Tech. IV yr. CS

JAGANNATH GUPTA INSTITUTE OF ENGINEERING AND TECHNOLOGY

CERTIFICATE

This is to certify that the seminar entitled Online Classifieds submitted by Chhavi Bhatnagar in partial fulfilment of the requirements for the award of Bachelor of Technology in Computer Science and Engineering at JaganNath Gupta Institute of Engineering and Technology, Sitapura Industrial Area, Jaipur is an authentic work carried out by her under my supervision and guidance. To the best of my knowledge, the matter embodied in the seminar has not been submitted to any other University / Institute for the award of any Degree.

Date: 19-august-2011

Mr. Surendra KumarYadav HOD (CSE/IT) JNIT, Sitapur, Jaipur

PREFACE

Engineering student gets theoretical knowledge only through their books. Only theoretical knowledge is not sufficient for absolute mastery in any field. Theoretical knowledge given in our book is not of much use without knowing its practical implementation. It has been experienced that theoretical knowledge is volatile nature, however practical knowledge makes solid foundation in our mind. I have done this project in PHP. PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. Its syntax draws upon C, Java, and Perl, and is easy to learn. The main goal of the language is to allow web developers to write dynamically generated web pages quickly, but you can do much more with PHP.

ACKNOWLEDGEMENT

I express my deepest gratitude towards my project supervisor Mr. Gaurav Gaur for his valuable directions and suggestions throughout the development of the project. He acted as the source of inspiration that always encouraged me to do something innovative. This project was not possible without the support and guidance of Mr.Surendra Kumar Yadav (Head Of Department,InformationTechnology,JNIT) who provided me with a helping hand by allowing us to undergo this interesting learning experience and has always been source of inspiration for me. I am grateful to Mr Praveen Tanwar(TPO,JNIT) for his unforgettable direction and support. I would also like to thank Ms. Bhavna Mahure (JNIT,faculty) for her valuable support, guidance and co-operation. I am also very much thankful to all my friends who were helpful and cooperative during development of this project.

Chhavi Bhatnagar B.Tech,CS IV yr

TABLE OF CONTENTS

S.No. 1. 2. 3.

PARTICULARS Preface Acknowledgement Chapter-1 About Organisation

PAGE NO. (i) (ii) 1-2

4.

Chapter-2 2.1 Project Introduction 2.2 Exposure Level 2.2.1 HTML 2.2.2 CSS 2.2.3 Java script 2.2.4 Php 2.2.5 Apache

3-11

3 4 4-5 5-8 8-9 10-11

5.

2.2.6 Mysql 2.3 Conclusion 12-17

6.

Chapter-3 3.1 Project introduction 3.2 Objective 3.3 Scope 12 13 13

3.4 Overview 3.5 General Description 3.6 Requirement 3.6.1 Functional Requirement 3.6.1.1 Forms for adding & viewing/editing 3.6.1.2 Hardware Requirement 3.6.1.3 Software Requirement 3.6.2 Nonfunctional Requirement 3.6.2.1 Security 3.6.2.2 Reliability 3.6.2.3 Maintanability 3.6.2.4 Probability 3.6.2.5 Reusabiility 3.6.2.6 Resource utilization 3.6.2.7 Stable and speed efficiency

14 14

14-15 15 15

16-17 16 16 16 16 17 17 17

7.

Chapter-4 4.1 Preliminary design 4.1.1 E-R diagram 4.1.2 Context level diagram 4.2 Database tables 4.2.1 Admin login table 4.2.2 User signup table 4.2.3 Comment table

18-31

18 19

21 21 22

4.2.4 post table 4.2.5 Admin setting table 4.3 Snapshots 4.3.1 Home page 4.3.2 Login page 4.3.3 Signup page 4.3.4 Contact us page 4.3.5 Blog pge 4.3.6 My post page 4.3.7 All post page 4.3.8 Thank you page 8. Chapter-5 5.1 Security 5.1.1 Description 5.1.2 Technically use 5.1.3 Cost & schedule 5.1.4 Risk 5.2 Testing 5.2.1 Black box testing 5.2.2 White box testing 5.2.3 Conditional testing 5.2.4 Loop testing 5.2.5 Unit testing 5.2.6 Integration testing

22 23

24 25 26 27 28 29 30 31 32-

32 32 33 33

33 34 34 34 35 35

5.2.7 Regression testing 6.Future scope and enhancement 9. 10. References Appendices

35 36 37 38

Chapter-1 About Organization


Software Training : Gempulse Infotech Private Limited is a leading web based solutions ,software solutions and services provider. GIPL is a Jaipur based venture providing complete IT solutions and consultancy for over a decade .Its aim is to create a space for a "meeting of the minds" between students and leading thinkers in software engineering, at the same time providing a challenging, invigorating educational experience that allows students to accomplish their dreams and fulfill their aspirations. Their is a journey for a goal to be accomplished, a wish to be fulfilled, a vision to be materialized. It is one of the leading web design agency in India with extensive man power. Each and every individual in their team plays an important role in making the final product or imparting the desired services coupled with talented and skilled manpower, they have their self owned development center with an ability to house over 100 professionals at one shift, they have the resources to manage any sized web project. The center is equipped with redundant power backups and connectivity which virtually ensures no downtime. Remote data backups are kept for any emergency risk mitigation. Extensive training is imparted to ensure that every member of its team is upgraded to match the latest trends on technology and business environment. Matching our vision with their skills is what brings out the best and the team is attuned towards mapping your needs to reality.

AIM They aim to provide high quality, requirement-oriented, cost-cutting, innovative and valueadded software & web solutions and related services. Committed to create an ever-rewarding internet existence for ambitious companies, which aim to keep pace with today's swiftmoving e-times, we aim to facilitate growth of your organization in the most fruitful manner. Its vision is to be among the top ten global technology service providers offering a complete spectrum of e-business, internet and communication technology services and components in an enviroment of empowerment, intellectual challenge and wealth sharing.

Courses Students become experts in the latest software development theories and fundamental engineering principles. It has a complete team of web designing, web development, animation, software development, copywriting and graphic designing. This allows them to think critically, plan strategically and communicate effectively.

Consultancy Gempulse Infotech pvt. Ltd. mission is to alter the dynamics of the software industry by providing trusted, supportive and quality software development services to clients that view our partnership as a strategic driver for their success. When we take on your project, we take the stewardship of the project with you in the director's seat. As stewards of your project, we consider ourselves successful not when we deliver your final product but when the product meets your business objectives and that is our vision.

How It Works They start with extensive requirement elicitation process which includes consulting on project, Specification finalizations, Wireframe development and a review process.They have regular review meetings at every step of the way on the requirement elicitation processes with us to ensure that our vision is manifested in the documentation process.Once this is done, they work on their project plans and milestone based deadlines each project is usually unique with its own needs and deliverables. This is accounted for in the project plan and agreed with us. Its experienced project managers can anticipate our needs to ensure quality and timely delivery every single time.Further to this, its experienced coding team takes up and they have checks and balances to have regular internal reporting to manage project delivery plan.More than anything else, they know that a good delivery is only possible due to their listening to us and that is what they excel at. Address GempulseInfotechPvtLtd., Suite:510,FourthFloor,ApexMall, LalKothi,TonkRoad, Jaipur-302015 RAJASTHAN INDIA

Chapter-2
2.1 Introduction
Industrial training program provides pre-professional work experience with specific assignment and responsibilities. The main things which we learn from the industrial training are as followsa) Prepare us physical, mentally and emotionally for the rigours of work as executive in real organization upon graduation. b) Develop our individual maturity, self-awareness and confidence. c) Enables to exercise and acquire effective interpersonal ad communicational skills in organization. d) We come to know knowledge and skill requirement of current and future industry environment.

2.2 Exposure level


2.2.1 HTML HTML is a language for describing web pages.

HTML stands for Hyper Text Markup Language It is not a programming language, it is a markup language A markup language is a set of markup tags which describe web pages HTML markup tags are usually called HTML tags HTML tags are keywords surrounded by angle brackets like <html> HTML tags normally come in pairs like <b> and </b> The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags

The purpose of a web browser is to read HTML documents and compose them into visible or audible web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page. HTML elements form the building blocks of all websites. HTML allows objects to be embedded and can be used to create interactive forms. It provides a means to create structured documents by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. It can embed scripts in languages such as javascript which affect the behavior of HTML webpages. Hypertext markup language is a markup language that web browsers use to interpret and compose text, images and other material into visual or audible web pages. Default characteristics for every item of HTML markup are defined in the browser, and these characteristics can be altered or enhanced by the web page designer's additional use of CSS.

2.2.2 CSS

CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External Style Sheets can save a lot of work External Style Sheets are stored in CSS files

Cascading Style Sheets (CSS) is a style sheet language used to describe the presentation semantics (the look and formatting) of a document written in a markup language. Its most common application is to style web pages written in HTML and XHTML , but the language can also be applied to any kind of XML document, including plain XML,SVG and XUL.CSS is designed primarily to enable the separation of document content (written in HTML or a similar markup language) from document presentation, including elements such as the layout , colors, and fonts. This separation can improve content accessibility, provide more flexibility and control in the specification of presentation characteristics, enable multiple pages to share formatting, and reduce complexity and repetition in the structural content (such as by allowing for tableless web design). CSS can also allow the same markup page to be presented in different styles for different rendering methods, such as on-screen, in print, by voice (when read out by a speech-based browser or screen reader) and on Braille -based, tactile devices. While the author of a document typically links that document to a CSS style sheet, readers can use a different style sheet, perhaps one on their own computer, to override the one the author has specified. CSS specifies a priority scheme to determine which style rules apply if more than one rule matches against a particular element. In this so-called cascade, priorities or weights are calculated and assigned to rules, so that the results are predictable.

2.2.3 JAVA SCRIPT


JavaScript was designed to add interactivity to HTML pages JavaScript is a scripting language A scripting language is a lightweight programming language JavaScript is usually embedded directly into HTML pages JavaScript is an interpreted language (means that scripts execute without preliminary compilation) Everyone can use JavaScript without purchasing a license

Q- What Can JavaScript do?

JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element

JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server. This saves the server from extra processing JavaScript can be used to detect the visitor's browser - A JavaScript can be used to detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser JavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer

JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first class functions. It is a multi-paradigm language, supporting object oriented, imperative, and functional programming styles.JavaScript was formalized in the ECMA script language standard and is primarily used in the form of client side javascript, implemented as part of a web browser in order to provide enhanced user interfaces and dynamic websites. This enables programmatic access to computational objects within a host environment.JavaScript's use in applications outside Web pages for example in PDF documents, site specific browsers, and desktop widgets is also significant. Newer and faster JavaScript VMs and frameworks built upon them (notably Node.js) have also increased the popularity of JavaScript for server-side web applications. JavaScript uses syntax influenced by that of C. JavaScript copies many names and naming conventions from Java, but the two languages are otherwise unrelated and have very different semantics. The key design principles within JavaScript are taken from the Self and Scheme programming languages.

2.2.4 PHP PHP is a general purpose scripting language originally designed for web development to produce dynamic web pages .It is a HTML-embedded scripting language .Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHPspecific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly. PHP is server side scripting language.It is free software released under the PHP license. Php originally stood for Personal Home Page but now it stand for : pre hypertext processor. Php was originally created by Rasmus Lerdorf in 1995. Php is server side scripting language. Php support many database ( MySql ,Oracle, Sybase, etc) Php is open source software i.e it is free to download and use. Php runs on different platforms (windows, linux, unix ,etc.) PHP can be used on all major operating systems, including Linux , Unix.

It can be deployed on most web servers and as a standalone interpreter on almost every operating system and platform free of charge. Php files have extension of .php, .php3, .phtml. Php is compatible with almost all servers used today (Apache ,IIS etc).

PHP is used to create dynamic websites, this is a step up from HTML as it allows us to do much more than creating static websites. Using a language such as PHP also gives us access to using databases with our website such as MySQL.PHP is installed on more than 20 million websites and 1 million web servers. Usage PHP is a general-purpose scripting language that is especially suited to server side web development where PHP generally runs on a web server. Any PHP code in a requested file is executed by the PHP runtime, usually to create dynamic web page content or dynamic images used on web sites or elsewhere. It can also be used for command line scripting and client side GUI applications. PHP can be deployed on most web servers, many operating systems and platforms, and can be used with many relational database management system (RDBMS). It is available free of charge, and the PHP Group provides the complete source code for users to build, customize and extend for their own use. PHP primarily acts as a filter, taking input from a file or stream containing text and/or PHP instructions and outputs another stream of data; most commonly the output will be HTML. Originally designed to create dynamic web pages, PHP now focuses mainly on server side scripting, and it is similar to other server-side scripting languages that provide dynamic content from a web server to a client, such as Microsofts Asp.net, Sun microsystem' Java servers pages, and mod perl. PHP has also attracted the development of many frameworks that provide building blocks and a design structure to promote rapid application development (RAD). Some of these include Cake Php, Symfony, Codeigniter, and Zend framework, offering features similar to other web application framework. The LAMP architecture has become popular in the web industry as a way of deploying web applications. PHP is commonly used as the P in this bundle alongside Linux, Apache and MYSQL, although the P may also refer to Python or Perl or some combination of the three. WAMP packages (Windows/ Apache / MYSQL / PHP) and MAMP packages (MAC OS X / Apache / MYSQL / PHP) are also available. As of April 2007, over 20 million Internet domains had web services hosted on servers with PHP installed and mod_php was recorded as the most popular Apache HTTP Server module. PHP is used as the server-side programming language on 75% of all web servers. Web content management system written in PHP include Mediawiki, Joomla, eZPublish, Wordpress, Drupal and Moodle. All websites created using these tools are written in PHP, including the user-facing portion of Wikipedia, Facebook, and Digg.

Security Vulnerabilities are caused mostly by not following best practice programming rules: technical security flaws of the language itself or of its core libraries are not frequent (23 in 2008, about 1% of the total). Recognizing that programmers cannot be trusted, some languages include taint checking to detect automatically the lack of input validation which induces many issues. Such a feature is being developed for PHP, but its inclusion in a release has been rejected several times in the past. Hosting PHP applications on a server requires careful and constant attention to deal with these security risks. There are advanced protection patches such as Suhosin and Hardening Patch, especially designed for web hosting environments.
PHPids adds security to any PHP application to defend against intrusions. PHPIDS detects

Cross side scripting (XSS), SQL injection , header injection, Directory traversal, Remote File Execution, Local, Denial of service (DoS).

Speed Optimization PHP source code is compiled on-the-fly to an internal format that can be executed by the PHP engine. In order to speed up execution time and not have to compile the PHP source code every time the webpage is accessed, PHP scripts can also be deployed in executable format using a PHP Compiler.Code optimizers aim to enhance the performance of the compiled code by reducing its size, merging redundant instructions and making other changes that can reduce the execution time. With PHP, there are often opportunities for code optimisation. An example of a code optimizer is the eAccelerator PHP extension. Another approach for reducing compilation overhead for PHP servers is using an opcode cache. Opcode caches work by caching the compiled form of a PHP script in shared memory to avoid the overhead of parsing and compiling the code every time the script runs. An opcode cache, APC, will be built into an upcoming release of PHP. Opcode caching and code optimization can be combined for best efficiency, as the modifications do not depend on each other (they happen in distinct stages of the compilation).

Compilers The PHP language was originally implemented as an interpreter. Several compilers have been developed which decouple the PHP language from the interpreter. Advantages of compilation include better execution speed, obfuscation, static analysis, and improved interoperability with code written in other languages. PHP compilers of note include Phalanger, which compiles PHP into CIL byte-code, and Hip Hop, developed at Facebook and now available as

open source, which transforms the PHP Script into C++, then compiles it, reducing server load up to 50%.

2.2.5 Apache Apache is a open source software .It is a web server software notable for playing a key role in the initial growth of World Wide Web. Its main job is to parse any file requested by a browser and display the correct results according to the code within that file. In 2009 it became the first web server software to surpass the 100 million website milestone. Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. Apache is quite powerful and can accomplish virtually any task that you, as a Webmaster, require. The features and server capabilities available in version 2.0.50 of Apache include the following: Password-protected pages for a multitude of users Customized error pages Display of code in numerous levels of HTML, and the capability to determine at what level the browser can accept the content Usage and error logs in multiple and customizable formats Virtual hosting for different IP addresses mapped to the same server Directory Index directives to multiple files URL aliasing or rewriting with no fixed limit According to the Net craft Web site (www.netcraft.com), at the time of this writing Apache is running over 34 million Internet servers, more than Microsoft, Sun ONE, and Zeus combined. Its flexibility ,power , and, of course, price make it a popular choice. It can be used to host a Web site for the general public , or a company-wide intranet, or for simply testing your pages before they are uploaded to a secure server on another machine. Later in this chapter, you learn to configure your Apache setup to accommodate all of these options. Since April 1996 Apache has been the most popular HTTP server software in use.As of May 2011 Apache was estimated to serve 63% of all websites. 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 interface support Perl, Python, Tcl, and PHP. Other features include SSL and TLS support (mod_ssl), a proxy module (mod_proxy), a 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).Popular compression methods on Apache include the external extension module, mod_gzip, implemented to help with reduction of the size (weight) of web pages served over HTTP. ModSecurity is an open source intrusion detection and prevention engine

for web applications. Apache logs can be analyzed through a web browser using free scripts such as AWStats/W3Perl or Visitors. Virtual hosting allows one Apache installation to serve many different actual websites. For example, one machine with one Apache installation could simultaneously serve www.example.com, www.example.org, test47.test-server.example.edu, etc.Apache features configurable error messages, DBMS-based authentication databases, and content negotiation. It is also supported by several graphical user interfaces (GUIs).It supports password authentication and digital certificate authentication. Apache has a built in search engine and an HTML authorizing tool and supports FTP.

Performance Apache does have performance comparable to other "high-performance" web servers. Instead of implementing a single architecture, Apache provides a variety of MultiProcessing Modules (MPMs) which allow Apache to run in a process-based, hybrid (process and thread) or event-hybrid mode, to better match the demands of each particular infrastructure. This implies that the choice of correct MPM and the correct configuration is important. Where compromises in performance need to be made, the design of Apache is to reduce latency and increase throughput, relative to simply handling more requests, thus ensuring consistent and reliable processing of requests within reasonable time-frames.The Apache version considered by the Apache Foundation as providing high-performance is the multi-threaded version which mixes the use of several processes and several threads per process. While this architecture works faster than the previous multi-process based topology (because threads have a lower overhead than processes), it does not match the performances of the event-based architecture provided by other servers, especially when they process events with several worker threads. This difference can be easily explained by the overhead that one thread per connection brings (as opposed to a couple of worker threads per CPU, each processing many connection events). Each thread needs to maintain its own stack, environment, and switching from one thread to another is also an expensive task for CPU. 2.2.6 My SQL My SQL is a popular choice of database for use in web applications, and is a central component of the widely used LAMP web application software stack LAMP is an acronym for "Linux , Apache , My SQL, Perl /PHP /Python ". MySql is a relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. It is named after developer Michael Widenius' daughter, My. The SQL phrase stands for Structured Query Language.

MySQL is a database server

MySQL is ideal for both small and large applications MySQL supports standard SQL MySQL compiles on a number of platforms MySQL is free to download and use

Another open source favourite , My SQL is the database construct that enables PHP and Apache to work together to access and display data in a readable format to a browser. It is a Structured Query Language server designed for heavy loads and processing of complex queries. As a relational database system.My SQL allows many different tables to be joined together for maximum efficiency and speed. Some of the more popular features of this program are as follows: Multiple CPUs usable through kernel threads Multi-platform operation Numerous column types cover virtually every type of data Group functions for mathematical calculations and sorting Commands that allow information about the databases to be easily and succinctly shown to the administrator Function names that do not affect table or column names A password and user verification system for added security Up to 32 indexes per table permitted; this feature has been successfully implemented at levels of 60,000 tables and 5,000,000,000 rows (version 4.1.2, currently in development, will allow 64 indexes) International error reporting usable in many different countries My SQL is the perfect choice for providing data via the Internet because of its ability to handle heavy loads and its advanced security measures. MySQL was owned and sponsored by a single for-profit firm, the Swedish company MySQL AB, now owned by Oracle Corporation. Free-software-open source projects that require a full-featured database management system often use MySQL. MySQL is also used in many high-profile, large-scale World Wide Web products, including Wikipedia, Google (though not for searches) and Facebook.

Platforms and Interfaces MySQL is written in C and C++. Its SQL parser is written in yacc, and a homebrewed lexical analyzer named sql_lex.cc. MySQL works on many different system platforms,including AIX, BSDi, FreeBSD, HPUX, eComStation, i5/OS, IRIX, Linux, MacO SX, MicrosoftWindows, NetBSD, NovellNetWare, OpenBSD,OpenSolaris, OS/2 Warp, QN X, Solaris, Symbian, SunOS, SCO OpenServer,SCO UnixWare, Sanos and Tru64. A port of MySQL to OpenVMS also exists.

Many programming languages with language-specific APIs include libraries for accessing MySQL databases. These include MySQL Connector/Net for integration with Microsoft's Visual Studio(languages such as C# and VB are most commonly used) and the ODBC driver for Java. In addition, an ODBC interface called MyODBC allows additional programming languages that support the ODBC interface to communicate with a MySQL database, such as ASP or ColdFusion. The HTSQL - URL based query method also ships with a MySQL adapter, allowing direct interaction between a MySQL database and any web client via structured URLs. The MySQL server and official libraries are mostly implemented in ANSI C/ANSI C++.

2.3 CONCLUSION
This part of report gives information of our learning and exposure level in the company and industry.

Chapter-3 Project development


3.1 Introduction
This is a project work undertaken in context of partial fulfilment of B.Tech. I have tried my best to make the complicated process of blogging as simple as possible using object oriented design techniques. I have designed this website in such a way that user may not have any difficulty using this package & further explanation is possible without much effort. The main purpose of this exercise is develop a software solution which can be easily used by non-technical person and helps them to complete their day-to-day activities.The Project Social Networking Component provides the functionality of a message board, user comment system, and a means of uploading appraisals. I am confident that this software can be readily used by non-programming personal avoiding human handled chance of error. This project can be used by two types of user. 1) Online users

2) Back office administrative user 1)Online users:Online user can post their thoughts and ideas on this website. Online user can perform following functions1. User can post their thoughts. 2. User can comment on the post if the user has an account in MYSPACE. 3. User can only see the post and comment if they have no account in MYSPACE.

2)Back user administrative users:Administrator of this website can maintain the post and comments using a control panel. Control panel provides ability to add/delete/update post. Only valid users can access control panel of website. Administrative user has ability to add more users and provide them appropriate role to access this website. Administrative user can perform following functions:1. Add/delete/update post. 2. User management.

3.2Objective/Project description
Objective of this software project is to create website which can host online blogs. As internet is getting popular, this website provides online blogs which can be accessed from anywhere anytime.But the only condition is that you need to login * This project intends to introduce more user friend online in the various activities. * All information is stored electronically in database and only accessible to authorised users of the system. Other features includes: Data security and reliability. Time efficient. Cost effective Data validation Simple and easy to fill data entry form

3.3 Scope
The Social Networking component integrates the open source yet another forum message board code. It also involves modification to the master page to integrate a user login system. It includes a nested page for each property that lists forum threads about that particular property. It finally includes an appraisal hosting and uploading system. It will be a real estate property and foreclose tool giving users access to statistical data, maps and pictures of all real estate properties in an area, tools to help model past and future values of the property, and a social networking aspect that allows users to communicate with each on a dedicated forum, or post information on specific listed properties. This document deals with the social networking component. Category Information Module: This module will maintain category information. This will allow us to add new category, edit category, updating category status, and view all category. Post Module: This module will maintain post information. This will allow us to add new post, edit product details, updating post status, view all the post details etc. User Information Module: This module will maintain the registered users. Administrator can view detail of all the registered users. User Area: The user can visit the site, view the post and comments but for adding post nd comments user must be registered on the web site.

3.4 Overview (Developer's Responsibility)


The developer is responsible for: Developing the System. Testing and Debugging Installing the software at client site and beta testing. Conducting end-user training. Maintaining the system for a period of one year after installation.

3.5 General Description


3.5.1 Blog Functions Some of the important functions proposed to be developed are: Maintaining details of the category. Maintaining details of the blogs. List of all category and post etc. Maintaining details of registered users. Maintaining the site part where the user visit the site and add the post.

3.6 REQUIREMENT
3.6.1 Functional requirements The important functional requirements have been identified. The detail work is still going on. The present version of the SRS just mentions important functionality and brief description. System Constraints restrict options of design, behavior, appearance or operation. They become requirements due to factors outside the normal problem domain. System Constraints describe how the product operates inside various circumstances and limit the options designers have if building the product. This section specifies design constraints imposed by other standards, hardware limitations, communication interface limitations, etc. There are a number of attributes of software that can serve as requirements.

3.6.1.1 Forms for adding & viewing/editing Login Form: User has to login before accessing the social site. Insert post: User can add a new post. View/Edit/Delete post Form: For viewing/editing/Deleting post details. Insert post: For adding new post.

User detail Form: For viewing the details of registered users. Change Password Form: Administrator can change the password. Website Home Page: User access the home page for start visits the site.

3.6.1.2 Hardware Requirement:Using this software is fairly simple and intuitive. A user familiar with basic browser navigation skills should be able to understand all functionality provided by the system. The software should work on most home desktop and laptop computers. Processor: Any Pentium PC with at least 1GHz processor RAM: 1 GB or higher Hard disk : 160 GB or higher

3.6.1.3 Software Requirement: Operating system: The software is designed to run on windows XP / vista / window7. XAMPP APACHE SERVER Back end: MYSQL SERVER2005. HTML, CSS, JAVASCRIPT language. Web Browser: Internet Explorer6 or higher, Mozilla, Opera.

System must have access to the included database. Other components of the software may require access to certain data and web services.

3.6.2Nonfunctional Requirement:3.6.2.1. Security:The security part is yet the best part that would make our product ahead of the rest crew. A part of the security concern is being taken under the research work. We do not commit that this part would be fulfilled surely, still our efforts will always soar high holding the reigns of success and while being on ground. 3.6.2.2 Reliability The section gives an account of the events and its categories, offers the user with the facility to access the information like sponsorship, theme, decor of a particular event . This section provides complete details of the employees and their efficiency through centralized database system.

3.6.2.3 Maintainability No such burden is needed to be taken by the user party as we guarantee to make a proper review and testing of the same again within the period of 1-2 years from the day of release of the software, if we deem fit.Our helpline is open for you, please feel free in case you get entangle with any problem thereof. We respect your time and wish that you do have the same feelings for us. 3.6.2.4. Portability:An application is portable across a class of environments to the degree that the effort required to transport and adapt it to a new environment in the class is less than the effort of redevelopment. This system is for transmitting, receiving, storing and replaying according to the requirements of the user. This feature is rare to attain, but still we will try our level best that it attains the zenith of perfection. This system easy to work any other environment and it is a platform independent system.

3.6.2.5. Reusability: Software reusability into mainstream software development, have made many observations about the theories of software reuse and what will actually work in practice. Key among these observations lies the fact that to successfully introduce a formal reuse program into an organization, management must support reuse both with words and with the necessary resources. We point out that reuse allows the manager to continue to avoid cost over the

entire life of the product. In our environment, we have centralized support for our reusable components. So if reusable software has a bug, users can have it fixed for free (not counting the hassle). Although we can estimate maintenance costs many ways, we happen to do it by multiplying our known historical error rates by what it costs us to fix those errors.

3.6.2.6 Resource utilization:Resource utilization relates generally to computer executable workflow management and control systems and more particularly to computer system executable methods for use in an automated workflow system

3.6.2.7 Stable and speed efficiency:Stability and Speed establish the basis for agreement between the

customers and the suppliers on what the software product is to do. The complete description of the functions to be performed by the software specified in the SRS will assist the potential users to determine if the software specified meets their needs or how the software must be modified to meet their need.

Chapter-4 4.1)Preliminary designs

4.1.1)E-R diagram of Social Networking

4.1.2)Context Level Diagram

Database tables & Snapshots

4.2 Database table:4.2.1 Admin login table

4.2.2 User signup table

4.2.3 Comment table

4.2.4 Post

4.2.5 Admin setting table

4.3Snapshots
4.3.1 Home page

4.3.2 Login page

4.3.3 Signup page

4.3.4 Contact us page

4.3.5 Blog page

4.3.6 Mypost page

4.3.7 All post page

4.3.8 Thank you page

Chapter-5 Security and testing


5.1 Security
5.1.1 Description Event management is the application of project management to the creation and development of festivals, events ,extra vagenga and conferences. Event management involves studying the intricacies of the brand, identifying the target audience, devising the event concept, planning the logistics and coordinating the technical aspects before actually executing the modalities of the proposed event. Post-event analysis and ensuring a return on investment have become significant drivers for the event industry. The recent growth of festivals and events as an industry around the world means that the management can no longer be ad hoc. Events and festivals, such as the Asian Games, have a large impact on their communities and, in some cases, the whole country. The industry now includes events of all sizes from the Olympics down to a breakfast meeting for ten business people. Many industries, charitable organization and interest groups will hold events of some size in order to market themselves, build business relationships, raise money or celebrate.

5.1.2 Technically Use Software companies service event planners with a complete Tool, Travel Booking Tool, Budgeting Tool etc. As far as the technical issues related to this project from security point of view, there is no chance of steal the data until either we want or if there is any problem in the coding section. Tool, Hotel Booking

5.1.3 Cost & Schedule:Merely we think of the cost estimation on the basis of the following points:

Static IP for WEB Paper work & reports Labour costs Other expenses

-------------

null Rs.100 null Rs. 50

Now looking at the time limit of 15 days and working for 2 hours and work to do we can divide our work in following parts: 5.1.4 Risk:Risk is the term applied to a logical and semantic method of establishing the context,

identifying, analyzing, evaluating, treating, monitoring and communicating risks associated with any activity, function or process in a way that will enable organizations to maximize losses and minimize opportunities.

5.2 TESTING
Software testing is a critical element of software quality assurance and represent the ultimate review of specification, design and code generation.Testing means executing a program in order to understand its behaviour, that is whether or not the program exhibit a failure, its response time or throughput for certain data sets, its mean time to failure or the speed and aqccuracy with which user complete their designated tasks. Testing is mainly of following types:

5.2.1 Black Box Testing Black Box testing, also called as Behavioural testing.It focuses on the functional requirement of the software.It enables the software engineers to drive the set of input conditions that will fully exercise all functional requirements for a program.

It attempts to find errors in the following categories: Incorrect or missing functions Interface errors

Errors in data structure or external database excess Behaviour or performance error Initialization and termination error

5.2.2 White Box Testing White Box testing is sometimes called as Glass Box testing.It is a test case design method that uses the control structure of the procedural design to derive test cases. We can derive test cases that: Guarantee that all independent paths within a module have been exercised atleast once Exercise all logical decision on their true and false sides Exercise all loops at their boundaries and within their operational bounds Exercise internal data structure to ensure their validity

There are following reasons for conducting White Box testing: Logical error and incorrect assumptions are inversely proportional to the probability of a program path will be executing. We often believe that a logical path is not likely to be executed when infect, it may be executed on a regular basis Typographical error is random

5.2.3 Conditional Testing Condition testing is a set case design method that exercise logical conditions contained in a program module.The condition testing focuses on testing each condition in the program.It has two advantages.First measurement of test coverage of a condition is simple.Second, the total coverage of condition in program provides guidance for the generation of additional tests for the program.Purpose is not only to detect error in the conditions of the program but also other error in the program.

5.2.4 Loop Testing Loop testing is a white box technique that exclusively on the validity of the loop construct.Four different class of loop can be defined.Simple loop, concatenated loops, nested loops and unstructured loop. 5.2.5 Unit Testing Unit testing focuses verification effort on the smallest unit of software design the software, component or module.Using the component level design description as a guide, important

control path are tested to uncover error within the boundary of the module.The unit test is a white box oriented and the steps can be conducted in parallel for multiple components.

5.2.6 Integration Testing Integration testing is a systematic technique for constructing the program structure while at the same time conducting test to uncover error associated with interfacing.The objective is to take unit tested component and build a program structure that has been dictated by design. Top Down Integration is an incremental approach to construction of program structure.Modules are integrated by moving downward through the control hierarchy, beginning with the main control modules .Modules subordinate to the main control are incorporated into the structure in either a depth-first or breadth-first manner. Bottom Up Integration begins construction and testing with atomic modules because components are integrated from the bottom uo, processing required for component subordinate to a given level is always and the need for stubs is eliminated.

5.2.7 Regression Testing Each time a new module is added as part of integrationtesting, the software changes. New data flow paths are established, new I/O may occur, and new control logic is invoked.These changes may cause problem with functions that previously worked flawlessly. In the context of integration test strategy, regression testing is the reexecution of some subset of test that have already been conducted to ensure that changes have not propagated unintended side effects. The regression test suite contains three different classes of test cases: A reprensentative sample of test that will exercise all software function. Additional test that focus on software that are likely to be affected by the change. Test that focus on the software component that have been changed.

6.Future Scope and Enhancements This project can be enhanced with following features in future based on users need: Ability to add friends and send friend requests to attract more users.This can lead to a more friendly site. Ability to send private messages to one another. Use of Secured Socket Layer(https) protocol to provide enhanced security for website.

REFERENCES

www.php.net www.w3schools.com .wikipedia.org/wiki/Social_network .wikipedia.org/wiki/Social_networking_service

APPENDICES

S.No.
1. 2. 3. 4. 5.

Abbreviations
SQL DB HTTP HTML H/W

Full form
Structure query language Database Hyper text transmission protocol Hyper text markup language Hardware

6.

S/W

Software

You might also like