Presenter manual php and mysql with cms (job orientd module)

Page 1

Job Oriented Module

Effective from: Jan 2012

1 COURSE OUTLINE FOR PHP and MYSQL with CMS

|

XPERT INFOTECH | Confidential


CORE PHP • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •

How PHP Works The php.ini File Basic PHP Syntax PHP Tags PHP Statements and Whitespace Comments PHP Functions Variables Variable Types Variable Names (Identifiers) Type Strength Variable Scope Constants Variable-Testing and Manipulation Functions PHP Operators Creating Dynamic Pages Single Quotes vs. Double Quotes Flow Control Conditional Processing If Conditions Loops while do...while for break and continue Arrays Enumerated Arrays Initializing Arrays Appending to an Array Reading from Arrays Looping through Arrays

• • • • • • • • • • • • • • • • • • • • • • • • • • •

Associative Arrays Initializing Associative Arrays Reading from Associative Arrays Looping through Associative Arrays Two-dimensional Arrays Reading from Two-dimensional Arrays Looping through Two-dimensional Arrays Array Manipulation Functions PHP and HTML Forms HTML Forms How HTML Forms Work A Sample HTML Form Form Variables String Manipulation Formatting Strings Concatenation String Manipulation Functions Examples of String Functions Magic Quotes magic_quotes_gpc magic_quotes_runtime Recommendation on Magic Quotes Reusing Code and Writing Functions Including Files Require require_once auto_prepend_file and auto_append_file

2 COURSE OUTLINE FOR PHP and MYSQL with CMS

|

XPERT INFOTECH | Confidential


• • • • • • • • • • • • • • • • • • • • • • • • •

User Functions Defining and Calling Functions Default Values Variable Scope By Reference vs. By Value Form Processing Code Organization Simple SELECTs Introduction to the Northwind Database Some Basics Comments Whitespace and Semi-colons Case Sensitivity Selecting All Columns in All Rows Selecting Specific Columns Sorting Records Sorting By a Single Column Sorting By Multiple Columns Sorting By Column Position Ascending and Descending Sorts The WHERE Clause and Operator Symbols Checking for Equality Checking for Inequality Checking for Greater or Less Than Checking for NULL

• • • • • • • • • • • • • • • • • • • • • • • • •

WHERE and ORDER BY The WHERE Clause and Operator Words The BETWEEN Operator The IN Operator The LIKE Operator The NOT Operator Checking Multiple Conditions AND OR Order of Evaluation Sub queries, Joins and Unions Sub queries Joins Table Aliases Multi-table Joins Outer Joins Unions UNION ALL UNION Rules Inserting, Updating and Deleting Records INSERT UPDATE DELETE Managing Data Querying a Database

MySql • • • • • •

MySql Methods and Properties Inserting and Updating Records MySql Prepared Statements Authentication with PHP and MYSQL A Database-less Login Form

• • • • • •

Session Control and Cookies Sessions Configuring Sessions Session Functions Cookies Sending Email with PHP

3 COURSE OUTLINE FOR PHP and MYSQL with CMS

|

XPERT INFOTECH | Confidential


• • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • •

mail() Shortcomings of mail() PHPMailer File System Management Opening a File fopen() Reading from a File fgets() Writing to a File fwrite() File Locking flock() Uploading Files via an HTML Form Getting File Information More File Functions Directory Functions Getting a Directory Listing Getting a Directory Listing Creating a Dreamweaver site Site creation - basic Site creation - advanced Database connections Database basics Introduction to MYSQL Server behaviors Querying the database Building a MYSQL query using the Simple view Building a MYSQL query using the Advanced view Adding fields from the resulting records to your page Displaying and formatting query results Using Repeat Region to display multiple records Formatting results Paging through records Schemes for record set navigation

• • • •

• •

• • •

• • • • • • • • • • • •

Paging to first, last, previous, and next records Show region if... Selectively displaying information based on a conditional Disabling the first and previous record links if the first page of results is displayed Disabling the last and next record links if the last page of results is displayed Displaying the count of the number of records returned Creating master-detail views Overview of the importance of master-detail views and how they convey information Creating a master-detail view Advanced record sets and multitable queries Method 1 - Simple record set with filter Method 2 - Advanced record set Method 3 - Advanced record set and multi-table Queries Dynamically populating forms Populating text fields, text areas, and hidden fields Populating selection lists, radio button lists, and checkboxes Building record insertion forms Building the insertion form by hand Allowing Dreamweaver to generate the record insertion form automatically Creating a page that confirms the record insertion

4 COURSE OUTLINE FOR PHP and MYSQL with CMS

|

XPERT INFOTECH | Confidential


• • • • •

