or   Register or Register today to make and share your own cheat sheets! (Why Join?)

Cheatography Login

Join Us!

Not a Cheatographer? Register here!

Social Media

You can login to or register with Cheatography using your Facebook or Twitter account!

Why Join Cheatography?

Make and share cheat sheets!
Join a great community of Cheatographers and add your very own contributions.

Save your favourites!
Quick access to your most loved cheat sheets.

Fewer ads!
Members see no ads on the site.

Coming soon ...
Requests, ratings and more!

Why Join Cheatography?

Make and share cheat sheets!
Join a great community of Cheatographers and add your very own contributions.

Save your favourites!
Quick access to your most loved cheat sheets.

Fewer ads!
Members see no ads on the site.

Coming soon ...
Requests, ratings and more!

Web Programming Cheat Sheet by sanoj

Comments   |   Add a Comment   |   PDF Download   |   Find:

Introduction

Internet
WWW
Client Server Model
HTTP Request, Response
HTTP Request format­,me­tho­de..etc
HTTP Response

HTML

Elements Tags,A­ttr­ibutes
Styling Extern­al,­Int­ern­al,­Inline
Links <a>­,<i­mg>.....etc
Tables rel Tags,A­ttr­ibutes
Lists Unorde­red­,Or­der­ed,­Def­inition
Forms Method­,Ac­tio­n,Form Elements
Frames Diff Arrang­eme­nts­,Nested Frames
Basic Tags <p>­<h1­><b­>......etc
Events onClic­k,o­nFo­cus­,on­Loa­d,o­nCh­ang­e..etc

Qns:Create Resume
Course Regist­ration form
...etc

XHTML

Introd­uction syntax­,html vs xhtml, xmlns Attrib­ute....etc
XHTML Different Doctypes 1.0 Strict, 1.0 Transi­tional, 1.0 Frameset, XHTML 1.1

PHP

Basics Variab­les­,St­rin­gs,­Con­dit­ional statem­ent­s,L­oops, Operators, Arrays, Dataty­pes­,Fu­nct­ion­s..etc
Form Handling Valida­tio­n,c­oll­ecting values­:-$­_GE­T,$­_PO­ST,­$_R­EQUEST
Server Side Includes include() ,require()
File Handling open,c­los­e,r­ead­,wr­ite­,upload
  restri­ctions on upload­,Saving uploaded file
Sessions Storin­g,D­est­roying
Adv Concepts Ajax,C­ook­ies­,da­tabase connec­tiv­ity,PHP XML DOM

Qns:-v­ali­dates the email address first then allows visitors to login to site if they are found in database.

Perl

Basic User input/­out­put­,Hash array
Variables My,Sta­te,­Loc­al,­Global
Imp of $,@,%....etc
Functions defini­tio­n,call, return, built in fns..etc
File open,close with various modes.
Other Pattern match, back refere­nce­,re­pla­ce.etc
system backti­cks­,sy­ste­m,e­xec...etc

Qn:Rea­d/write from/to file.

 

HTML5

Basic New Tags,Input types,­Att­ributes
Drag and Drop draggable attrib­ute­,da­taT­ransfer Object­:-s­etD­ata­(),­get­Dat­a()­,cl­ear­Data()
  dragst­art­,dr­age­nd,­dro­p,d­rag­dat­ast­ore­ite­mlist
Canvas <ca­nva­s>,­get­Con­text()
  context:- moveTo­(),­lin­eTo­(),­str­oke­(),­fil­lRe­ct(­).....etc
Web Storage diff with cookie­s,l­oca­lSt­ora­ge,­ses­sio­nSt­orage
Applic­ation Cache Manifest File-3 sectio­ns:­-CACHE MANIFE­ST,­NETWORK ,FALLBACK
Web Workers Use, Create &t­erm­inate Web Worker

CSS

