Programming

explore your knowledge

Programming

Django


Introduction

About Django

Django Components


Installing & Configuring Django Components

Django Pre-Requisites

Downloading & Installing Django

Choosing a Database

Creating a New Project


Generating Simple Django Views

About View Functions

Using Django's HttpResponse Class

Understanding HttpRequest Objects

Using QueryDict Objects


Configuring URLconf's

About URLconf

Regular Expressions

Expression Examples

Simple URLConf Examples

Using Multiple URLConf's

Passing URL Arguments


Django Templates

About Templates

Template Fundamentals

Creating Template Objects

Loading Template Files

Filling in Template Content (Context Objects)

Template Filters

Template Tags

More on For Loops

Template Inheritance

Easy Rendering of Templates

RequestContext Processors

Global Context Processors


HTML Forms with Forms (formerly newforms)

The Forms Module

Creating the Form

Generating Output From the Form

Customizing Field Parameters

Processing Form Data

Custom Form Field Validation

Generating Custom Field Errors

Customizing Form Output


Database Models with Django

About Database Models

Configuring Django for Database Access

Understanding Django Apps

About Django Models

Defining Django Models

Understanding Model Fields & Options

Table Naming Conventions

Creating A Django Model

Adding the App to Your Project

Validating the App

Generating & Reviewing the SQL

Adding Data to the Model

Primary Keys and the Model

Simple Data Retrieval Using a Model

Understanding QuerySets

Applying Filters

Specifying Field Lookups

Lookup Types

Slicing QuerySets

Specifying Ordering in QuerySets

Common QuerySet Methods

Deleting Records

Managing Related Records

Retrieving Related Records


Django ORM

ORM Configuration:

Mapper Configuration

Relationship Configuration

Inheritance Mapping

Advanced Collection Configuration

Configuration Extensions:

Declarative Extension

Association Proxy

Hybrid Attrbutes

Mutable Scalars

Ordered List

ORM Usage: Session Usage and Guidelines

Query API reference

Relationship Loading Techniques

Using Q Objects

Creating Forms from Models


Using the Django Admin Interface

Enabling the Admin Interface

Creating an Admin User


Access Control with Sessions and Users

Cookies & Django

The Django Session Framework

Sessions in Views

Session Tuning

Installing Django User Authentication

Using Authentication in Views

Login and Logout

Building your Own Login/Logout Views

Authentication Decorators

Adding & Deactivating Users

Asynchronous Messaging

Managing Permissions


Generic Views

Simple Generic Views

Using Generic Redirects

Other Generic Views

Create/Update/Delete Generic views


Creating Syndication Feeds

About Syndication


AJAX Integration with Django

AJAX with Django


Data Caching for Performance

Data Caching

Setting up Per-View Caching

Site Caching


Preventing Cross Site Request Forgery

Cross Site Request Forgery


Django's Email Functionality

Configuring Mail Settings

Sending Email

Other Email Functions


Deploying Django Applications

Deploying to Apache


Using ReportLab for PDF Generation

About ReportLab Toolkit

CHAPTER 1: GETTING STARTED WITH PERL

o  What is Perl?

o  Where Can I Get Perl?

o  A Simple Perl Program

o  Simple I/O

o  Perl Variables

o  Control Flow - Decisions

o  Control Flow - Loops

o  Altering Loop Control Flow

o  Statement Modifiers

o  What Is True And What Is False?

o  The Special Variable $_

CHAPTER 2: PERL OPERATORS

o  Introduction

o  Table Of Perl Operators

o  Arithmetic Operators

o  String Operators

o  Relational Operators

o  Logical Operators

o  Bitwise Operators

o  Assignment Operators

o  The Conditional Operator

o  Range Operator

o  String Functions

o  The eval Function

CHAPTER 3: I/O

o  Introduction

o  String Literals

o  The print Function

o  Here Documents

o  The printf Function

o  The sprintf Function

o  Filehandles

o  pening Disk Files

