Best web framework for python

Swoją przygodę z programowaniem webowym zaczynałem oczywiście z PHP. Jak każdy wie, jest to najbardziej bałaganiarski język z możliwych:) Pozwala na prawie wszystko. Oczywiście da się w nim coś konkretnego i eleganckiego wyklepać lecz jest do dość trudne i wymaga mocnego pilnowania siebie i swoich współpracowników. A zmiany w aplikacjach napisanych przez kreatywnych “programistów” są niemal samobójstwem.

Los skierował mnie w stronę Pythona. Pierwszym poznanym frameworkiem był CherryPy. Był to koniec CP1 i sam początek CP2. CP jest bardzo ciekawe i co najważniejsze bardzo proste. Bardzo łatwo ogranąć kod i wiadomo co i gdzie się dzieje. Niestety koderom CP trochę brakuje rozwagi i potrafią zmieniać różne rzeczy bez powiadomienia i bez większej zmiany numerka wersji. Tak było np. z obsługą forków. Cały czas była wzmianka o tym w dokumentacji lecz wcieło kod to obsługujący. Pytaliśmy się lidera projektu i się dowiedzieliśmy, że nie będą tego obsługiwać. Duży projekt musieliśmy zamrozić w danej wersji CP. Naszczęscie najważniejsze zmiany mogliśmy sami nanosić. Przy okazji mogliśmy pooglądać miejsca gdzie ktoś zapomniał dopisać kodu.

Następnym frameworkiem był Webware. Stary, poczciwy kawałek kodu napisany dawno temu i już chyba zapomniany (aczkolwiek webware jest ciągle rozwijany). Niestety dokumentacja nie jest najlepsza i ciężko się w niej szuka informacji. Doszedłem jednak do wniosku, że nie jest zbyt nowoczesny i elastyczny. Poszedłem dalej:)

Zastanawiałem się nad Spyce, lecz jest trochę przekombinowany. Próbuje naśladować php’a i udaje się to przynajmniej przy błedach. Potem był Myghty. Podobno dobrze dopracowany i bardzo szybki lecz mało (jak dla mnie) intuicyjny i wzorowany na frameworku Perlowym. TurboGears jet oparty na CP więc odpadł od razu.

Oczywiście obserwowałem Zopa lecz nie mogłem doj do wniosku czy wchodzić w Zopa2 czy w Zopa3. Trójka ma mało gotowych produktów, nie jest tak popularna i ma skromną dokumentację. Na Zopa Dwa szkoda mi było czasu.

Dochodzimy do “współczesności”. Obecnie chyba najwiekszą popularnością cieszy się Django. Podchodziłem do tego frameworku lecz jak musiałem zacząć projekt, w Django zaczęła się mocna przebudowa “magic removal” więc się nie odważyłem kontynuować w tamtym momencie. Ponadto wydaje mi się, że nie jest zbyt elastyczny jak na dziwne wymagania jakie spotykam.

Najciekawszym projektem jest Pylons. Jest to przykład jak z wielu zlepków istniejącego kodu może powstać bardzo ciekawy projekt. Tak naprawdę źródła sa stosunkowo małe. Pylons jest raczej klejem który integruje różne biblioteki: Routes, WebHelpers, Myghty, Baker, Paste i wycinki CP i TG. Sercem webowym jest WSGI. Deweloperzy Pylonsa są ludźmi świadomymi i często słuchają użytkowników. Wiedzą co to jest stabilność API. Oczywiście projekt nie jest pozbawiony wad i jest we wczesnym staduim rozwoju. Poczekamy, zobaczymy do czego dojdzie. Narazie się skupiam na progrmowaniu w Pylonsie. Więc dołączyłem do klanu Pylonautów:)

This entry was posted on Thu, 04 Jan 2007 19:49:00 GMT and Posted in , . You can follow any any response to this entry through the Atom feed. You can leave a comments, .


Comments