Style Sheet Extern­al,­Int­ern­al,­Inline- Cascading oreder
Selectors Class,­Id,­Att­rib­ute­,Pseudo selectors and pseudo classe­s,G­rouping and nesting of
Font rel Properties and Values­,Sh­ort­hands
Text rel Properties and Values­,Sh­ort­hands
Box Model Margin­,Bo­rde­r,P­adding and properties of each
Table Border­,Border Collap­se..etc
CSS3-> Text Effects,2D &3D Transf­orm­s,T­ran­sit­ion­s,A­nim­ations

Qns; Using CSS3 create :Resume
Animated dock object­,Analog Clock, 3D Cubes, Stylish Menus, CSS Accord­ian­,Image Galler­y...etc

SQL Injection

SQL Basic concepts.
SQL Injection What is sql injn, First Order sql Inject­ion­,Second Order sql Injection
  prevention

Qns:-D­emo­nstrate second order and Blind Injection

Python

Basic list: slicing, tuple, dictio­nary, set: operat­ions, array: generator
  if...elif, while, for...in ...etc
Modules and Packages Import­,Reload
File handling open,close with various modes,use of pickle
Class Inheri­tan­ce,­Ope­rator overlo­adi­ng,­ins­tance and class variable.. ...etc
Other functions, read from xml,lambda expres­sio­ns..etc
 

XML

XML Vs HTML Differ­ences
XML DTD Extern­al,­Int­ernal
XML with CSS <?xml stlesh­eet...>
CDATA,­PCDATA
<!k­eyw­ord..> ELEMEN­T,A­TTL­IST­,EN­TIT­Y,N­OTATION
Entities refere­nce­s..&­l­t;< &gt; > ....etc
XML namespaces Name conflicts

Qns:DTD declar­ation of XML

Javascript

How to? Intern­al,­Ext­ernal
JS Vs JAVA -
Basic Variab­les­,St­rin­gs,­Con­dit­ional statem­ent­s,L­oops, Operators, Arrays, Dataty­pes­,Fu­nct­ion­s..etc
User Intera­ctivity Alert,­Pro­mt,­Con­fir­m..etc
Error Handling Try...T­hr­ow....C­atch
Objects Create­,ac­ces­s(using for..in), rel Propertis and methods
Events Event handlers, Timing events...etc
Validation Form, Email....etc
Cookies, Ajax
Access and Manipulate HTML DOM Object­s,CSS

Qn:fac­torial of number, GCD, Binary equivalent etc

JQuery

Basic Concepts syntax­,ready functi­on,­Sel­ect­ors­,Event Functi­ons­,Ef­fec­ts,­Fil­ters, Callback functi­on:­-with or without args
  Overriding the $-function ,Special Effect­s,HTML & CSS manipu­lation
Adv Concepts Ajax, Cookie­s,P­lug­ins...etc
Plugins Write own plugin, $.exte­nd(­),N­ame­spa­cing.
  JQuery UI Widgets
Ajax learn funs:-­aja­x,g­et,­post, load,a­jax­Com­ple­te....etc

Qns:create various types of JQuery UI Widgets

Favourited by 20 Members:

jagrock mlgdrumming srinivasraos Psyco21 joeguja Provaguest Rober1992 maintainweb sebbu ajumell fire9 cpettit42 SoulReverie dttk sturtus mstrbutlertron hoornet Dnali rohini Dranzz

Comments

No comments yet. Add yours below!

Add a Comment

Comment:

Contents

Column Content Comments Author Updated
- Web Programming Cheat Sheet sanoj 21 Apr 12
1 Introduction 0 sanoj 31 Jan 12
HTML 0 sanoj 31 Jan 12
XHTML 0 sanoj 31 Jan 12
PHP 0 sanoj 18 Mar 12
Perl 0 sanoj 21 Apr 12
2 HTML5 0 sanoj 18 Mar 12
CSS 0 sanoj 18 Mar 12
SQL Injection 0 sanoj 18 Mar 12
Python 0 sanoj 21 Apr 12
3 XML 0 sanoj 31 Jan 12
Javascript 0 sanoj 18 Mar 12
JQuery 0 sanoj 18 Mar 12