o  File Open Errors

o  The die and warn Functions

o  File Operators

CHAPTER 4: ARRAYS

o  Basic Concepts

o  Assigning Values To An Array

o  Accessing Array Elements

o  Array Functions

o  push and pop

o  shift

o  sort, reverse, and chop

o  split and join

o  grep

o  splice

o  Command Line Arguments

CHAPTER 5: ASSOCIATIVE ARRAYS

o  Basic Concepts

o  Associative Array Functions

o  Updating Associative Arrays

o  Accessing Environment Variables

CHAPTER 6: SUBROUTINES

o  Calling Subroutines

o  Passing Arguments to Subroutines

o  Returning Values from Subroutines

o  The require Function

o  Packages and Modules

o  The @INC Array

o  Predefined Subroutines

o  Comparison Subroutines for Sorting

CHAPTER 7: PATTERN MATCHING AND REGULAR EXPRESSIONS

o  Introduction

o  Regular Expression Syntax

o  The Match Operator

o  Regular Expression Meta-Characters

o  Anchors

o  Single Character Matches

o  Some Special Issues

o  Character Classes

o  Multiple Character Matches

o  Alternation

o  The Substitution Operator

o  The Translation Operator

CHAPTER 8: ACCESSING SYSTEM RESOURCES

o  Introduction

o  File and Directory System Calls

o  The stat Function

o  The utime Function

o  The fork Function

o  The exec and wait Functions

o  Handling Signals

o  The system Function

o  Command Substitution

o  pening Pipe Files

CHAPTER 9: GENERATING REPORTS WITH PERL

o  Formats

o  Formatting Examples

o  Multi-Line Values

o  Multi-Line Text Blocks

o  Sending a Report to a File

o  The select Function

o  The Special Variable $~

o  Top-of-Page Formats

o  Bottom-of-Page Formats

o  A Sample Report

CHAPTER 10: PERL AND CGI

o  What is CGI?

o  Web Servers and Browsers

o  HTML

o  HTML Forms

o  Form Elements

o  A Typical CGI Application

o  CGI Input

o  CGI Output

o  Using the CGI.pm Module

o  CGI Environment Variables

An Introduction to PHP

•  History of PHP

•  Versions and Differences between them

•  Practicality

•  Power

•  Installation and configuring Apache and PHP


PHP Basics

•  Default Syntax

•  Styles of PHP Tags

•  Comments in PHP

•  Output functions in PHP

•  Datatypes in PHP

•  Configuration Settings

•  Error Types


Variables in PHP

•  Variable Declarations

•  Variable Scope

•  PHP’s Superglobal Variables

•  Variable Variables


Constants in PHP

•  Magic Constants

•  Standard Pre-defined Constants

•  Core Pre-difined Languages

•  User defined Constants


Control Structures

•  Execution Control Statements

•  Conditional Statements

•  Looping Statements whith Realtime Examples


Functions

•  Creating Functions

•  Passing Arguments by Value

•  Passing Arguments by Reference

•  Recursive Functions


Arrays

•  What is an Array?

•  How to create an Array

•  Traversing Arrays

•  Array Functions

Include Functions

•  Include, Include_once

•  Require, Require_once

Regular Expressions

•  Validating textboxes,emails,phone number,etc

•  Creating custom regular expressions


Object Oriented Programming in PHP

•  Classes, Objects, Fields, Properties, _set(), Constants, Methods

•  Encaptulation

•  Inheritance and types

•  Polymorphism

•  Constructor and Destructor

•  Static Class Members, Instance of Keyword, Helper Functions

•  Object Cloning and Copy

•  Reflections


PHP with MySQL

•  What is MySQL

•  Integration with MySQL

•  MySQL functions

•  Gmail Data Grid options

•  SQL Injection

•  Uploading and downloading images in Database

•  Registration and Login forms with validations

•  Pagging,Sorting,…..


Strings and Regular Expressions

•  Declarations styles of String Variables

