Web Development

Discussion in 'Web Design and Development' started by Nsutton, Apr 21, 2010.

  1. Nsutton macrumors member


    Dec 29, 2009
    6 Feet Under
    I've been programming in python for a bit, but am intrested in making web apps.

    What do web dev's do?
    What languages do you need to know?

    Why should I do web development as opposed to normal Python programming?

    Answer all 3 for a virtual cookie! :p

  2. Cromulent macrumors 603


    Oct 2, 2006
    The Land of Hope and Glory
    You can use any programming language for web site development. Some people like to call some languages "web languages", but really any programming language can be used for web development from assembler to C to Haskell. Obviously some languages are better suited to it than others but really it comes down to what you know best.

    I already linked you to the Python web development framework. You should use that to get yourself started.

    As for why? How is anyone supposed to be able to answer that? I presume because you have an idea which you think would make a good website.
  3. Nsutton thread starter macrumors member


    Dec 29, 2009
    6 Feet Under
  4. Nsutton thread starter macrumors member


    Dec 29, 2009
    6 Feet Under
    one more question...

    What is database software for?

    Like Mysql and such?
  5. angelwatt Moderator emeritus


    Aug 16, 2005
    To store and retrieve data. Data that is often from the user so cannot be in your code. Like this forum, each thread, all of the responses are all stored in a database.
  6. Bostonaholic macrumors 6502


    Aug 21, 2009
    Columbus, Ohio
    There are essentially 3 levels to any (well designed) web page / web application. I'll try to simplify things for you since you seem to be a beginner.

    1. Data Model
    2. Business Logic
    3. User Interface

    Data Model
    Databases are most commonly used here to store data saved by the system and the users. This is raw data and is sent to the Business Logic tier for processing. A database uses SQL (Structured Query Language) to retrieve and persist data.

    Business Logic
    This is where your server-side languages (Python, Perl, PHP, Java, etc.) will retrieve data from the database, process it and send it to the User Interface to show the user. Also, this tier will take input from the User Interface, process it and send it to the database for future retrieval.

    User Interface
    This is what the user looks at. This tier will translate user actions into Business Logic, sending input to the Business Logic. Ideally, your User Interface should ONLY consist of styling and the look-and-feel of your application. Other than simple form validation, the User Interface should never process data. The User interface (for web applications) will use HTML and CSS.

    I guess I could have linked this: http://en.wikipedia.org/wiki/Multitier_architecture but I wrote all this out before realizing it...

    So, in order for someone to create an entire web app, one should know all three tiers and they're respective languages.

    To me, a Web Designer works on the User Interface, a Web Developer works on the Business Logic, and a Data Architect (DBA) works on the Data Model.

Share This Page