0% found this document useful (0 votes)
37 views17 pages

SL Imp

Scripting lang imp

Uploaded by

Abhiram Pula
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
37 views17 pages

SL Imp

Scripting lang imp

Uploaded by

Abhiram Pula
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 17
Web Scypiing ¥ The procegs of creating and tmbeading GMprs (rg webpage 1S finawr ag web - SariPing € SQIPTIG —UStOR commands rat aie embedded tO 9 wb Page: Interpreted & executed % — SAIPHiN: lanquagos AE -USEd i wl applications & Sed IQ Sewoy Sido AS woilag Client Side SeYvey sido Javg Scaip PHP) Ocal EAC- Client Side = javagcript, AJAX, javery x Seuipting languages axe used in Sustarry edrainighatia) ® web Sciphi— : 4 commpatey Progiarnming language fox adding Anawic copabilieS to nll WI pages K web PAGES enawkod UP with HTML % web ig the most fanie areas for the app'n.o F i fanguago- web SciipHing 3 sypes ® pr 55199 wolo funn S q) P¥acESsing Fang ® In Pa S e bq IC wrols aqes 4) cy¥€atin page 2 pb Ory ci > 9 : ie “y Gor ¢ Q ating pages Acatues SPoL ae eee ¥ iS open gouce ; ® lmeans qusey can have fati control 4o view an Edit i+ * is fagy to teqin € work with) : ¥ fasta ta develop than actual pragyan * Wnmed noof data shucures which enaxes it fasy td whe and eqit 1 A Saipiin language is q scl fanguage- That exocutes faa wahin g gpeciay zune, EnV] ¥onrnent by af inteyneto y ingttad of q Compiiet - J ® Thay are Usuay short, fast & Inieypieied. fern Source code ox by{@ cade. 4 féanloges — ay learning fast ediin 4 is flee : Chanactorishes of SLi— © Both bath and Imeiaawe Uge ® aaa of exp ® tach of déciavahang 5 SIPC. Scopin @ Ficulole - Ayrarnie ‘ying 6 #54 aces. 5 TS5OtheY PrYogianns q wos ie) SophiShcated Pavien ca) and i sngaipulation @) high lever data types \ 6) Gen@ay interprctod (4) Pyar C typing ©) Mane It gas 42do jhinkg suicnig Vin @nieS 7 —== ; ¢ . Pregiening tiovary 'GQ Collection dP prowritten Coda that Pog YarNe1S CON UGE +0 optimize +agKS * tH canoction Of Yugable code is on fangeiad ls SPEC Commo problen S”” x nae incudes-A feud di fl PRe-coded comparent s. K DevordPeiS use tibiar%iCS +0 build APPS and websites . mag eFFiciontiy- ach \iaty Ig designed 40 ptovide q Sout ) +oq Specific foajare Wy incudes usey auiNentication 1 SEWOY CoNne dion, aigotiinens ANA Anima hans POIOPEIS WI tate of4oq ‘60K gp Iibya we g +0 heip with g Poaticulgy Con Pong q ‘hey want 0 CHG to 2uicnly - F — Sonrtimes deveroperg wnt VO view hot the Paspcerve. x a aso ugo Woiavies qe ee 90 Posy dif CMY doe g ‘hegs a WH bit diFforenty. X POOPELS cay ‘Cfoy 4O WhraNEs +o Seehow the Might be QbIE 45 do omeny ing dite manne { Filo handing a. % UY asgocicreg ANaMe doan external file thal canbe usod unl the fad of fhe pigm | arnt fiehandie 15-ciesed Hig likea Connection fhat cam be a +o modify the Contents ofan ‘@xtoinal fro & aname 3 tioments in peal Stoin St pout STOERR VepreseniS Standard input) Standard output | Slordaad. ‘Evloy devices rCspechvery. ‘eynion = apen( fj Handle, made 1 Hanne i ( file Handto, de, f 0) \ & 't canbe aged witha Hho regrarn| unt (45 closure * Made — : File iS tobe opened ¥ File name — ‘the narne GP he +0 be opened A Hadi 0 ao flemame com bo Gubbed 40 fore q ‘So gle 2XPIESSION for open Ss : fr PEN FieHentie, &xnre sgi00 ) * Filo Ne j I Hae iS cioge 4 9599 tno close funchan Synrac= tose C Fie Handiey, PAI enaduies eS" ¥ 1415 cotoction of related subroutines and variabie that Perfor a Set of Prograrerriing srs Per) wroduieS —YeuSable VAsIOUS PE MeduleS GIO availakio on (crear Comprehonswe pert archive metworts HW cover a wide Yonge of caregoues suchas NtWor, C&L, AME Proessing, dataoase Ss otorfacny oe. * “eating q PAL maduia * maduies hare must bo Same aS +0 tha Hane OF ANE pacnage : And should end wih "PD Extension, Pal module ig q digacto Component of software Pred ararnin language « SC+OP Iiatod Fonchans Inalibiay Fig: Tey ne speitiod ésigned “tobe Othe ( modaies | Pgms 163,000 Modulos foy the peri * Yeusahle by 4 Vad | 4 40 USE on CPAN ff /use [bin[ pes! PACHAge Foo, Sbbar U piint "HONG $ _Toq|ny! Subbiat L a 5 print “world-$ _Coy\n a i. Tay ) DEffoa entiacte between the Fonvioing Control Gating oF per) (3) JF and unlers i while and unt) ty leat and last - ANT —_ while ~ a while loop Statement — in perl Prqvamming language Pepeatisly crecuty a target Statiment gy Jong asa Sven Condition f¢ tue Syntaa'- while Condition) § » Statement(s) » > The loop iterate while He Condition 1 Tue fr 4a 2 lo; while (qq L290) ¢ Print tC value oa i tain’). ta- Sati: 7 3 V4 Bel ay wall loop Catenont fn proqraremin a execubs a torget Statemudt language aepeotedly Of long as a Given Condition is false . Suyntaa'- until Ccondition) { Staliment(¢) + § The Loo “iterates until, the Condition be lames. rare a facs; until “C fa sio) f Print# ( "valu of a da In): $a fas nae $ i VELL of a “ SAK Y ty ’ u i Gn pes) tf ecment Contich of a boolean Expression —-followe by one Or more latent Syntant | punta if (boolean - expresion) 5 # Statement (s)- 4 oe tao; ‘#( gaz) § Print#(ra js lets than rain), % Print value of a %6 + daw). % i a fs les fran 26 Valu of a iS 310 unless i- 5, perl ‘unless Stetimud Consith of a boolean enprerion followed by oe oF es 5 fatima ty > Sf te boolean expresion evalistes “the falte, Hen dee block of Gde inside He Unless Statimenct it be executed . ¢ i Sida; unless Choo leon —-eepvessiony # sm i) win be execute TF Hy 4 BN cmmaition (s falge - r tas 205 unless ( da 220) { inth “Ca | . Print “(a is nod tess han 25 Wy Print fWalue of a ee + dain) ; Olp:.- ~ Ais not leye thay 26 Value of a iS t29 oo Neat > Sr per) neat Motiment Cart He nerd i feretion OF the loop . A nent Gartinet Con be used intide a he ge) oop. Sum ton |= vole ( Condition) —— at " fa =lo; acs Pint (vale ota’ dawn} da = 4a4l; Slp’- value of A s10 % i} rs 13 a iy V6 1% \y 14 laste wolen a lett Slertoment ff erounteted “ThSide Q loop , the loop FS immediately terwinated 2nd We procran Condro] ~éhumes OF the nest Ctatinent Focusing be loop ee Hereis any Continur block On te lop; toon te fs nok executed - Seutirn '- | : ; + wolile Conaition) { last» . 3 ae $a clo; 7 while Claz20 ie cae ‘bal, it Chae eID t a 3 qa edatty ole value of arto ' tos > io Y a Te : =) Tool Command language DD Te 1h dea Shevkcuk form of ‘Tool Commany Low quage ~? St 1S a Combination of gp Griptng language 2 Tel wes developed inv tally fox anixn. it t& wuch Sinila’ to odtur Unix Chel lan guages - Vike Bousne Chel Cony —) Tel Sevipt is a Shing deat is a Kyuence QF Commands | Separocded by newlines by Semfcalong ' Atrcture |- vy Yoyard Me a q Te — Creat \ Commana t Tet, Sinton Curnmnaty ; oe SUPE = Gon anic Sepesa kes Ly newlines by Semicolons PF Corrmand erry ds Separattd by lite Space. 7-4 Causes Vasiable substitution. TF Camses Conmaind Subst tation 7 * quotis wel wobite Space and Semi- 0 lone. QE quoty Ul Special Charactas - P\ quot neat Chatactes, proviees CHITIEC | Subosti tection - + for Comment | Stas | = [ Corman Name — O44 pater - ~ - Ze) ur Ht luce [bin / tersh pu Stdout " Hetto, wow |’ lp; ello, world } ve Fealures of Tepe > Reduced Aeveloment Hme Powerful and Sirvple user fataface kit ity Itegradion of Te D writ once, Tun, an quobvre . It unt on Window, Mac o¢x 7 and almost on every unix platform pe ve A pee ae nchootking Fanchio Applications - Tel fs a Gnretal - purpoce language ahd You Con tind Tel Every volere - (E nd ludes, — Scalable websity that ax often Lackes by date bases - sy Hqb performance wek setvers build with ; Teluetpd 7 — 9 1c) with CG! based webtites. > pecetop cul OPplications SS Eonbedded Oppli tons. ° Lists +P ISTIS.Q colechan OF gcalat Vale g - WO can access ANE tements OFA NST Bs indexes ¥ indox starts withd Cath index’ weforg “40 the “fist eiement ofthe ust) % Weuse parentnesig and comma opeiaterG to constacy a ist - . 4 IN PE). Scatad voriqhles siqvtg witha $ SyMbo] dew WwStvolables stat with @ Symbo) ¥ listin pea ig mata data stactuie ¥ THE AI. Sul expreggion 5 | exp in cada x ey © typ\can 0 Sienpie ig 4 TNSt wily same dotatype'ig 1efened to 05 q Simro ligt | assigned 40 aM away: Fes 4H) fusy [69 |pet | 4 empty ust assigned +0 a0 avay @ Empty igh =C); FE Nigh op integers @ integer -ust = (W235 tF tig} of shings Assigned 4oan quray - 4. @ sing igh = Caéens!) “foil, “ayecs ¥ piioy “empty list @ Empty s}\o"5 puor Vntegey ski @ ikegeY ust im; Pain w shing ligt + @ pialag “isttoly output -— &eapty ligt IMegey ust: \ 9 3 ani "St: Geeks fay Geen any * AVGU Ga SPecia\ typeof variabl& Y ANY ig used4o Stove Ane i6t of varueg and Each abjech oP NOISE 19 Jerrod ag an Llernent- 4% BeMeNIg CaM eiho¥ bea nurnive v, 81319q { any type of seqiay datq Inadding anothoy vaidol a . pout folss[eapoia] ele ortay | (enreterae terete 1 my pravay yengih = 4 ivish indo => \agt dex = 0 Ac oa @runberx = (50,40, UO) @ MOMs = CrGecrsg', “For, “Greens! Jj % 7 Cyeation -— In pal Prograncrng eer anay vawlabie \s deciared ung *@! Sig) before sho vawiable’s Hane. _ - 7 ae MH can alsa stove florenis of- Mu HPI data tyros : €k . AF PCHNG an-anay @wW= C12, ayy Q@rv= Ca, 3, “Herold )

You might also like