•  Heredoc style

•  String Functions

•  Regular Expression Stntax(POSIX)

•  PHP’s Regular Expression Functions(POSIX Extended)


Working with the Files and Operating System

•  File Functions

•  Open, Create and Delete files

•  Create Directories and Manipulate them

•  Information about Hard Disk

•  Directory Functions

•  Calculating File, Directory and Disk Sizes


Error and Exception Handling

•  Error Logging

•  Configuration Directives

•  PHP’s Exception Class

•  Throw New Exception

•  Custom Exceptions


Date and Time Functions

Authentication

•  HTTP Authentication

•  PHP Authentication

•  Authentication Methodologies


Cookies

•  Why Cookies

•  Types of Cookies

•  How to Create and Access Cookies


Sessions

•  Session Variables

•  Creating and Destroying a Session

•  Retriving and Setting the Session ID

•  Encoding and Decoding Session Data

•  Auto-Login

•  Recently Viewed Document Index


Web Services

•  Why Web Services

•  RSS Syntax

•  SOAP

•  How to Access Web Services

XML Integration

•  What is XML

•  Create a XML file from PHP with Database records

•  Reading Information from XML File


MySQL Concepts

•  Introduction

•  Storage Engines

•  Functions

•  Operators

•  Constraints

•  DDL commands

•  DML Commands

•  DCL Command

•  TCL Commands

•  Views

•  Joins

•  Curosrs

•  Indexing

•  Stored Procedures

•  Mysql with PHP Programming

•  Mysql with Sqlserver(Optional)


SPECIAL DELIVERY

•  Protocols

•  HTTP Headers and types

•  Sending Mails using PHP

•  Email with Attachment

•  File Uploading and Downloading using Headers

•  Implementing Chating Applications using PHP

•  and Ajax

•  SMS Gateways and sending SMS to Mobiles

•  Payments gateways and How to Integrate them

An Introduction to Python Classes

About o-o programming

Defining classes

Constructors

Instance methods

Instance data

Class methods and data

Destructors

An Overview of Python

What is Python?

Interpreted languages

Advantages and disadvantages

Downloading and installing

Which version of Python

Where to find documentation

Getting Started

Using variables

String types: normal, raw and Unicode

String operators and expressions

Math operators and expressions

Writing to the screen

Command line parameters

Reading from the keyboard

Running Python Scripts

Structure of a Python script

Using the interpreter interactively

Running standalone scripts under Unix and Windows

Flow Control

About flow control

Indenting is significant

The if and elif statements

while loops

Using lists

Using the for statement

The range() function

Sequence Data

list operations

list methods

Strings are special kinds of lists

tuples

sets

Dictionaries

Defining Functions

Syntax of function definition

Formal parameters

Global versus local variables

Passing parameters and returning values

Working with Files

Text file I/O overview

Opening a text file

Reading text files

Raw (binary) data

Using the pickle module

Writing to a text file

Dictionaries and Sets

Dictionary overview

Creating dictionaries

Dictionary functions

Fetching keys or values

Testing for existence of elements

Deleting elements

Errors and Exception Handling

Dealing with syntax errors

Exceptions

Handling exceptions with try/except

Cleaning up with finally

Using Modules

What is a module?

The import statement

Function aliases

Packages

Regular Expressions

RE Objects

Pattern matching

Parsing data

Subexpressions

Complex substitutions

RE tips and tricks

Highlights of the Standard Library

Working with the operating system

Grabbing web pages

Sending email

Using glob for filename wildcards

math and random

Accessing dates and times with datetime

Working with compressed files

Conclusion

Ruby on Rails History

Environments & Editors

Ruby Download & Installation

Folder Structure and Gems(Libraries) Location

Ruby Command Line Vs IRB & each %path%

Puts Vs print

Interpolation & Comments(single, multiple)

Variable Types with Naming Convention

Conditional and Controller Statements & Modifiers

Operator Types

