[EMAIL PROTECTED] a écrit : > Well, according to the documentation, the webware community is supposed to be > pretty helpful. :) I wonder if you all could help me without me having to > spend long amounts of time trying to find the info myself? > > I would like to evaluate using Python for making websites. Webware is one of > the sites that was mentioned. First off, a few questions: > Note: I don't know a lot about Python, so you may have to clarify some things > if you sense I misunderstand something. > Python is a very good programming language. Very good choice! I personaly already known python before choosing the website solution. Java looks like another very good solution. > *) As I understand it, Python is not primarily a web language, but there are > ways to use Python for websites. Some documentation seems to suggest that > Python's web development ability is actually better than others (like PHP). > Python is really very powerful and simple. It is simpler to learn than php I think. It is a real object programing language since the beginning unlike php. I had to make that choice when I began making my website, and It was really a good choice. Very productive language thanks to really powerful object libraries like Webware, SqlObject or FormKit and others. > *) Is Webware the only way to website work in Python? Is it the best way? > No many other solutions exist. I had a look at some other python solutions, and they did not look simpler nor more powerful. You should have a look before making your choice. > *) Can I program website entirely in script? I won't have to compile > anything at any point will I? > That's what I did. I did not find templating solutions useful for me. compilation is automatic. > *) Licensing: Am I correct in that both the Python and Webware licences are > essentially MIT license? The Python one looks much more wordy, but seems > like it might be, but I can't really tell. I am very picky about licensing; > don't like any copyright/copyleft entanglements -- especially the GPL, LGPL > (as well as shareware, donationware, etc...). If it's free source (BSD, MIT, > public domain), then that should be pretty safe for me. > *) Is Python really a good choice for web dev -- over say other scripted > languages like Ruby, PHP, Perl, etc...? > Definitely. However, as it is less widespread than php, there is less python content on the web, but it is sufficient. For example, when I wanted to use the Paypal SOAP API, there is no existing paypal python SDK. I had to search hard to find a working solution. I finally found it and am very happy with it (ZSI and SOAPpy). > *) Are there high level frameworks for making database stuff much much easier > (like CakePHP, Ruby on Rails)? > SQLObject is really simple! simpler to use than middleKit IMO. many backends supported including postgres. > *) Can you still easily go low level without jumping through lots of hoops > (like http headers, encoding, etc...)? > > Yes you can, it is a matter of overriding the right object methods in the object hierarchy. I hope that you understand object programing... > Let's assume you want to use Python and webware for website development... > then I need a whole lot of information to get started. Unfortunately, what I > need to know is scattered in so many different places. > > Part 1: Setting up python for web development on a local machine. > In order to do anything, Python will need to be setup on a local Windows > machine. Can someone provide the info needed to do this? > The system will be using Windows XP Home, Apache for the server, and > PostgreSQL for the database. > 1) What do I need to do to setup Python? What do I download? Where are the > step by step instructions for setting it up? > 2) Does webware need to be setup separately? If, so where are the > instructions (literally step by step)? > 3) Where are the instructions for getting webware and/or python to work with > Apache? for getting it to work with the PostgreSQL database? > > again... this is all for a Windows system > > I would recommend using cygwin for being in a unix like environment, but it is not mandatory. SqlObject is postgreSQL compatible. Apache is not needed for development... > Part 2: Getting started with web development using Python. > I know that there is Python documenation for Python itself; however, I don't > know what is going on regarding web development in Python. So, let's assume > the system is setup and ready to go. > 1) Where is the really newbie tutorial for making a very simple hello world > Python web app? I just want to know how you get started so I can understand > how everything is related to each other. Once I can grasp all the concepts > of how things are working, I can jump into the real stuff and just consult > the documentation or tutorials or books or whatnot. > 2) Where is the documenation for web development for Python (with all the > functions and objects, etc...)? > > All these answered in previous post. > Part 3: More questions. > 1) Is there some other stuff that I should read first, like about other types > of web development frameworks that you can pick from for Python? > Webware (and python) is Object programming oriented. You should learn about object programming. Webware does only one part of the job, you might need to look at aother libraries to help in specific tasks: FormKit or formEncode for form management SqlObject and others for database To write html, I wrote my own helper methods, but there exist some solutions... > 2) Is there any kind of rapid development framework for web development (like > Ruby on Rails, PHP Cake, etc...) or am I looking at it? > > python, webware and the other components that you might choose are a good framework.
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Webware-discuss mailing list Webware-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/webware-discuss