SlideShare a Scribd company logo
Web Development
Facebook Technology
DAY AGENDA

               
                   Open source software “OSS”
          
              Introduction to web development
                             
                                  Web programming
                         
                                 Introduction to PHP

    Facebook uses open source technologies
                                      
                                          PHP HipHop
Open source software “OSS”
Open source software “OSS”

                     
                         What is OSS ?


               
                   Advantages of OSS



    Widely used open source products
What is OSS ?


    Computer software that is available in source code
                                                  form.
       
         The term open source describes practices in
     production and development that promote access
                 to the end product's source materials.

    Open source software is very often developed in a
                                               public
OSS History
rechered stallman “Freedom”
Advantages of OSS
Widely used Open source products


    Linux operating system
                       
                               Redhat
                       
                               Ubuntu
                           
                                   SUSE
     
         Apache web server
                   
                           Firefox
           
               MySQL DBMS
                               
                                   PHP
               and more …..
Web Development
Introduction to web development

                          
                              What is web development ?
                          
                              Web application Vs website

        Web development advantages and disadvantages
    
         What are technologies needed to be a developer
                                       
                                           How To Start ?
What is web development?
●Web development is a broad
term for the work involved in
developing a web site or web
application for the Internet or
for private network.

●Web development can range
from developing the simplest
static single page of plain text
to the most complex web-
based Internet applications
Web application VS Website


        Web application                            
                                                       Web site
            
                    An application       
                                              Collection of web
                        uses web                         pages.
                     technologies    
                                             Contains images ,
    
        All processing are                         videos, and
               made in the                         other digital
               server side                             assets.
        
                Accessed form        
                                             Must be hosted on
                  web browser                      the Internet.
                
                     Can't contain   
                                             It may be static or
                       static web                     dynamic.
                            pages
                      
                          Must use
Web development advantages

        
            No special configuration or changes are need on user's PCs.
                                                         
                                                             Lower costs.
                      
                          Centralized data is secure and easy to backup.
                            
                                 Updates can be made quickly and easily.

    Information is accessible to a wide audience anywhere in the world.
                             
                                 Available 24 hours a day, 7 days a week.
                                                   
                                                       Always up-to-date.
Web development disadvantages

       
           Slower, as it runs over the Internet
               
                       Can take longer to develop
                   
                       As they are more complex.
 
    As the site or application have to work on
 different browsers, and different versions of
                                     browsers.
                                  
                                      Security risks
Needed technologies to be a developer
How TO Start / Where To Go


    Start with studying technologies in this sequence
                                       1. Apache web server basics
                                                      2. HTML / CSS
                                                        3. JavaScript
                                                    4. MySQL DBMS
                               5. PHP web programing language
                                
                                      Go To one of the following
                                    1. Self study. (It takes long time)


    2. Pi-Technologies (It takes 20 days + basic work experience)
Web Programming
Web programming

What is web programming ?





Types of web programming





Web servers





Types of web servers





Web servers market share

What is web programming?


Web server



                                   Send
                                 request
Application / Website


Web Programming

 •   Code
 •   Database
 •   files
 •   precompiled
         programs
Types of web programming


        Server side programming
                                    
                                            PHP
                                        
                                            Perl
                                        
                                            CGI
                                
                                    Python
                           
                               ASP.NET
    
        Client side programming
                       
                               JavaScript
                   
                       Action script
Web servers


 A web server is a computer program that delivers content to
the end user .

 The term web server can also refer to the computer or
virtual machine running the program.

 commonly a web browser makes a request for a specific
resource using HTTP.

 While the primary function is to serve content, a full
implementation of HTTP also includes a way of receiving
content from clients.
Web servers


    Active web servers market share
Introduction to PHP
Introduction to PHP

         
              What is PHP?
          
              PHP Vs. ASP
    
         PHP advantages

        PHP market share
What is PHP ?

    
        PHP is a general purpose scripting language.

        PHP originally designed for web development.
    
         PHP is a server side programming language.
             
                 PHP programs written using text editors.
         
             HTML can be written inside the PHP code.
                 
                     PHP can be embedded inside HTML.
PHP VS. ASP


    Scalability and Ease of Maintenance
            
                     Performance and Speed
                                          
                                              Cost
                
                     Support and Resources
                          
                              Editors and Tools
                     
                         Platform Independent
                                   
                                       Popularity
PHP Advantages

                                            
                                                It's Free.
           
               The beauty of PHP lies in its simplicity.

    PHP doesn't use a lot of the system's resources.
                
                    PHP offers many levels of security.
                                    
                                        PHP community.
           
               integrates well across many platforms.
PHP market share
PHP basics


    To make a great programs do the following

                                    
                                        consistency

                            
                                frequent comments

                       
                           the use of line numbers
Facebook Technology
Facebook Technology


    Facebook has been developed from the ground up
                        using open source software.
                      
                          Facebook has 30000 server
                                   
                                       Facebook uses
                                                
                                                        Linux
                                            
                                                Apache
                                            
                                                MySQL
                                                    
                                                        PHP
Facebook Technology

                           
                               Lets Go Deeply In Facebook
 
             Facebook has three different layers for data
     
             first layer is the database tier, which is the primary
                               data store and where MySQL sits.
                      
                          Second layer is Facebook uses Memcached
                                                 caching technology.
         
              Third layer is a Web server on top of that to serve
                                                         the data
                  
                          Facebook uses Apache hadoop project
              
                      Facebook uses Apache Hive technology