Ruby Ranges & Date Time

What is an Object in Ruby

Numeric(Fix & Big)

Object Types(Built in Objects)

o  Strings
o  Arrays
o  Hashes
o  Symbols

Pre-defined methods

Custom Methods

Iteration(Iterators)

Ruby Closures

o  Blocks
o  Procs
o  Lambdas

Modules & Mixins with Naming Conventions

Expressions

Files

Basic Object Orientation Concepts with Naming Conventions + Polymorphism +Meta Programming

Doubts + Ruby interview Qs Discussion Rails Introduction

Environments & Editors

Ruby Sublime Text2/3

Version & Install ubuntu

Install Ruby, Rails and Mysql

Framework Structure

MVC Flow

Rails Terminal Commands

Rake Terminal Commands

Gem Terminal Commands

Rails Components

Create sample project

Database Setup

Controller & View Flow & Yield

Routes and it’s Purpose

o  Layouts
o  Partials
o  Helpers

Active Record(model)

Databases and Migrations

Configuring a project for Database

Creating a database

Generating Migration

Add column / Change column / Delete Column

Forms and other tags

Data Validation (Server-side)

validates_presence_of

validates_length_of validates_acceptance_of

validates_confirmation_of

validates_uniqueness_of

validates_format_of

validates_numericality_of

validates_inclusion_of

validates_exclusion_of

validates_associated

CRUD

o  Create_action
o  Read_action
o  Update_action
o  Delete_action

Associations

o  Belong-to

o  has-one
o  has-many
o  has-one :through
o  has-many : through(many-many)
o  has_and_belongs_to_many

Callbacks

Cookies and Sessions

Action Mailer & Send mails

Introducing Advanced Topics

o  Adding and Installing Gems
o  Play with some 3rd party Gems
o  Deploy from local to Github
o  Deploy with Capistrono

Course Introduction

•  Administration and Course Materials

•  Course Structure and Agenda

•  Delegate and Trainer Introductions

UNIX COMMAND REVIEW

•  Basic Unix commands

•  General commands

•  File and directory handling commands

•  Filename generation characters

•  I/O Redirection features

•  Other commands

GETTING STARTED

•  What is a shell script?

•  Development guidelines

•  Creating and editing shell scripts

•  Naming and storing shell scripts

•  Executing shell scripts

•  Exercise: Write a simple shell script

USING VARIABLES

•  Environment variables

•  Local variables

•  Assigning values to variables

•  Assessing variable values

•  Using quotes

•  Delimiting variable names

•  Echo control sequences

•  Exercise: Add variables to a script

INTEGER ARITHMETIC

•  Using the expr command

•  Using the (( )) notation

•  Exercise: Add integer arithmetic to a shell script

HANDLING RUN TIME DATA

•  The read command

•  Command line arguments

•  Exercise: Writing a generic shell script

•  Exercise: Writing an interactive shell script

CONDITION EXECUTION

•  The if statement

•  The test command

•  Other test notations

•  Default and substitute variables

•  Exit status codes

•  Exercise: Adding validation to previous scripts

LOOP CONSTRUCTS

•  The while loop

•  The until loop

•  The for loop

•  The while true and until false loops

•  Loop control commands

•  Exercise: Enhancing the previously written scripts

•  Exercise: Writing a script to copy files using a 'for' loop

•  Exercise: Writing a script to generate numbers with the 'while' loop

MULTI-BRANCH DECISIONS

•  The case statement

•  Menu driven applications

•  Exercise: Developing and writing a menu system

FUNCTIONS

•  What is a function?

•  Syntax

•  Examples

•  Exercise: Add a function to a script

•  INTERRUPT HANDLING

•  Interrupt signals

•  Trapping interrupts

•  Exercise: Adding traps to the menu script

ADDITIONAL FEATURES AND FACILITIES

•  The exec commands

•  The includes notation

•  More about loops

•  Arrays

•  Here Documents

•  Exercise: Create a here script