Documente Academic
Documente Profesional
Documente Cultură
2009-2010
Open Source IDEs like Netbeans and Eclipse provide good support for PHP development. Linux, Apache, MySQL and PHP popularly known as the LAMP stack is an excellent cost effective and powerful solution for all your dynamic web programming needs.
2009-2010
Personal information manager dbms Implementation The Apache HTTP Server, commonly referred to as Apache, is web server software notable for playing a key role in the initial growth of the World Wide Web. Apache was the first viable alternative to the Netscape Communication Corporation web server (currently known as Oracle iPlanet Web Server), and has since evolved to rival other Unix-based web servers in terms of functionality and performance. The majority of web servers using Apache run a Unix-Like operating system. The application is available for a wide variety of operating systems, including Unix,GNU,FreeBSD,Linux,Solaris, Novell Netware, Mac OS X,Microsoft Windows,OS/2,TPF, and eComStation. Released under the Apache License, Apache is characterized as open-source software. 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, mod_digest, and mod_auth_digest, the successor to mod_digest. Apache features configurable error messages,DBMS-based authentication databases, and content negotiation. It is also supported by several graphical user interface(GUIs).
A variable name can begging with either an alphabetical letter or underscore and consist of alphanumeric letters, underscores and other ASCII characters ranging from 127 to 255.
Explicit declaration of variable is not required in PHP. Variables can be declared and assigned values simultaneously. A variables data type is determined implicitly by PHP after examining the kind of data that the variable holds.
Variables can be declared anywhere in a PHP script and can have different scopes: Local, Global and Static.
$string = hahaha string is this lol; //$string will be treated as a string $price = 420.21; //$price will be treated as float $number = 84; //$number will be treated as an integer Dept of ISE, R.V.C.E. 2009-2010 3
Compound data types Array: for holding multiple values indexed by numbers or strings Object: to be used along with classes for object-oriented programming
Personal information manager dbms Implementation NUMBER(p) : Fixed Point NUMBER(p,s) : Floating Point 3. Date Data Default format for date is: DD-MMM-YY & like character data, is always entered between single quotes e.g. 27-DEC-1989 4. Raw Data It is used to store binary data such as graphics, sound etc.
2009-2010
Personal information manager dbms Implementation 2. Modify an existing column. ALTER TABLE <Table Name> MODIFY <column> <datatype(width)>; 3. Drop an existing column ALTER TABLE <Table Name> DROP COLUMN <column_name>; 4. Add Constraints ALTER TABLE <Table_Name> [ADD CONSTRAINT <constraint_name>] <Constraint_type>(<Column_name>); 5. Drop Constraints ALTER TABLE <Table Name> DROP CONSTRAINT <constraint_name>; DROP TABLE : Its used to delete a table. DROP TABLE <Table_Name>;
INSERT : Adds one or more rows into a table. Syntax: INSERT INTO <Table_Name> [column_name1,column_name2,. . .,column_name3] VALUES(value1,value2,. . . ,valuen);
UPDATE : Updates existing rows in a table. UPDATE <Table_Name> SET <column1_name> = value / Expression, <column2_name> = value / Expression, [WHERE <condition>];
2009-2010
Personal information manager dbms Implementation DELETE : Deleting existing rows from a Table DELETE FROM <Table_Name> [WHERE <condition>] SELECT :Retrieves Information from a table SELECT <the attribute names> FROM<table names> WHERE <condition> 1. The ORDER BY clause is used along with the SELECT statement to retrieve data in a particular order. 2. The GROUP BY clause is used to divide the data in a table into smaller groups following which information is retrieved using a HAVING statement. JOINS 1. Equi Join: Its the process of retrieving information from multiple tables using an equivalence criterion on one or more columns.
2. Non Equi Join: If a join is performed using any of the relational operators other that = operator the join is said to be a non equi join. 3. Outer Join: Outer join extends the result of an equi join. It retrieves the rows returned by an equi join as well as the rows that do not conform to the equivalence condition specified. 4. Cartesian Join: The Cartesian join is obtained when no WHERE clause is specified. It simply returns all combinations of rows from different tables.
2009-2010