1 / 22

Computer science

Computer science. Languages, etc. Overview. For web-applications (HTML, JS) Designing languages (HMTL, CSS) Server Languages (PHP, ASP) Extensions For windows applications (C++,VB, C#) Unmanaged applications Managed applications Others…. Web-applications. HTML CSS Java Script

tameka
Download Presentation

Computer science

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer science Languages, etc.

  2. Overview • For web-applications (HTML, JS) • Designing languages (HMTL, CSS) • Server Languages (PHP, ASP) • Extensions • For windows applications (C++,VB, C#) • Unmanaged applications • Managed applications • Others…

  3. Web-applications • HTML • CSS • Java Script • Visual Basic Script • XAML • PHP • ASP, ASP.NET • Microsoft Silverlight (VB, C#) • Adobe Flash (Action script)

  4. HTML, CSS, Java Script Designing languages • HTML – “hypertext markup language” standard format of writing a webpage. • CSS – “cascading style sheet”. Describes the tags. It controls layout of multiple Web pages at once. • Java Script – performs an event. Makes a page alive.

  5. PHP, ASP, ASP.NET Server languages • PHP – “hypertext preprocessor”. • ASP – “active server script” • ASP.NET – built on CLR. Therefore supports .NET languages.

  6. Silverlight and Flash Extensive languages • In order to run an application made by these, you need a plug-in for the web browser • Microsoft Silverlight – supports VB, C#. • Adobe Flash – supports Action Script.

  7. XAML Application design • XAML – “Extensible Application Markup Language”. It is extended XML developed by Microsoft. • One usage is to write a layout for applications. • XML – similar to html, but does not require specific tags; you define them.

  8. Windows Applications • C/C++ • Microsoft .NET Framework work – consist of CLR and a class library • Visual C# • Visual Basic • Visual F#

  9. C/C++ • Produces unmanaged code (native CPU code) • C was develop 1979, and has been used since then.

  10. Microsoft .NET Framework • All languages that target CLR may use almost all features in .NET Class Library. • A language that targets CLR may only use a subset of the features that are available in CLR. • All applications are usually managed. They contain metadata, etc. • When you run an application of that kind, the JIT compiler compiles the IL code.

  11. CLR – common language runtime

  12. Examples from different languages • HTML • CSS • PHP • C++ • Visual C# • Visual Basic • Visual F#

  13. HTML head <html> <head> <title>Welcome!</title> </head> <body> <p>Hello World</p> </body> </html> body

  14. CSS <html> <head> <style type="text/css"> .red { color:red; } .blue { color:blue; } </style> </head> <body> <p class="red">Red</p> <p class="blue">Blue</p> </body> </html>

  15. PHP [on the server] <html> <head> </head> <body> <?php echo "Hello World"; ?> </body> </html>

  16. PHP [sent to target machine] <html> <head> </head> <body> Hello World </body> </html>

  17. C++

  18. Visual C#

  19. Visual Basic

More Related