where does Python stand?

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

    where does Python stand?

    Hi all!

    I learned Python as part of my university coursework... I enjoyed it.
    Now I'm just wondering how Python compares with asp, jsp, php and what
    not?? I don't have slightest knowledge about these languages... Are
    they more advanced than Python? Can Python be integrated with
    Dreamweaver?

    Hope some of you can get me out of confusion...

    Ben
  • Paul Prescod

    #2
    Re: where does Python stand?

    Ben wrote:
    [color=blue]
    > Hi all!
    >
    > I learned Python as part of my university coursework... I enjoyed it.
    > Now I'm just wondering how Python compares with asp, jsp, php and what
    > not?? I don't have slightest knowledge about these languages... Are
    > they more advanced than Python? Can Python be integrated with
    > Dreamweaver?[/color]

    ASP, JSP and PHP are Web templating languages. You would use them to
    write the front-end of a website but not to write a video game, a
    program that calculates taxes, payroll software, etc. Python is a
    general purpose programming language.

    Can python be integrated with Dreamweaver? It depends. What are you
    trying to accomplish? You would not (usually) code Python in DreamWeaver
    the way you might code ASP or JSP in DreamWeaver because Python code
    does not (usually) reside in Web pages or Web templates and Dreamweaver
    is a Web page design tool.

    Paul Prescod



    Comment

    • Bruno Desthuilliers

      #3
      Re: where does Python stand?

      Ben wrote:[color=blue]
      > Hi all!
      >
      > I learned Python as part of my university coursework... I enjoyed it.
      > Now I'm just wondering how Python compares with asp, jsp, php and what
      > not?? I don't have slightest knowledge about these languages...[/color]

      ASP (Active Server Page) is a technology, not a language - you can code
      ASP with at least VB, Jscript and C#.

      JSP (Java Server Page) is mostly a way of embedding Java code in a web
      page. Here again, more a techno than a language by itself.

      VB, C# and Java *are* general purpose programming languages.

      PHP, even if it's true that it began as a web scripting language, is now
      usable as a stand-alone, 'general purpose' programming language (there's
      even a Gtk+ binding...).
      [color=blue]
      > Are
      > they more advanced than Python?[/color]

      Depends... What does 'more advanced' mean ?
      [color=blue]
      > Can Python be integrated with
      > Dreamweaver?[/color]

      I don't think so, at least not like PHP or ASP ir like. If you plan to
      use Python for web development, there are many other solutions - Zope,
      Spyce, etc, Google is your friend !-)
      [color=blue]
      > Hope some of you can get me out of confusion...[/color]

      Hope we did !-)

      Bruno

      Comment

      • Lothar Scholz

        #4
        Re: where does Python stand?

        crescent_au@yah oo.com (Ben) wrote in message news:<d99e1341. 0402050505.226a 01c8@posting.go ogle.com>...[color=blue]
        > Hi all!
        >
        > I learned Python as part of my university coursework... I enjoyed it.
        > Now I'm just wondering how Python compares with asp, jsp, php and what
        > not?? I don't have slightest knowledge about these languages... Are
        > they more advanced than Python? Can Python be integrated with
        > Dreamweaver?
        >[/color]

        They are different and so a comparision does not make sense.

        You want a comparison about web frameworks/templates like Cheeta,
        Python Server Pages, Draco Server Pages, Sypce or whatever is out
        there right ?

        Comment

        • Ben

          #5
          Re: where does Python stand?

          Thanks for replies guys!!

          I still need to ask something... Let me be more specific. I wanna
          create a web page where I want to put photos taken by me... There are
          lots of them. I also want to include a search capability in my web
          page for users to search my photos by name (topic)... For this, I
          would like to use a database which includes the location of my photos
          on the server along with names and sizes... I would also like to make
          it easier for me to add more photos in the future with ease. Also if
          possible, try to generate html pages on the fly as I upload photos on
          the server. In other words, I wanna make my web design efficient with
          least amount of manual work. Well, this is pretty much the scenario.

          What do you think would be a best design technique that I should
          follow? I know Dreamweaver, Python, Java, JavaScript, CGI using
          python, C, C++... What programming languages do I need to learn in
          order to accomplish my task? If I need to choose between ASP and JSP,
          I'd rather go for JSP cause it'll be easier for me to migrate as I
          don't know much about VB, Jscript and C#. What are some of your
          recommendations ?

          Someone mentioned Zope. Is it similar to ASP, PHP or JSP? Is it a
          Pythonic version of ASP, JSP?

          I'm kind of lost... There are too many of these acronyms in the
          market.. Need some directions..

          Thanx a lot!
          Ben

          llothar@web.de (Lothar Scholz) wrote in message news:<6ee58e07. 0402051148.25ad d90e@posting.go ogle.com>...[color=blue]
          > crescent_au@yah oo.com (Ben) wrote in message news:<d99e1341. 0402050505.226a 01c8@posting.go ogle.com>...[color=green]
          > > Hi all!
          > >
          > > I learned Python as part of my university coursework... I enjoyed it.
          > > Now I'm just wondering how Python compares with asp, jsp, php and what
          > > not?? I don't have slightest knowledge about these languages... Are
          > > they more advanced than Python? Can Python be integrated with
          > > Dreamweaver?
          > >[/color]
          >
          > They are different and so a comparision does not make sense.
          >
          > You want a comparison about web frameworks/templates like Cheeta,
          > Python Server Pages, Draco Server Pages, Sypce or whatever is out
          > there right ?[/color]

          Comment

          • Josiah Carlson

            #6
            Re: where does Python stand?

            > I'm kind of lost... There are too many of these acronyms in the[color=blue]
            > market.. Need some directions..[/color]

            Option 1:
            Purchase a mac.
            Get a .mac account.
            Use iPhoto.

            Option 2:
            Purchase some books at your local bookstore that explain what each of
            these technologies do.


            If the acronyms are over your head, then learning the a language to
            write the scripts is likely not going to be possible. Prove me wrong.
            I'd be glad if you were to do option 2 and produce something worthwhile.

            - Josiah


            Comment

            • Dang Griffith

              #7
              Re: where does Python stand?

              On 5 Feb 2004 19:30:42 -0800, crescent_au@yah oo.com (Ben) wrote:
              [color=blue]
              >I still need to ask something... Let me be more specific. I wanna
              >create a web page where I want to put photos taken by me... There are
              >lots of them. I also want to include a search capability in my web
              >page for users to search my photos by name (topic)... For this, I
              >would like to use a database which includes the location of my photos
              >on the server along with names and sizes... I would also like to make
              >it easier for me to add more photos in the future with ease. Also if
              >possible, try to generate html pages on the fly as I upload photos on
              >the server. In other words, I wanna make my web design efficient with
              >least amount of manual work. Well, this is pretty much the scenario.
              >
              >What do you think would be a best design technique that I should
              >follow? I know Dreamweaver, Python, Java, JavaScript, CGI using
              >python, C, C++... What programming languages do I need to learn in
              >order to accomplish my task? If I need to choose between ASP and JSP,
              >I'd rather go for JSP cause it'll be easier for me to migrate as I
              >don't know much about VB, Jscript and C#. What are some of your
              >recommendation s?[/color]

              I don't want to sound like a heretic (cuz I'm not religious about
              languages), but from the sounds of your requirements and current
              knowledge base, PHP will satisfy your needs in the most direct
              fashion. It's easy to learn and can be worked in with DreamWeaver.

              You can use mySql (sp?) with PHP to map keywords/search criteria to
              the filenames of your photos. Your PHP code will take the user's
              input, form an SQL statement to determine which photos to display, and
              then put them into a web page. Poof!

              --dang
              p.s.
              I only spearminted with PHP for a little while, and am no expert.
              But as I said, based on your requirements, I think it fits the bill.

              Comment

              • A. Lloyd Flanagan

                #8
                Re: where does Python stand?

                crescent_au@yah oo.com (Ben) wrote in message news:<d99e1341. 0402050505.226a 01c8@posting.go ogle.com>...[color=blue]
                > Hi all!
                >[/color]

                Python doesn't stand anywhere. With no legs, he has to crawl.

                Comment

                • Ben

                  #9
                  Re: where does Python stand?

                  Josiah Carlson <jcarlson@nospa m.uci.edu> wrote in message news:<bvv37j$8o r$1@news.servic e.uci.edu>...[color=blue][color=green]
                  > > I'm kind of lost... There are too many of these acronyms in the
                  > > market.. Need some directions..[/color]
                  >
                  > Option 1:
                  > Purchase a mac.
                  > Get a .mac account.
                  > Use iPhoto.
                  >[/color]

                  No way!! I don't even consider this as an option. I was asking about
                  "technologi es" and "writing scripts", NOT about purchasing a machine!
                  [color=blue]
                  > Option 2:
                  > Purchase some books at your local bookstore that explain what each of
                  > these technologies do.
                  >[/color]

                  This is very possible.. but I can't afford to buy "some" books, that's
                  why I'm using this post and google ;)

                  Ben

                  Comment

                  • Josiah Carlson

                    #10
                    Re: where does Python stand?

                    >>Option 1:[color=blue][color=green]
                    >>Purchase a mac.
                    >>Get a .mac account.
                    >>Use iPhoto.[/color][/color]
                    [color=blue]
                    > No way!! I don't even consider this as an option. I was asking about
                    > "technologi es" and "writing scripts", NOT about purchasing a machine![/color]
                    [color=blue][color=green]
                    >>Option 2:
                    >>Purchase some books at your local bookstore that explain what each of
                    >>these technologies do.[/color][/color]
                    [color=blue]
                    > This is very possible.. but I can't afford to buy "some" books, that's
                    > why I'm using this post and google ;)[/color]


                    Ben,

                    You missed the point of my post. If you are having problems with
                    acronyms, then you likely lack the experience and/or the self discipline
                    to build your own photo album software to make it happen.

                    I would suggest you download a pre-built piece of software that will do
                    it for you. It seems like Gallery (http://gallery.menalto.com/) would
                    be just fine.

                    Good luck.
                    - Josiah

                    Comment

                    • Ben

                      #11
                      Re: where does Python stand?

                      Josiah Carlson <jcarlson@nospa m.uci.edu> wrote in message news:<c01p9a$ol v$1@news.servic e.uci.edu>...[color=blue][color=green][color=darkred]
                      > >>Option 1:
                      > >>Purchase a mac.
                      > >>Get a .mac account.
                      > >>Use iPhoto.[/color][/color]
                      >[color=green]
                      > > No way!! I don't even consider this as an option. I was asking about
                      > > "technologi es" and "writing scripts", NOT about purchasing a machine![/color]
                      >[color=green][color=darkred]
                      > >>Option 2:
                      > >>Purchase some books at your local bookstore that explain what each of
                      > >>these technologies do.[/color][/color]
                      >[color=green]
                      > > This is very possible.. but I can't afford to buy "some" books, that's
                      > > why I'm using this post and google ;)[/color]
                      >
                      >
                      > Ben,
                      >
                      > You missed the point of my post. If you are having problems with
                      > acronyms, then you likely lack the experience and/or the self discipline
                      > to build your own photo album software to make it happen.
                      >
                      > I would suggest you download a pre-built piece of software that will do
                      > it for you. It seems like Gallery (http://gallery.menalto.com/) would
                      > be just fine.
                      >
                      > Good luck.
                      > - Josiah[/color]

                      Thanx for suggestions but I'm not having problems with acronyms and I
                      believe I have skills to learn something new if needed... That's why
                      I'm trying.. I just wanted to find out which technology suits my needs
                      the best... I don't want to learn everything out there in detail just
                      to create a website. That's why I'm using this post to find out what
                      people say about these technologies depending on their own
                      experiences. Some people are ASP experts, some are PHP and the others
                      are JSP... The idea is to hear from people with different skills, so
                      that it will help me to make my own choice!!! I will make my own
                      gallery even if it takes me 2 years to do it! That gives me
                      satisfaction!!

                      Ben

                      Comment

                      • Y2KYZFR1

                        #12
                        Re: where does Python stand?

                        Paul Prescod <paul@prescod.n et> wrote in message news:<mailman.1 246.1076000375. 12720.python-list@python.org >...[color=blue]
                        > Ben wrote:
                        >[color=green]
                        > > Hi all!
                        > >
                        > > I learned Python as part of my university coursework... I enjoyed it.
                        > > Now I'm just wondering how Python compares with asp, jsp, php and what
                        > > not?? I don't have slightest knowledge about these languages... Are
                        > > they more advanced than Python? Can Python be integrated with
                        > > Dreamweaver?[/color]
                        >
                        > ASP, JSP and PHP are Web templating languages. You would use them to
                        >[/color]

                        Actually PHP can be used as a stand alone general scripting language,
                        just like Python can. Python is much more powerful though.

                        Comment

                        • Josiah Carlson

                          #13
                          Re: where does Python stand?

                          > I learned Python as part of my university coursework... I enjoyed it.[color=blue]
                          > Now I'm just wondering how Python compares with asp, jsp, php and what
                          > not?? I don't have slightest knowledge about these languages... Are
                          > they more advanced than Python? Can Python be integrated with
                          > Dreamweaver?[/color]
                          [color=blue]
                          > Someone mentioned Zope. Is it similar to ASP, PHP or JSP? Is it a
                          > Pythonic version of ASP, JSP?[/color]
                          [color=blue]
                          > I'm kind of lost... There are too many of these acronyms in the
                          > market.. Need some directions..[/color]
                          [color=blue]
                          > What do you think would be a best design technique that I should
                          > follow? I know Dreamweaver, Python, Java, JavaScript, CGI using
                          > python, C, C++... What programming languages do I need to learn in
                          > order to accomplish my task? If I need to choose between ASP and JSP,
                          > I'd rather go for JSP cause it'll be easier for me to migrate as I
                          > don't know much about VB, Jscript and C#.[/color]

                          If you know Dreamweaver, Python, Java, JavaScript, and CGI using Python,
                          C, and C++, and you /don't know/ how/where to get started on your
                          project...that is some serious indecision. Pick your favorite language,
                          and write your app.

                          Two years is a lot of time to dedicate to something that has been
                          implemented hundreds of times.

                          - Josiah

                          Comment

                          • Joe Mason

                            #14
                            OT: PHP as a general language (was Re: where does Python stand?)

                            In article <c718a6cf.04020 71225.ea09de6@p osting.google.c om>, Y2KYZFR1 wrote:[color=blue]
                            > Actually PHP can be used as a stand alone general scripting language,
                            > just like Python can. Python is much more powerful though.[/color]

                            I was just looking for a way to run PHP as a general script, actually
                            (it'd be much easier to debug extensions than having to load a web page
                            through Apache every time). But I can't find a standalone interpreter
                            on my system (Debian stable) - all the php packages just hook into
                            Apache. Do you know where I can find a standalone PHP?

                            Joe

                            Comment

                            • JanC

                              #15
                              Re: OT: PHP as a general language (was Re: where does Python stand?)

                              Joe Mason <joe@notcharles .ca> schreef:
                              [color=blue]
                              > I was just looking for a way to run PHP as a general script, actually
                              > (it'd be much easier to debug extensions than having to load a web page
                              > through Apache every time). But I can't find a standalone interpreter
                              > on my system (Debian stable) - all the php packages just hook into
                              > Apache. Do you know where I can find a standalone PHP?[/color]

                              This might be useful:
                              <http://www.php.net/manual/en/features.comman dline.php>

                              --
                              JanC

                              "Be strict when sending and tolerant when receiving."
                              RFC 1958 - Architectural Principles of the Internet - section 3.9

                              Comment

                              Working...