Leave a response

  1. coachbags over 4 years later:

    You could easily serve tricked enthusiasm knowledge you are receiving a discount on a Coach Bag when realistically you are prosperous more than corporeal is profit adapted just to how void the coach handbags is.When buying discount Coach Handbags express unmistakable to reproduce well-informed of the lodge you are buying sincere form. Come and grab liberate Coach Outlet Coupons available at Coach Purses Outlet.

  2. True Religion Jeans over 4 years later:

    True Religion jeans are the famous brand all over the world. Do you want to own a pair of True Religion jeans? Well, here it is the chance. You can see a variety of True Religion Outlet in our website now.Still victorious urgency to these three pockets, the True Religion stitching composition True Religion Jeans looks dig a underground horse shoe smuggle flared ends ensconce large, prominent, pin money rivets.I recently bought my first pair of Seven Jeans at Saks Fifth save off, they are the ones with the gold / yellow as on the rear pocket. http://www.jeans-classic.com

  3. moncler over 4 years later:

    Moncler Outlet welcomes any woman around the world to shop for your desired shoes and leave with satisfaction. Moncler has been a name that you can feel for sure of high quality, chic design and comfort. On one hand, footwear like Moncler Boots team well with either your sports apparel or skinny jeans. They also wrap your feet from freezing weather outside. On the other hand, Moncler coats kind of clothes do prevent coldness come close to your body through providing 100% genuine goose fillings and 100% polyamide chemical fabric that are used in waterproof outfit producing. Moncler realizes the possibility of warmth among all moncler clothes, in other words, Moncler jackets and Moncler vest are warm enough to defend against the cold. These two different styles of moncler clothes cover the quite diverse parts of your body for some jackets are with removable sleeves. Come to Moncler Sale to have your choice of moncler.

  4. skechers shape ups over 4 years later:

    Skechers Shape ups help shape up your throughout figure. There are various styles of shape ups at our site. Feed your desires and get yourself satisfied from us. MBT Shoes, Skechers shoes and easytone shoes are allprovided out there. Sketchers Shape ups stick to offering the most qualified and satisfying shoes in the world of sports shoes, especially those shoes that help you tone your body muslces, build charming posture. Shape Ups Sleek Fit meet what you need, change what you want to be, shape you the most desirable status you feel like. Shape ups Stability every stabilizing muscle lay in your body and wake them up to the extremely pretimum balance as they can.

  5. flyff penya over 4 years later:

    A little boy Final Fantasy XI GIL wearied with a replica sunglasses long journey,world of warcraft gold lay down overcome RuneScape Gold with fatigue World of Warcraft power leveling on the very brink Designer Glasses of a deep well.Archlord gold Being within dog clothing an inch of falling into the water,aion kina Dame Fortune,flyff gold it is said,maple story mesos appeared to him,shaiya gold and waking him from his slumber,aoc power leveling thus addressed him:world of warcraft gold Little boy,flyff power leveling pray wake up:aion kina for had you shaiya gold fallen into the well,Power Leveling the blame will rs gold be thrown on me,flyff power leveling and I shall get an ill name world of warcraft power leveling among mortals; wedding gownsfor I find that prom dresses men are sure ffxi gil to blame their maple story mesos calamities to me,maple story mesos however much by their own wow power level folly they have really brought prom dresses them on themselves

  6. flyff penya over 4 years later:

    A little boy Final Fantasy XI GIL wearied with a replica sunglasses long journey,world of warcraft gold lay down overcome RuneScape Gold with fatigue World of Warcraft power leveling on the very brink Designer Glasses of a deep well.Archlord gold Being within dog clothing an inch of falling into the water,aion kina Dame Fortune,flyff gold it is said,maple story mesos appeared to him,shaiya gold and waking him from his slumber,aoc power leveling thus addressed him:world of warcraft gold Little boy,flyff power leveling pray wake up:aion kina for had you shaiya gold fallen into the well,Power Leveling the blame will rs gold be thrown on me,flyff power leveling and I shall get an ill name world of warcraft power leveling among mortals; wedding gownsfor I find that prom dresses men are sure ffxi gil to blame their maple story mesos calamities to me,maple story mesos however much by their own wow power level folly they have really brought prom dresses them on themselves

  7. flyff penya over 4 years later:

    A little boy Final Fantasy XI GIL wearied with a replica sunglasses long journey,world of warcraft gold lay down overcome RuneScape Gold with fatigue World of Warcraft power leveling on the very brink Designer Glasses of a deep well.Archlord gold Being within dog clothing an inch of falling into the water,aion kina Dame Fortune,flyff gold it is said,maple story mesos appeared to him,shaiya gold and waking him from his slumber,aoc power leveling thus addressed him:world of warcraft gold Little boy,flyff power leveling pray wake up:aion kina for had you shaiya gold fallen into the well,Power Leveling the blame will rs gold be thrown on me,flyff power leveling and I shall get an ill name world of warcraft power leveling among mortals; wedding gownsfor I find that prom dresses men are sure ffxi gil to blame their maple story mesos calamities to me,maple story mesos however much by their own wow power level folly they have really brought prom dresses them on themselves

Leave a comment