for web application development

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • james_027

    #1

    for web application development

    hi everyone,

    I am very new to python, I am almost done learning the python language
    enough that I can start learning developing web app in python. I have
    gone thru many research and I still say that I will want to develop
    web app in python. Although some says php should be better since the
    language is made for the web compare to python. In the point of view
    of rails, they say that their framework is really easy and best for
    web app.

    My problem is looking for a web framework for python, that could
    provide a natural way of developing web app. I am avoiding to learn
    template language as much as possible.

    Any advice will be greatly appreciated.

    THanks
    james

  • Giuseppe Di Martino

    #2
    Re: for web application development

    Il Thu, 14 Jun 2007 09:16:24 +0000, james_027 ha scritto:
    >
    My problem is looking for a web framework for python, that could
    provide a natural way of developing web app. I am avoiding to learn
    template language as much as possible.
    Currently, i'm playing with Pylons (http://pylonshq.com) and until now i'm
    happy !

    Giuseppe


    Comment

    • Benedict Verheyen

      #3
      Re: for web application development

      james_027 schreef:
      hi everyone,
      >
      I am very new to python, I am almost done learning the python language
      enough that I can start learning developing web app in python. I have
      gone thru many research and I still say that I will want to develop
      web app in python. Although some says php should be better since the
      language is made for the web compare to python. In the point of view
      of rails, they say that their framework is really easy and best for
      web app.
      >
      My problem is looking for a web framework for python, that could
      provide a natural way of developing web app. I am avoiding to learn
      template language as much as possible.
      >
      Any advice will be greatly appreciated.
      >
      THanks
      james

      I use Django and it's easy to use.
      The web framework for perfectionists with deadlines.


      Regards,
      Benedict

      Comment

      • Thomas Wittek

        #4
        Re: for web application development

        james_027:
        My problem is looking for a web framework for python, that could
        provide a natural way of developing web app.
        The three bigger Python web frameworks seem to be:

        - Django: http://www.djangoproject.com/
        - TurboGears: http://www.turbogears.org/
        - Pylons: http://pylonshq.com/

        I only tried them briefly.

        Django has its own componentes for almost everything (templating, ORM,
        routing) and feels thus very integrated and solid.

        TurboGears tries to use independent components like Kid, SQLObject and
        CherryPy, which you can easily change to you own favorites. So you have
        more flexibility, but also a bit more complexity.

        Pylons is similar to TurboGears as it also uses independent components,
        that are by some people consideres more "modern". By default it uses
        SQLAlchemy for ORM and Routes for routing/dispatching.
        It also incorporates the Python WSGI standard for web apps.
        For me it felt least integrated of those frameworks but it may have the
        biggest future potentials.

        You may take a look at those comparisons:



        I am avoiding to learn
        template language as much as possible.
        You will need a templating language to put out your HTML.
        Of course that will not be a full programming language like PHP.

        --
        Thomas Wittek

        Jabber: streawkceur@jab ber.i-pobox.net

        Comment

        • Laurent Pointal

          #5
          Re: for web application development

          james_027 a écrit :
          hi everyone,
          >
          I am very new to python, I am almost done learning the python language
          enough that I can start learning developing web app in python. I have
          gone thru many research and I still say that I will want to develop
          web app in python. Although some says php should be better since the
          language is made for the web compare to python. In the point of view
          of rails, they say that their framework is really easy and best for
          web app.
          >
          My problem is looking for a web framework for python, that could
          provide a natural way of developing web app. I am avoiding to learn
          template language as much as possible.
          Near the big ones (Django, TurboGears, Pylons), you may take a look at
          Karrigell:


          (se examples)
          >
          Any advice will be greatly appreciated.
          >
          THanks
          james
          >

          Comment

          • Evan Klitzke

            #6
            Re: for web application development

            On 6/14/07, james_027 <cai.haibin@gma il.comwrote:
            My problem is looking for a web framework for python, that could
            provide a natural way of developing web app. I am avoiding to learn
            template language as much as possible.
            You should definitely reconsider avoiding templates -- it's hard to
            imagine building a reasonably large webapp that didn't use them at
            all. Cheetah templates are a really, really good Python framework for
            writing templates, and the templates themselves that can use
            Python-like constructs, which make them pretty powerful.

            The standard way to do web programming in Python would of course be
            using something that ties into mod_python, but WSGI[1] has been
            brought into the language as of Python 2.5. Between Cheetah templates
            and the WSGI modules, you can put together a simple lightweight web
            framework in a couple hundred lines (or less) of Python. For my own
            personal website I threw together a really simple Python "framework"
            that runs as a daemon and uses WSGI and Cheetah templates, and it all
            ended up being only 150 lines of code, so I think this is a fairly
            good solution if you don't envision a huge/complex site. If you want
            to build a a much bigger site you should obviously look into the other
            frameworks that are available, particularly Django.

            [1] http://www.python.org/dev/peps/pep-0333/

            --
            Evan Klitzke <evan@yelp.co m>

            Comment

            Working...