Validating form entries using JavaScript behaviors Understanding stored procedures How they are created in the database Advantages/disadvantages of stored procedures versus MYSQL Calling a stored procedure without passing parameters

• • • •

Passing input parameters to a stored procedure Manually constructing a form that allows the user to update a record Retrieving parameters from a stored procedure Updating records

USE OF DREAMWEAVER • • • • • • • • • • • • • •

Using Dreamweaver to automatically generate a form for updating the record Validating the edited information using JavaScript behaviors Building a confirmation page to display the result of updating the record Deleting records Precautions to take to ensure that records are not inadvertently deleted Building an appropriate record deletion interface, complete with confirmation dialog Implementing user login/logout with Dreamweaver Overview of Web application security issues Preferred approach: configuring the Web server to manage security Alternative approach: having Dreamweaver automatically generate code for logging users in, authenticating them, and logging them out In-depth instruction on using Dreamweaver with PHP to implement user login/logout and page-by-page authentication.

AJAX • • • • • • •

Ajax with PHP Ajax Overview Ajax Technology Stack Ajax Implementations Installing and configuring HTML_Ajax Pear Module Ajax Server Ajax Client

WordPress • •

Wordpress Overview, installation + Configuration Wordpress Administration

5 COURSE OUTLINE FOR PHP and MYSQL with CMS

|

XPERT INFOTECH | Confidential


• • •

Wordpress Theme Development Wordpress Plugin Development Hooks, Filters, Action, Plugin development etc. Wordpress Plugin Development Wordpress core functions, how to use, customize etc.,

CAKE PHP • • • • • • • • • • • • • • • • • • • •

Beginning With CakePHP What is CakePHP? Why Use it? Where to Get Help Understanding Model-ViewController Basic Principles of CakePHP CakePHP Structure A Typical CakePHP Request CakePHP Folder Structure CakePHP Conventions Developing with CakePHP Requirements Installation Preparation Installation Configuration Controllers Components Models Behaviors Data Sources

• • • • • • • • • • • • • • • • • •

Views Helpers Scaffolding The CakePHP Console Plugins Global Constants and Functions Vendor packages Common Tasks With CakePHP Data Validation Data Sanitization Error Handling Debugging Caching Logging Testing Internationalization & Localization Pagination REST

Jquery • • • • • •

What Are Javascript And Jquery Document Object Model (DOM) And Jquery Programming/Coding Principles Separation Of Structure (HTML), Style (CSS) And Behaviors (Javscript/Jquery) Jquery Wrapper – DOM Elements As Array - $( )

6 COURSE OUTLINE FOR PHP and MYSQL with CMS

|

XPERT INFOTECH | Confidential


• • • • • • • • • • • • • • • • • • • • • • • •

Selecting And Manipulating Elements Jquery API Element Properties And Attributes Browser Event Model Jquery Event Model Putting Events To Work Animation And Effects Overview Show/Hide Elements Animate The Display State Animation And Queuing More On Jquery Utilities Extending Jquery, Plugins Dynamic Website Design With Jquery Design And (3) Plans For Implementing Jquery Functionality Drag And Drop Features Sorting Elements Changing The Size Of Elements Making Elements Selectable Buttons And Buttonsets Sliders, Tabs, Accordians Progress Bars Forms/Auto Completers Date Pickers Dialog Boxes

Notes: Recommend Practical hours for student except class hours is 120 Hrs. We also provide weekend classes for all courses. After completion of 75% of course, student will go through Live Project Training, Interview Preparation and Recruitment process in Software Industry. • Student will go through the training of HTML, CSS and JavaScript as a complimentary package before starting of PHP++.This is optional. • • •

7 COURSE OUTLINE FOR PHP and MYSQL with CMS

|

XPERT INFOTECH | Confidential


Our Technology Specialization and Certification Courses:

KEY FEATURES OF

XPERT INFOTECH: •

Training by Certified and Experienced Trainers.

Industrial and Corporate Tie-ups for Live projects for student.

Well equipped Computer Lab, Internet and Book Bank facility.

8 COURSE OUTLINE FOR PHP and MYSQL with CMS

|

XPERT INFOTECH | Confidential


Live project based Summer Trainings, Summer Internships and summer programs.

100% placement assistance on every course.

Interview Preparation and Technical Events.

On Campus Interviews in every month for the placement of students.

WI-FI enabled classrooms.

100% Placement Assistance

On Campus Interviews

58-61 (Basement), Vashist Park, Pankha Road, New Delhi-46 Ph.: 011-28526572, 65833100, 9990345891 www.xpert-infotech.com

9 COURSE OUTLINE FOR PHP and MYSQL with CMS

|

XPERT INFOTECH | Confidential


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.