Total Pageviews

Wednesday 27 May 2015

PYTHON PROGRAMMING LANGUAGE FEATURES

PYTHON PROGRAMMING:



PYTHON SCRIPTING LANGUAGE

 FEATURES:

Python is a loosely typed lanaguage..

Python does not follow any particular syntax.

unlike normal programming langauages like c,c++,java here we donot use the flower braces{},rectangular brackets [],parenthesis ( ).





Block of code

 {
----------------

}

unlike these in PytHon langUAge block is indended by lines.


BLOCK IS NOTHING BUT GROUP OF STATEMENTS.

A LANGUAGE WHICH SUPPORTS BLOCK WITH BLOCK IS CALLED BLOCK STRUCTURED LANGUAGE.


PYTHON USES DIFFERENT PRINCIPLE (I.E., LINE INDENDATION).


SPACES AND INDENDATION:
eX:
PRINT("HELLO") IS ONE BLOCK

IF WRITE STATEMENT AS 
       PRINT("HELLO")
           PRINT("HAI") ..IT WILL GENERATE ERROR ERROR FOR PRINT(''HAI") AS MORE SPACE IS PROVIDED.




Python has  conditional statements like true and false..If true execute these code or else execute these code. 

                               python scritping language also have the looping statements.







     video REGARDING PYTHON PROGRAMMING FEATURES:


                        VIDEO REGARDING FEATURES OF PYTON PROGRAMMING


POPULAR PROGRAMMING LANGUAGE PYTHON

PYTHON :

Python is a high level programming language.Phyton advantage is realibilty(i.e.,phyton code produces reliable results).


Phyton express code in fewer lines but more effective...


Phyton  provides code simplicity.

              
          mOST of the programmers chooses  python  programming.

 


The code that perform some operation with cpp,java can also be implemented by Phyton.



INTRODUCTION TO PYTHON PROGRAMMING:

PYTHON SCRIPT 








Procedure to write and save python script:


                       AFTER U WRITE PYTOHN SCRIPT SAVE IT WITH DOT (.PY)                                                   EXTENSION.

                 

                                           Example: example1.py



 POPULAR LANGUAGE PHYTON:

                             
                           VIDEO REGARDING HOW TO WRITE PYTHON SCRIPT

















INTRODUCTION TO SCRIPTING...CLIENT SIDE AND SERVER SIDE SCRITPING

    WeB TeChNoLoGy:


>>SCRIPTING LANGUAGES<<





MAJOR DIFFERENECE BETWEEN CLIENT SIDE LANGUAGES AND SERVER SIDE LANGUAGES.




WEB BROWSER OVER THE INTERNET TRANSMITTS THE USER REQUESTS TO   WEB SERVER:

INTERACTION OF WEB BROWSER WITH WEB SERVER



INTRODUCTION TO SCRIPTING  LANGUAGES:

||

.CLIENT SIDE SCRIPTING  LANGUAGES:
VBSCRIPT(VISUAL BASIC SCRIPT),JAVASCRIPT,CSS(CASCADING STYLE SHEETS),JQUERY.


.SERVER SIDE SCRIPTING LANGUAGES:


PHP(PRE PROCESSOR HYPER TEXT),
SERVLETS,
JSP(JAVA SERVER PAGES).





CLIENT SIDE SCRIPTS ARE EXECUTED AT CLIENT ITSELF WHERE AS SEREVER SCRIPTS ARE EXECUTED AT WEB SERVER .





"CLIENT SIDE SCRIPTS ARE EXECUTED FASTER COMPARED TO SERVER SIDE"











PROCESSING OF CLIENT REQUEST AT SERVER







CLIENT-SERVER   ARCHITECTURE(REQUEST AND RESPONSE) 



.REQUETS ARE SEND FROM CLIENT TO THE SERVER IN  THE FORM HTML PAGES AND SERVER PROCESS IT AND RETURNS RESPONSE IN THE FORM HTML PAGE TO CLIENT..

SO HTML PAGES HAVE GOT THE MAJOR IMPORTANCE...








SERVER SIDE SCRIPTING LANGUAGE LIKE PHP 

APACHE  SERVER  TAKING REQUESTS FROM CLIENTS  INTERACTING WITH DATABASE.




SERVER INTERACTION TO THE DB(DATABASE)






POPULAR DATABASES:




SYSBASE,

ORACLE,

MYSQL,

MICROSOFT SQL SERVER,

DB2,

SQL LITE,

MS ACCESS,

MANGO DB,

CASSANDERA,

REDIS,

TERA DATA.








client side scripting and server side scriptinG




CLIENT SIDE SCRIPTING:

VIDEO REGARDING CLIENT SIDE SCRIPTING








SERVER SIDE SCRIPTING














Monday 25 May 2015

VOIP PROTOCOL SIGINIFICANCE

VOIP(VOICE OVER INTERNET 

PROTOCOL)



One of the widely used protocol is voip on the internet.

                
     VOIP:




Voip  stands for voice over Internet protocol.

VOIP  IS ADVANCED NEW TECHNOLOGY.



VoIP basically means voice transmitted over a digital network. 


The Internet, however, isn't strictly necessary for VoIP. 

What is necessary for VoIP technology is the use of the same protocols that the Internet uses. 
(A protocol is a set of rules used to allow orderly communication.)




 *Thus, voice over Internet protocol means voice that travels by way of the same protocols used on the Internet.


*VoIP is often referred to as IP telephony (IPT) because it uses Internet protocols to make possible enhanced voice communications. 

*The Internet protocols are the basis of IP networking, which supports corporate, private, public, cable, and even wireless networks. 

*VoIP unites an organization's many locations — including mobile workers — into a single converged communications network and provides an unparalleled range of telephony support services and features .






VOIP:









                          video regarding voip basics and how they actually used.





Voice-OVer-IP(VOIP)  implementation allows to enable users to carry  voice traffic(ex:telephone calls and faxes) over  an ip network.

VOIP is mainley used as it provides:
>less cost phone calls.>Addon services and unified messsaging.>Merging of data/voice infrastructures.  






Following are some of the voip  protocols:

*Megaco           H.248 gateway control protocol.

*MGCP            Media Gateway Control Protocol.

*MIME             Multi Purpose Internet Mail Extension.

*Rv over IP       Remote Voice protocol Over IP Specification.

*SAP v2            Session Announcement Control.

*SDP                 Session Description Control.


*SGCP             Simple Gateway Control Protocol.                

*SIP                 Session Installation protocol.


*SKINNY        Skinny Client Control Protcol(SCCP).

VOIP  uses Vlan network.





VOIP SETUP:


  IS DONE BY VLAN.


Setting up VOIP connection:

VOIP TELE PHONE-> 

SWITCH-> 

 

SWITCH->


VOIP PHONE.

  voip phones works on ip and when dailed from voip the corresponding informaton is passed from one switch to the other and then received by other voip phone.