PHP HipHop


    What is HipHop ?


    
        Why HipHop ?
PHP HipHop

                            
                                What is PHP HipHop ?
         
             HipHop for PHP isn't technically a compiler.
                
                    HipHop is a source code transformer.

    HipHop transforms PHP code into highly optimized
                                                C++

    HipHop uses g++ to compile the resulted C++ code
PHP HipHop

                        
                            Why PHP HipHop?

    Improve the site or application performance
             
                  Free and open-source software
              
                  Save a lot of development time
                              
                                  Save resources
                                  
                                      Save money
Finally Be a member of
Web development meetingup

More Related Content

Web development meetingup

  • 2. DAY AGENDA  Open source software “OSS”  Introduction to web development  Web programming  Introduction to PHP  Facebook uses open source technologies  PHP HipHop
  • 4. Open source software “OSS”  What is OSS ?  Advantages of OSS  Widely used open source products
  • 5. What is OSS ?  Computer software that is available in source code form.  The term open source describes practices in production and development that promote access to the end product's source materials.  Open source software is very often developed in a public
  • 9. Widely used Open source products  Linux operating system  Redhat  Ubuntu  SUSE  Apache web server  Firefox  MySQL DBMS  PHP and more …..
  • 11. Introduction to web development  What is web development ?  Web application Vs website  Web development advantages and disadvantages  What are technologies needed to be a developer  How To Start ?
  • 12. What is web development? ●Web development is a broad term for the work involved in developing a web site or web application for the Internet or for private network. ●Web development can range from developing the simplest static single page of plain text to the most complex web- based Internet applications
  • 13. Web application VS Website  Web application  Web site  An application  Collection of web uses web pages. technologies  Contains images ,  All processing are videos, and made in the other digital server side assets.  Accessed form  Must be hosted on web browser the Internet.  Can't contain  It may be static or static web dynamic. pages  Must use
  • 14. Web development advantages  No special configuration or changes are need on user's PCs.  Lower costs.  Centralized data is secure and easy to backup.  Updates can be made quickly and easily.  Information is accessible to a wide audience anywhere in the world.  Available 24 hours a day, 7 days a week.  Always up-to-date.
  • 15. Web development disadvantages  Slower, as it runs over the Internet  Can take longer to develop  As they are more complex.  As the site or application have to work on different browsers, and different versions of browsers.  Security risks
  • 16. Needed technologies to be a developer
  • 17. How TO Start / Where To Go  Start with studying technologies in this sequence 1. Apache web server basics 2. HTML / CSS 3. JavaScript 4. MySQL DBMS 5. PHP web programing language  Go To one of the following 1. Self study. (It takes long time) 2. Pi-Technologies (It takes 20 days + basic work experience)
  • 19. Web programming What is web programming ?  Types of web programming  Web servers  Types of web servers  Web servers market share 
  • 20. What is web programming? Web server Send request Application / Website Web Programming • Code • Database • files • precompiled programs
  • 21. Types of web programming  Server side programming  PHP  Perl  CGI  Python  ASP.NET  Client side programming  JavaScript  Action script
  • 22. Web servers  A web server is a computer program that delivers content to the end user .  The term web server can also refer to the computer or virtual machine running the program.  commonly a web browser makes a request for a specific resource using HTTP.  While the primary function is to serve content, a full implementation of HTTP also includes a way of receiving content from clients.
  • 23. Web servers  Active web servers market share
  • 25. Introduction to PHP  What is PHP?  PHP Vs. ASP  PHP advantages  PHP market share
  • 26. What is PHP ?  PHP is a general purpose scripting language.  PHP originally designed for web development.  PHP is a server side programming language.  PHP programs written using text editors.  HTML can be written inside the PHP code.  PHP can be embedded inside HTML.
  • 27. PHP VS. ASP  Scalability and Ease of Maintenance   Performance and Speed  Cost  Support and Resources  Editors and Tools  Platform Independent  Popularity
  • 28. PHP Advantages  It's Free.  The beauty of PHP lies in its simplicity.  PHP doesn't use a lot of the system's resources.  PHP offers many levels of security.  PHP community.  integrates well across many platforms.
  • 30. PHP basics  To make a great programs do the following  consistency  frequent comments  the use of line numbers
  • 32. Facebook Technology  Facebook has been developed from the ground up using open source software.  Facebook has 30000 server  Facebook uses  Linux  Apache  MySQL  PHP
  • 33. Facebook Technology  Lets Go Deeply In Facebook  Facebook has three different layers for data  first layer is the database tier, which is the primary data store and where MySQL sits.  Second layer is Facebook uses Memcached caching technology.  Third layer is a Web server on top of that to serve the data  Facebook uses Apache hadoop project  Facebook uses Apache Hive technology
  • 34. PHP HipHop  What is HipHop ?  Why HipHop ?
  • 35. PHP HipHop  What is PHP HipHop ?  HipHop for PHP isn't technically a compiler.  HipHop is a source code transformer.  HipHop transforms PHP code into highly optimized C++  HipHop uses g++ to compile the resulted C++ code
  • 36. PHP HipHop  Why PHP HipHop?  Improve the site or application performance  Free and open-source software  Save a lot of development time  Save resources  Save money
  • 37. Finally Be a member of