1 / 19

LAMP, WAMP and..

LAMP, WAMP and. L. Grewe. Motivaiton. Basic Web Systems with Delivery of Static and Dynamic Web Pages. html, css , media. javascript (“dynamic” on client ---this is not the same as dynamic used here for dynamic website). php , java, python, ruby, .net , nodeJS , ….

khanley
Download Presentation

LAMP, WAMP and..

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. LAMP, WAMP and.. L. Grewe

  2. Motivaiton Basic Web Systems with Delivery of Static and Dynamic Web Pages html, css, media javascript(“dynamic”on client ---this is not the sameas dynamic used here for dynamic website) php, java, python,ruby, .net, nodeJS, …

  3. Basic Client/Server Request/Response Sequence

  4. Dynamic Client/Server Request/Response $query $result

  5. Static Web • Need only Web Server (e.g. Apache)

  6. Dynamic Web –MANY possibilities • BASIC POSSIBILITIES (here featuring opensource /free solutions) LAMP = Linux, Apache, MySQL, and PHP WAMP= Windows, Apache, MySQL, and PHP MAMP = Mac, Apache, MySQL, and PHP

  7. Dynamic Web- MANY possibilities • JavaScript • Client-sidescripting access to elements of HTML document • Perform data handling and web server requests in background • PHP • Server-sidescripting • Open source, simplicity and built-in links to MySQL database • MySQL • Open-source Relational Databases that supports structured queries and is free to use and install on web servers • Apache Server • Open source server software that serves up HTML, media files etc • PHP handles main work on web server, MySQL manages data, and JavaScript looks after web page presentation. JavaScript can also talk with your PHP code on the web server whenever it needs to update something (either on the server or on the web page).

  8. Dynamic Web, AJAX and Web 2.0 • JavaScript specifies web page interactivity and presentation • PHP handles main work on web server and retrieves data • MySQL manages and stores data • JavaScript performs data handling & server requests in background • JavaScript can also talk with PHP code on the web server to update data or presentation (either on server or web page) • JavaScript used for AJAX and Web 2.0 “Asynchronous JavaScript and XML” • Ajax is the main process behind what is now known as Web 2.0 • Process of accessing the web server in the background

  9. WHY LAMP • Opensource/free • Industry Standard • Documentation • Widely deployed –history –BUT

  10. Why NOT LAMP • But management is a hassle: • Configuration, tuning • Backup and recovery, disk space management • Hardware failures, system crashes • Software updates, security patches • Log rotation, cron jobs, and much more • SCALABILITY ISSUES  this leads to CS6320 class and discussion of Web Systems (distributed, cloud, etc) • SPEED/CAPABILITIES  is Php the best choice for server side programming? • Facebook used to be the largest LAMP based company but, things are changing.

  11. Things changing---consider the “simple” web server • Here Apache is no longer the CLEAR winner (from July 2013) –Nginx (“engine-x”) ….Apache

  12. Who really knows the truth??? • Different numbers from different agency

  13. Server side programming languages • Pick by needs • Scalability • Performance • Security • Functionality • Pick by support • Pick by knowledge Stack overflow 2015 survey

  14. Another diagram • Who do we believe???

  15. Is that metric good???

  16. Server Side and Us?? • PhP – scripting, easy to learn?, not much configuration • Facebook in beginning days was only php, not anymore (issues in scalability, performance) • MEAN = MongoDB, Express, AngularJS and NodeJS • Scripting • MVC focused • To consider: Python, Java, Ruby on Rails, ….

  17. Not LAMP –changing up M&P • Data solutions: (alternatives to M) • Alternative traditional databases – Oracle, etc. • NoSQL databases – example MongoDB • Distributed data and much moe • Interactivity (alternatives to P) • Client side like Javascript, AngularJS • Server side – Ruby on Rails, NodeJS and MEAN,

  18. Other….cloud • Discussion of graduate class (6320)

  19. Don’t worry…. • Languages you learn here will translate to servers (mostly—though they choose language support for PaaS) in cloud • You can put LAMP or any servers on a Cloud (IaaS based or appropriate PaaS)

More Related