Unit - 1 - PHP
Unit - 1 - PHP
Client side scripting cannot be used to Server side scripting is used to connect to the databases on the web connect to the databases that reside on server. the web server. Response from a client-side script is faster as compared to a server-side script because the scripts are processed on the local computer. Response from a server-side script is slower as compared to a client-side script because the scripts are processed on the remote computer.
Examples of Client side scripting Examples of Server side scripting languages :JavaScript, VB script, etc. languages : PHP, JSP, ASP, ASP. Net, Ruby, Perl n many more.
Overview of an OSS
It is computer software that is available in source code form. By using an open source license the copyright holders are provide all the rights to study, change, improve and to distribute the software. Widely used open source products.
Linux Kernel (Operating System) Apache (Web Server) MySQL (Database emphasizing speed) Postgre SQL (Database emphasizing functionality) PHP(Server-side scripting) Filezilla (fast & reliable FTP client) Mozillas Firefox (Web Browser) Pant.net(Free image editing software)
Cont
Term
Cost
Open Source
Open source software may be free. If you have in-house capability for implementation, training then it is the best option.
Closed Source
The cost of proprietary software will vary from a few thousand to a few hundred thousand dollars, depending on the complexity of the system required.
Innovation
Open source software enables Proprietary software providers do innovation by providing users not allow users to view or alter the with the freedom and flexibility to source code. adapt the software , without restriction. No availability of the proper documentation of the system is available so its Requires system administration expertise. So it is developer-centric. Proprietary software generally employs expert usability testing, so user provide proper documentation for system. So it is User- centric
Usability
Development Philosophy
According to The Cathedral and Bazaar Model the Open Source Software are being developed which has following pattern:
Users should be treated as co-developers
Users should have access to source code Users are encouraged to submit code fixes for the s/w and also report bugs and documentation. Linuxs law says : Given enough eyeballs all bugs are shallow. Many users view same source code then they find all bugs and ways to solve them.
High modularization
The general structure of the software should be modular allowing for parallel development on independent components.
Cont
Frequent Integration
Code changes should be integrated as frequently as possible to avoid integration at the end of the project lifecycle.
Several versions
There should be at least 2 versions of software:1. Development version with more no. of features. 2. Stable version with fewer no. of features.
Development version should be used by the developer willing to take risk of the code which is still not developed completely and want to use the latest features. Such user can act as a co-developer and help in reporting bugs as well as providing fixes to those bugs.
Free Software
Free source software
It is just small software which are free, It can be downloaded ,used ,copied without restrictions but their codes are not accessible.
Free soft wares are soft wares made by the company, and distributed free for use.
Such as Internet Explorer or MSN Messenger, Yahoo Messenger...stuff like that.
Shareware Software
Shareware softwares are used for marketing purpose. Computer users can download and use a limited version of software or full version of software for a limited period of time. We can say that Shareware software is just like Try before you buy. Example: Snagit.
Source Available
Source available is software where the source is available for viewing, but which may not legally be modified or redistributed. Such software is more often referred to as sourceavailable, or as shared source. In response to the demands of its customers for access to source code, Microsoft created its shared source licensing program. This program allows Microsoft customers to read and examine certain of the companys source code.
Source Code
Program must include source code , you also allow to distribute it as source code as well as in a compiled form The source code must be the preferred form in which the programmer could modify.
Cont
Derived Works
License must allow modification and derived works It should allow them to be distributed under the same terms as the license of original software.
Distribution of license
Rights attached to program must apply to all to whom the program is redistributed without the needs for execution of additional license.
Software that is licensed under an open source license allows for a community of developers from around the world to improve the software by providing enhancements and bug fixes.
Cont
Open source software is generally available for free and it is not necessary to purchase additional licenses for every computer that the program is to be installed on or for every person who is going to use the software. Open source software not only has a lower acquisition cost than proprietary software, it often has lower implementation and support costs as well. It is easier to evaluate open source software then proprietary software. Since open source software is typically freely available to download, librarians and systems administrators can install complete production-ready versions of software and evaluate competing packages.
Cont
If the person or organization likes an overall open source package but would like a few added features they can add these features themselves. This is possible because the source code is available. Even if a person or organization does not have inhouse expertise they can benefit from source code availability because they can hire a consultant to make the changes that they desire.