News for hackers. Stuff that matters.
Re:Ask HN: What web framework(s) do you guys use? by amix on Friday January 23, 2009 @06:11PM (#447345)
In the recent years I have built my own, mostly basing it on other libraries and reusing as many things as possible.

In Python there's something called WSGI (Web Server Gateway Interface) which makes it trivial to implement your own framework. Around 2 years ago I wrote a blog post about WSGI and how to quickly build a Python framework http://amix.dk/blog/viewEntry/105 In the recent years WSGI has grown a lot. Check out wsgi.org for more info.

One can learn a lot of things by making and using own stuff, but it can also be very frustrating (because of bugs and lack of resources). But generally, I like to use own my stuff and my own conventions - I know at least who to blame when some stuff does not work or something is "ugly" :)

Re:Ask HN: What web framework(s) do you guys use? by igorgue on Friday January 23, 2009 @05:44PM (#447281)
Django, because it has magical powers, who can beat that?
Re:Ask HN: What web framework(s) do you guys use? by xenophanes on Friday January 23, 2009 @08:08PM (#447523)
A design goal of Rails 3 is to have less magic than Rails 2. I think that's a good change. Less magic please.
Re:Ask HN: What web framework(s) do you guys use? by truebosko on Friday January 23, 2009 @09:40PM (#447639)
Django, because it doesn't have so much of that special magic. That's why I like it, it works and you know why and how it works. I have no idea if that makes sense. shrug
Re:Ask HN: What web framework(s) do you guys use? by siong1987 on Friday January 23, 2009 @05:49PM (#447293)
Rails. Anyway, I am not saying that Rails is better. I am just wondering how magical Django is?
Re:Ask HN: What web framework(s) do you guys use? by cesqui on Friday January 23, 2009 @05:56PM (#447315)
Re:Ask HN: What web framework(s) do you guys use? by dmpayton on Friday January 23, 2009 @06:16PM (#447354)
Re:Ask HN: What web framework(s) do you guys use? by hbien on Friday January 23, 2009 @06:36PM (#447392)
Nothing girly about a horse. Nothing girly about a horn. Put them together, you have a unicorn.
Re:Ask HN: What web framework(s) do you guys use? by nostrademons on Saturday January 24, 2009 @01:23AM (#447827)
Nothing horsey about a girl. Nothing horny about a girl. Put them together, you're horsing around with a horny girl.
Re:Ask HN: What web framework(s) do you guys use? by zaius on Saturday January 24, 2009 @12:57AM (#447812)
Hah! Thanks for the new background!
Re:Ask HN: What web framework(s) do you guys use? by fauigerzigerk on Saturday January 24, 2009 @03:52AM (#447913)
I like Python and I like the way Django does controllers (not so much the template engine though). But I cannot use Django or any Python, Ruby or PHP setup in my current project because I'm keeping a lot of data in memory and that doesn't work with multi-process architectures.

So I'm using a very small dispatcher Servlet to pass JSON messages on to POJOS and do all the templating in the browser using jquery.

I'm bored to death (and rather annoyed) by Java so I'm always looking for alternatives that support my architecture.

Re:Ask HN: What web framework(s) do you guys use? by scotth on Saturday January 24, 2009 @09:03AM (#448094)
Grails?
Re:Ask HN: What web framework(s) do you guys use? by fauigerzigerk on Saturday January 24, 2009 @01:45PM (#448295)
Groovy has no library. It's basically an alternative syntax for Java. I like the way many of Python's libraries work (even though they are incredibly inconsistent)
Re:Ask HN: What web framework(s) do you guys use? by hbien on Friday January 23, 2009 @06:38PM (#447394)
Django works for me, too. Doesn't generate a whole bunch of folders and files. Feels lightweight but works for big projects too.
Re:Ask HN: What web framework(s) do you guys use? by bmelton on Friday January 23, 2009 @06:07PM (#447338)
I used to be pretty big into Zend. I didn't like ActiveRecord in Ruby, or it always felt too confining, and liked the additional control over my models that Zend gave me.

I've recently become a Django convert (not for the pony, that was new to me just now) because the framework just works. I haven't quite worked out the magic required to stand up a Django/MySQL/Apache/Mod_Python server on Windows yet, but it's working perfectly in my VM, so I haven't pursued it very far yet.

Re:Ask HN: What web framework(s) do you guys use? by tptacek on Friday January 23, 2009 @05:49PM (#447290)
Rails, because I lost the Python vs. Ruby argument, and now we're all converts.
Re:Ask HN: What web framework(s) do you guys use? by shutter on Friday January 23, 2009 @06:09PM (#447340)
Re:Ask HN: What web framework(s) do you guys use? by shadytrees on Friday January 23, 2009 @06:23PM (#447366)
Seconding. The ability to use SQLAlchemy and Jinja2 is fantastic; I personally think they're better than Django's ORM and templating system.
Re:Ask HN: What web framework(s) do you guys use? by cnu on Saturday January 24, 2009 @05:10AM (#447971)
Me too. Was previously using Turbogears.
Re:Ask HN: What web framework(s) do you guys use? by vegashacker on Friday January 23, 2009 @06:27PM (#447372)
I use LeftParen (http://leftparen.com), a PLT Scheme web framework (that I happen to maintain).
Re:Ask HN: What web framework(s) do you guys use? by antiismist on Friday January 23, 2009 @08:56PM (#447568)
LP here also. But you probably already knew that.
Re:Ask HN: What web framework(s) do you guys use? by abdulhaq on Friday January 23, 2009 @05:22PM (#447245)
If you do it yourself, does it count as a framework?

Server: python, postgresql, cherrypy, simplejson

Client: Javascript, HTML, CSS, Dojo, AJAX.

All the HTML is loaded up front and then AJAX for all the rest. Dojo insulates me from browser quirks. TDD Python is what I use at work (and love) and is good for complex algorithms (language morphology, in arabic).

I don't use an all-encompassing framework because I need total UTF-8 support and I feel more comfortable with the general tailorability of the lower-level libraries over the likes of Django, Rails.

Re:Ask HN: What web framework(s) do you guys use? by BinaryPie on Friday January 23, 2009 @05:55PM (#447313)
I'll never understand why people use DoJo.

Its greatest strength are all the "widgets" i guess you'd call them. However they are all not created equal. Some are well polished and deliver acceptable performance levels and other times they are just demos and hacks.

Re:Ask HN: What web framework(s) do you guys use? by tdavis on Friday January 23, 2009 @07:57PM (#447508)
The Dojo examples page always froze my browser. Even after switching computers and operating systems, it would hang for a while. I never did figure out if it was just me or nobody else seemed to notice.
Re:Ask HN: What web framework(s) do you guys use? by dreur on Friday January 23, 2009 @08:01PM (#447512)
I noticed too :)

Just wondering why Zend chose it as their main ajax framework.

Re:Ask HN: What web framework(s) do you guys use? by scotth on Saturday January 24, 2009 @09:10AM (#448102)
Spring WebFlow did too. It boggles the mind.
Re:Ask HN: What web framework(s) do you guys use? by abdulhaq on Saturday January 24, 2009 @04:41AM (#447953)
What do you recommend, in terms of widgets?
Re:Ask HN: What web framework(s) do you guys use? by andrewljohnson on Friday January 23, 2009 @05:50PM (#447298)
I use Django, but only for template inheritance and models - I pretty much leave the template language alone. 99% of the data from the server gets passed out as json.
Re:Ask HN: What web framework(s) do you guys use? by edb on Friday January 23, 2009 @05:51PM (#447300)
I'm a cakePHP user. It has gotten and keeps getting a lot better as of recent, and I really like the community. I looked into codeigniter after using cakephp for a while and it just seemed to have a lot less to offer. I tried symfony too and it seemed alot more complex, unnecessarily so.

I'm currently dabbling in Rails and Django, but am going to put them down until I finish my current project, since there's nothing in either that I can't do in cake, as far as my project's requirements go.

These are also a lot less portable than the PHP frameworks, which I find is a big deal if ever you want to lengthen your runway with client work. It's MUCH harder to get a quick 2-5k on a small webpage when the client hears "change hosting".

Re:Ask HN: What web framework(s) do you guys use? by KrisJordan on Saturday January 24, 2009 @12:03AM (#447773)
I've been working on a PHP framework that is similar in the 'full-stack' approach of Cake but has performance characteristics of CodeIgniter. It's called Recess and can be found over at http://www.RecessFramework.org
Re:Ask HN: What web framework(s) do you guys use? by xtimesninety on Friday January 23, 2009 @10:59PM (#447720)
CakePHP for me too. I also use Zend Framework. I like both. CakePHP is great for it's simplicity, but if their conventions don't work for you try out Zend Framework.
Re:Ask HN: What web framework(s) do you guys use? by noodle on Friday January 23, 2009 @05:09PM (#447213)
codeigniter and rails.

rails because, well, its rails. building something out is typically quick and easy.

codeigniter for those cases when i need to get my hands dirty on a lower level and do some non-standard things. its a minimalist framework that doesn't add much bloat, overhead or other things in your way.

i kind of mentally compare it to java and c.

Re:Ask HN: What web framework(s) do you guys use? by SpencerDavis on Friday January 23, 2009 @05:58PM (#447319)
Django. It was a toss up for me between Django and Rails but at the time, the updated Rails book was not out yet and the Django book was.

And Django has a magic pony. http://djangopony.com/

Re:Ask HN: What web framework(s) do you guys use? by lsb on Friday January 23, 2009 @08:19PM (#447534)
Ruby + Sinatra for now. It's great for tiny services that work together.

A full web service to implement '/add/1/2' is just

require 'sinatra'; get('/add/:a/:b') { params[:a].to_i + params[:b].to_i }

Re:Ask HN: What web framework(s) do you guys use? by boucher on Friday January 23, 2009 @09:04PM (#447577)
Sinatra is definitely an interesting project. We recently "ported" it to JavaScript:

http://github.com/tlrobinson/jack/blob/030685ef3de4c29c38b4e...

The same webservice would be:

    roundabout.route({ path:"/add/{a}/{b}", get: function(){this.body = this.wildcards["a"] + this.wildcards["b"];} })
or, alternatively:

    roundabout.get("/add/{a}/{b}", function(){ this.body = this.wildcards.a + this.wildcards.b; });
The first syntax is a tad longer, but its much more useful; you can define any method with the name of an HTTP verb for that path, and you can also define a filter parameter that will be queried before the path is matched. The filter lets you do whatever pre-processing you want, so you could filter out requests from a specific user-agent for example, or all URLs that use mixed case, or anything else you can think of.
Re:Ask HN: What web framework(s) do you guys use? by lsb on Friday January 23, 2009 @09:23PM (#447603)
That looks really cool; how's that been working out? Is that in production? If Ruby had Gambit Scheme's serializable continuations, that would be pretty interesting times.
Re:Ask HN: What web framework(s) do you guys use? by boucher on Friday January 23, 2009 @09:32PM (#447624)
We're not yet using it in production, its only a few weeks old, but we will be in some of the things we're working on.

One of the main benefits is letting us run objective-j and cappuccino on the server, letting us share application data models in the client and the server.

Re:Ask HN: What web framework(s) do you guys use? by rickharrison on Friday January 23, 2009 @05:14PM (#447222)
codeigniter and more recently kohana.

I like codeigniter a lot because you have more control over things. Frameworks that get things done extremely fast are nice, but I like to have more control over things. And Kohana was modeled after codeigniter, but in completely PHP5, which is why I like it the most.

Re:Ask HN: What web framework(s) do you guys use? by thorax on Friday January 23, 2009 @08:48PM (#447556)
Code Igniter is solid.
Re:Ask HN: What web framework(s) do you guys use? by robertdempsey on Friday January 23, 2009 @06:08PM (#447339)
I like Rails with my Ruby.
Re:Ask HN: What web framework(s) do you guys use? by aschobel on Friday January 23, 2009 @09:20PM (#447598)
Struts2. Very lightweight and its gets out of your way.

Since it is Java we get to leverage some of the incredible Java libraries out there like Guice.

We've tried a few other frameworks. We build our prototype in web.py. Very simple, but I couldn't get used to not living in IntelliJ.

We tried a previous project in Rails, but it did too much 'magic' for us and the scaffolding seemed a bit too brittle.

To be fair the last time I used Rails in production was in the 1.1 days, so it's been a while.

Re:Ask HN: What web framework(s) do you guys use? by moder on Saturday January 24, 2009 @09:49AM (#448136)
Where are all these Java libraries? Do you mean Java's standard library?

I ask because, Perl has the CPAN, Python has PyPI, Ruby has RubyGems, etc., but what does Java have?

Re:Ask HN: What web framework(s) do you guys use? by skanev on Saturday January 24, 2009 @11:01AM (#448178)
The Apache Project and Maven. Although though do not map exactly to CPAN/RubyGems.
Re:Ask HN: What web framework(s) do you guys use? by cookiecaper on Saturday January 24, 2009 @05:29AM (#447982)
Pylons when I use Python - magic sucks, very easy to customize, fast turnaround and not so gargantuan that it takes forever to wrap your head around.

CakePHP for PHP. Definitely the best PHP framework out there, in my opinion; fast, good installed base made out of all-star clients (Mozilla, Yale, others), not restrictive or cumbersome. Honestly, though, I try not to use PHP.

Re:Ask HN: What web framework(s) do you guys use? by debt on Friday January 23, 2009 @09:39PM (#447637)
Django on AppEngine. Really fast turnaround and scaling is all taken care of(or will be).
Re:Ask HN: What web framework(s) do you guys use? by tlrobinson on Friday January 23, 2009 @06:40PM (#447399)
Cappuccino. Because we created it. ;)
Re:Ask HN: What web framework(s) do you guys use? by boucher on Friday January 23, 2009 @09:00PM (#447573)
Plus jack and roundabout (ports of rack and sinatra to javascript), because we created those too :)

http://github.com/tlrobinson/jack

Re:Ask HN: What web framework(s) do you guys use? by dmpayton on Friday January 23, 2009 @06:20PM (#447364)
I use Django when I need full-stack and CherryPy when I need something lighter. I've also used web.py.
Re:Ask HN: What web framework(s) do you guys use? by pwoods on Friday January 23, 2009 @05:50PM (#447297)
Top Down Programming BABY!

Seriously, just install smarty and do it yourself. Then somebody can always do a basic edit to the templates and you don't have to weight the merits of the 10000X different frameworks against eachother and get back to Making Money!

Re:Ask HN: What web framework(s) do you guys use? by apu on Friday January 23, 2009 @07:08PM (#447442)
Re:Ask HN: What web framework(s) do you guys use? by moder on Saturday January 24, 2009 @09:52AM (#448140)
Is webpy the Python equivalent of Perl's CGI::Application? Because I've used C::A in the past and liked its simplicity.
Re:Ask HN: What web framework(s) do you guys use? by wmorein on Saturday January 24, 2009 @11:27AM (#448194)
This is what I use as well. I'm surprised there aren't more users here.
Re:Ask HN: What web framework(s) do you guys use? by ezmobius on Friday January 23, 2009 @05:43PM (#447278)
rack, merb, sinatra and rails
Re:Ask HN: What web framework(s) do you guys use? by cstejerean on Friday January 23, 2009 @06:05PM (#447335)
compojure - best option in Clojure so far.
Re:Ask HN: What web framework(s) do you guys use? by bdittmer on Saturday January 24, 2009 @09:45AM (#448130)
Grails (http://www.grails.org). A rails inspired Groovy framework that uses big boy frameworks (Hibernate, Spring, etc.) under the hood.
Re:Ask HN: What web framework(s) do you guys use? by breily on Friday January 23, 2009 @08:59PM (#447570)
I used to use Django, tried cherrypy and web.py, and have ended up starting to write my own (http://github.com/breily/juno).
Re:Ask HN: What web framework(s) do you guys use? by joshsharp on Friday January 23, 2009 @09:36PM (#447631)
Juno looks pretty nice.
Re:Ask HN: What web framework(s) do you guys use? by breily on Saturday January 24, 2009 @04:08AM (#447929)
Thanks, that's always good to hear.
Re:Ask HN: What web framework(s) do you guys use? by st3fan on Friday January 23, 2009 @06:01PM (#447329)
Java, so I prefer Wicket and like Stripes.
Re:Ask HN: What web framework(s) do you guys use? by rs on Saturday January 24, 2009 @05:03AM (#447966)
+1 for wicket.

Used wicket for a while on xp-dev.com, but moved to a home grown one as wicket was a tad bit too bloated.

But I really like how wicket is component based, and have used it successfully for other project (all intranet based ones though - so don't really have many publicly accessible examples)

Re:Ask HN: What web framework(s) do you guys use? by bdittmer on Saturday January 24, 2009 @09:42AM (#448125)
+1 for Stripes. It's like WebWork/Struts 2 without the XML configuration headaches.
Re:Ask HN: What web framework(s) do you guys use? by jamongkad on Friday January 23, 2009 @10:57PM (#447717)
Python - Web.py no magic you know what's happening. PHP - CodeIgniter same thing.
Re:Ask HN: What web framework(s) do you guys use? by jcady on Friday January 23, 2009 @09:10PM (#447586)
I can't believe the number of web frameworks out there. If anything the amount of comments just illustrates how easy it is to roll your own.
Re:Ask HN: What web framework(s) do you guys use? by bonaldi on Friday January 23, 2009 @05:58PM (#447320)
WebObjects. I don't like Java, or Eclipse, which makes it an odd choice, but it was Rails before Rails, and still has a lot of advantages over it. The ORM works hand-in-hand with the framework to do proper persistence, and while I rage against the tools sometimes, they're still better than being dumped back at a texteditor.

If only Apple would give it some more love, it'd be killer.

Re:Ask HN: What web framework(s) do you guys use? by coolestuk on Saturday January 24, 2009 @04:08AM (#447931)
WebObjects for me too :-) And I also don't like Java or Eclipse. But at least with DirectToWeb one can keep the Java code to a minimum.
Re:Ask HN: What web framework(s) do you guys use? by modoc on Friday January 23, 2009 @11:04PM (#447726)
Seam because I'm a Java guy at heart and Seam is a pleasure to work with.
Re:Ask HN: What web framework(s) do you guys use? by lux on Friday January 23, 2009 @09:32PM (#447622)
I wrote my own CMS/framework which I started about 8-9 years ago, so I use that. In my main business I sell a "pro" version of it as well as customization/hosting/etc, and naturally it's also the framework I use for my startup too. For those that are interested:

http://www.sitellite.org/

It's in PHP 4/5, GPL licensed, decently clean code (in 8 years there's obviously some cruft at this point :), but also has a few nice things built-in like a full CMS on top of it, multilingual support, a couple dozen modules that save some time, ORM library, and the ability to setup A/B tests just by editing a page, which is starting to come in handy these days.

Some challenges of rolling your own are that you have to write the documentation, and provide support/training/whatever else since developers aren't likely to be familiar with it (unless it's open and gains popularity). Some things to consider when weighing your options... :)

Re:Ask HN: What web framework(s) do you guys use? by tocomment on Friday January 23, 2009 @05:49PM (#447291)
I'm in Python. I'm happiest just doing import cgi ...

I always feel guilty though.

Re:Ask HN: What web framework(s) do you guys use? by randallsquared on Friday January 23, 2009 @08:11PM (#447528)
If import cgi works for you, it's great. I love simplicity.
Re:Ask HN: What web framework(s) do you guys use? by pwoods on Friday January 23, 2009 @05:51PM (#447301)
Write your own!
Re:Ask HN: What web framework(s) do you guys use? by tdavis on Friday January 23, 2009 @07:56PM (#447504)
Sure, maybe if you've never done it before because it's a learning experience, but it's a patently horrible idea otherwise.
Re:Ask HN: What web framework(s) do you guys use? by zepolen on Friday January 23, 2009 @08:10PM (#447527)
It isn't a horrible idea. Using a ready made framework all the time without regard if it's right for the job is a horrible idea.

For some apps which have a certain level of complexity and require some extra flexibility, you end up wasting more time fighting the framework than getting the job done.

It helps if you have a well defined standard in place, for python, that means WSGI. Coupled with good libraries, it's hard to beat.

Re:Ask HN: What web framework(s) do you guys use? by tdavis on Friday January 23, 2009 @08:24PM (#447539)
Right, but that's not "writing a framework", it's "using existing libraries in conjunction with one another". There's no real "magic", directory layout rules, etc.

Maybe you end up writing a couple scripts to tie them together or something, but it's hardly a framework. And in many cases, yes, it is a better choice than a framework. And still a better choice than writing your own framework.

Re:Ask HN: What web framework(s) do you guys use? by fauigerzigerk on Saturday January 24, 2009 @03:11AM (#447887)
So that means frameworks shouldn't exist at all in your opinion?
Re:Ask HN: What web framework(s) do you guys use? by tdavis on Saturday January 24, 2009 @06:15AM (#448012)
Erm, that's my opposite opinion, I guess. My (attempted) argument is that one should not write their own framework unless doing so as an exercise in learning. In any other case, using existing frameworks or using the "roll your own library mix tape" strategy is far more efficient.

Basically, I'm saying if you're using a language which has mature frameworks and/or mature libraries which could be forged into an ad-hoc framework (templating, serving, ORM, etc.) it is terrible advise to tell people "just write your own".

Only in the case that you've considered all existing (relevant) options and determined none of them meet your use case (and none can be minimally altered to do so) should you consider writing your own. Anything else is a waste of time and effort.

Re:Ask HN: What web framework(s) do you guys use? by fauigerzigerk on Saturday January 24, 2009 @07:44AM (#448051)
Right, your new rule is, write you own framework/library if necessary, otherwise use what's there. That's much better than your original rule which ruled out any use of frameworks as no frameworks could ever have been created.

But Im' still not happy :) I'm sure a lot of popular frameworks were created without any necessity, simply because they were fun to make. Some turned out to have qualities that nobody (including its creator) would have been able to spell out beforehand.

Re:Ask HN: What web framework(s) do you guys use? by lallysingh on Friday January 23, 2009 @08:31PM (#447543)
socket & sprintf FTW!!!
Re:Ask HN: What web framework(s) do you guys use? by tptacek on Friday January 23, 2009 @09:01PM (#447574)
Don't forget strcspn!
Re:Ask HN: What web framework(s) do you guys use? by durbin on Friday January 23, 2009 @07:01PM (#447429)
Re:Ask HN: What web framework(s) do you guys use? by adatta02 on Friday January 23, 2009 @07:56PM (#447505)
symfony here also
Re:Ask HN: What web framework(s) do you guys use? by dreur on Friday January 23, 2009 @08:03PM (#447514)
Symfony also !!

and am going to try Grails soon

Re:Ask HN: What web framework(s) do you guys use? by cstef on Friday January 23, 2009 @07:31PM (#447473)
Anyone using yii? It looks interesting to me, but I have not had a chance to give it a whirl beyond the basic application tutorial.

http://www.yiiframework.com/

Re:Ask HN: What web framework(s) do you guys use? by russell on Friday January 23, 2009 @07:13PM (#447452)
I just inherited a massive enterprise application; you know run a brick and mortar company on it. It's not a one-off; a number of companies use it. The stack is

Jboss; Spring; Hibernate; Struts; XML gluing it together; Javascript: prototype, JQuery and others; Flex and granite; Vestiges of every Java framework fad of the last 10 years. Maybe I exaggerate, maybe not.

It is way over-engineered. Several times as much code as a Django, Pylons, or Ruby solution. I dont recommend going this path at all, even if you are an enterprise.

Re:Ask HN: What web framework(s) do you guys use? by sachinag on Friday January 23, 2009 @05:53PM (#447306)
http://www.qcodo.com, which now has been forked to http://qcu.be
Re:Ask HN: What web framework(s) do you guys use? by apinstein on Saturday January 24, 2009 @10:24AM (#448156)
I wrote my own for php, http://phocoa.com.

After I learned to write Cocoa apps for the mac, I realized I needed a similar framework for web development, so I wrote phocoa.

PHP as a language is kinda bumming me out since I've learned about new techniques like functional programming, closures, etc from Javascript and playing with Ruby.

If PHP 5.3 doesn't seem like it's on the right path, I may switch to another language...

Re:Ask HN: What web framework(s) do you guys use? by whiskeyjack on Friday January 23, 2009 @06:18PM (#447359)
CGI::Application in Perl. Just to be contrary. Well, not really. I still love Perl. Nothing wrong with the alternatives... it's just what I like.
Re:Ask HN: What web framework(s) do you guys use? by jonknee on Friday January 23, 2009 @08:56PM (#447566)
Django when I get to and CodeIgniter when I have to.
Re:Ask HN: What web framework(s) do you guys use? by marram on Friday January 23, 2009 @08:13PM (#447530)
Django with Google App Engine
Re:Ask HN: What web framework(s) do you guys use? by rodrigo on Sunday January 25, 2009 @03:47PM (#449496)
JSPs, Servlets and POJOs. Im a complete beginner so im trying to learn the basics first. Im very aware of some Java shortcomings but I like the fact that I can get responses from thousands of books, tutorials, and the web. A bunch of Python frameworks looks very nice though, and the languaje also, but Im required to use Java for now : (
Re:Ask HN: What web framework(s) do you guys use? by jaxn on Saturday January 24, 2009 @11:38AM (#448198)
I use Rails for my bigger project, but I kinda like Google's webapp (the default on AppEngine). It is enough, and I assume it works the best of any framework on AppEngine.

One of my projects is a location-based role-playing game for mobile phones that we will be launching soon. The entire game engine is hosted on AppEngine and uses the webapp framework.

Re:Ask HN: What web framework(s) do you guys use? by sidonei on Saturday January 24, 2009 @10:01PM (#448667)
I use cherrypy + SQL objects + Cheetah, cause that way i choose what components i want to handle all the general components of a webb app(http reqest/respose, ORM and templating) Also i know exactly how things happen so that makes me feel comfortable ... ie as you guys call it less magic :)
Re:Ask HN: What web framework(s) do you guys use? by whalliburton on Saturday January 24, 2009 @07:17AM (#448039)
Re:Ask HN: What web framework(s) do you guys use? by dw0rm on Friday January 23, 2009 @07:25PM (#447463)
webpy (http://webpy.org/) is very lightweight and hackable
Re:Ask HN: What web framework(s) do you guys use? by leftnode on Friday January 23, 2009 @06:29PM (#447378)
(shamless plug)

My own (PHP5 framework) - Artisan System

http://artisansystem.com/

Re:Ask HN: What web framework(s) do you guys use? by zacharydanger on Friday January 23, 2009 @11:10PM (#447731)
More like "Fartisan"! Just kidding, I've been meaning to give Artisan a try. Where are the docs? Give me at least a nice tutorial on setting up a stupid blogging CMS.
Re:Ask HN: What web framework(s) do you guys use? by staunch on Friday January 23, 2009 @06:32PM (#447385)
Catalyst with DBIx::Class (ORM)
Re:Ask HN: What web framework(s) do you guys use? by moe on Friday January 23, 2009 @09:57PM (#447660)
cherrypy and sqlalchemy. and closely looking at werkzeug for future projects.
Re:Ask HN: What web framework(s) do you guys use? by oscardelben on Saturday January 24, 2009 @04:18AM (#447941)
Ruby on Rails is my primary framework. I've played a lot with Merb, but I'm happy that it will be merged with rails. In the future I want to explore web frameworks written in lisps (cl, scheme or closure)
Re:Ask HN: What web framework(s) do you guys use? by webmaven on Sunday January 25, 2009 @01:09PM (#449328)
Zope: http://zope.org

Although I am also currently experimenting with App Engine: http://www.webappwednesday.com

Re:Ask HN: What web framework(s) do you guys use? by rob on Friday January 23, 2009 @07:41PM (#447490)
Kohana.
Re:Ask HN: What web framework(s) do you guys use? by olegp on Friday January 23, 2009 @06:32PM (#447387)
Re:Ask HN: What web framework(s) do you guys use? by bdittmer on Saturday January 24, 2009 @09:43AM (#448127)
I'd like to hear some of your experiences using helma!
Re:Ask HN: What web framework(s) do you guys use? by olegp on Sunday January 25, 2009 @12:55PM (#449311)
I decided to give Helma a go because I like the idea of being able to re-use server side code within the browser and also because it should make it easier for others to extend the web application with plugins without having to learn a new scripting language.

I've been using Helma NG, rather than the stable Helma 1, so my comments are specific to that.

The dynamic nature of the language makes a huge difference. Both Helma and Grails (which you mentioned) feel like a breath of fresh air after working in Java with frameworks such as JSF. It's much faster to get things done, but I do miss the debugger and IDE integration.

Helma NG takes a new approach to managing scopes and I've found it easy to organize code into modules like in Python.

Helma NG is still work in progress, so parts of it keep changing, which I've found to be a bit of a problem. However, since most of it is in JavaScript and the framework is very lightweight, it is easy to wrap around the parts of a module you want to remain fixed.

I prefer Grails' GSP tag syntax to Helma macros, so might try to add support for that at some stage.

I'm using CouchDB for persistence and have been writing my own abstraction layer on top of that, so can't really comment on the SQL/Hibernate module.

Performance seems good, but I haven't run any benchmarks.

The community is relatively small, but very responsive. The documentation is there, but there are few examples. However, most of the code is self-explanatory.

So, to summarize: Helma NG is perfect for what I'm doing, but isn't yet stable enough to be used in place of Grails for a more traditional webapp. Helma 1 might be more appropriate for that.

What have your experiences with Grails been like?

Re:Ask HN: What web framework(s) do you guys use? by bdittmer on Monday January 26, 2009 @12:54PM (#450726)
Like your experience with Helma, Grails has also been a breath of fresh air. My biggest gripe with building web apps in Java is dealing with all the dependencies, setting up a project structure and making all the frameworks play nicely together...with grails none of those headaches exist...all the stuff you'd usually use is integrated nicely into a project and with almost zero configuration. The community is very responsive and new plugins are released on a weekly basis. I definitely recommend any Java developers out there take a look.
Re:Ask HN: What web framework(s) do you guys use? by robedw on Saturday January 24, 2009 @07:13AM (#448038)
If using PHP Kohana, Really, really good php framework. Release cycles are a bit crazy and some of the lead devs are uppity but all in all it's good.
Re:Ask HN: What web framework(s) do you guys use? by joshdavey on Saturday January 24, 2009 @04:57AM (#447962)
Re:Ask HN: What web framework(s) do you guys use? by vyrotek on Friday January 23, 2009 @07:33PM (#447478)
Asp.net MVC - Because C# is the best language
Re:Ask HN: What web framework(s) do you guys use? by omouse on Friday January 23, 2009 @07:28PM (#447467)
I've tried Django and now I'm trying Seaside.
Re:Ask HN: What web framework(s) do you guys use? by sjs382 on Friday January 23, 2009 @06:00PM (#447326)
I write my own mostly-modular parts. It isn't as flexible as I'd like it to be, but it does what I need it to do.
Re:Ask HN: What web framework(s) do you guys use? by booboo on Saturday January 24, 2009 @01:21AM (#447824)
It would be nice if someone would define exactly what a framework is. I mean, we're not all brilliant.
Re:Ask HN: What web framework(s) do you guys use? by cottsak on Saturday January 24, 2009 @01:18AM (#447822)
aspnet mvc. current project - http://ksischool.com
Re:Ask HN: What web framework(s) do you guys use? by jpcx01 on Saturday January 24, 2009 @11:14PM (#448710)
Merb. For me it has all the benefits of both Django and Rails, and is ultra clean and hackable.
Re:Ask HN: What web framework(s) do you guys use? by klon on Friday January 23, 2009 @06:02PM (#447331)
When using Java, I prefer Stripes. For a new project I would definately use Python and Django.
Re:Ask HN: What web framework(s) do you guys use? by auston on Friday January 23, 2009 @09:08PM (#447584)
I mess with Rails, dabble in Django & work in CodeIgniter.

Also fun - merb, cakephp, symfony, web2py

Re:Ask HN: What web framework(s) do you guys use? by maxwell on Friday January 23, 2009 @07:07PM (#447439)
AppJet. Jaxer was a bit buggy when I used it over the summer.
Re:Ask HN: What web framework(s) do you guys use? by twotimestwo on Saturday January 24, 2009 @01:32AM (#447833)
Good question. What _does_ constitute a framework?
Re:Ask HN: What web framework(s) do you guys use? by Ferdi on Friday January 23, 2009 @08:06PM (#447521)
Drupal and Rails
Re:Ask HN: What web framework(s) do you guys use? by schtog on Friday January 23, 2009 @10:52PM (#447711)
webpy because it is minimalistic and very clean and easy to use.

I have aslo played around a little b it with compojure+clojure.

Re:Ask HN: What web framework(s) do you guys use? by jamesbritt on Saturday January 24, 2009 @12:18AM (#447783)
Ramaze. Feels most Ruby-ish for me.
Re:Ask HN: What web framework(s) do you guys use? by lo_fye on Friday January 23, 2009 @11:27PM (#447750)
Zend Framework + Propel, yo.
Re:Ask HN: What web framework(s) do you guys use? by zby on Saturday January 24, 2009 @04:02AM (#447925)
Catalyst
Re:Ask HN: What web framework(s) do you guys use? by dylanz on Friday January 23, 2009 @05:48PM (#447289)
merb/rails
Re:Ask HN: What web framework(s) do you guys use? by mindaugas on Saturday January 24, 2009 @12:23AM (#447789)
ramaze ! and that means rack -> ruby
Re:Ask HN: What web framework(s) do you guys use? by rociiu on Saturday January 24, 2009 @12:32AM (#447796)
Rails, Django
Re:Ask HN: What web framework(s) do you guys use? by invitro on Saturday January 24, 2009 @05:08AM (#447968)
django, rails, codeigniter so far
Re:Ask HN: What web framework(s) do you guys use? by dazzawazza on Friday January 23, 2009 @07:37PM (#447485)
turbogears
Re:Ask HN: What web framework(s) do you guys use? by knieveltech on Friday January 23, 2009 @05:35PM (#447265)
Drupal.
Re:Ask HN: What web framework(s) do you guys use? by yogione on Friday January 23, 2009 @10:18PM (#447673)
Drupal all the way or combine with Cake or CI
Re:Ask HN: What web framework(s) do you guys use? by knieveltech on Wednesday February 04, 2009 @01:14AM (#465329)
I'm not conversant with Cake or CI so I couldn't comment intelligently here.
Re:Ask HN: What web framework(s) do you guys use? by blender on Friday January 23, 2009 @06:36PM (#447391)
+1
Re:Ask HN: What web framework(s) do you guys use? by gommm on Saturday January 24, 2009 @12:14AM (#447780)
rack, merb and rails...
Re:Ask HN: What web framework(s) do you guys use? by mpc on Friday January 23, 2009 @10:00PM (#447662)
jQuery. Rails.
Re:Ask HN: What web framework(s) do you guys use? by drhowarddrfine on Friday January 23, 2009 @06:31PM (#447384)
Never used a framework and never will. I know how to code. I do my own sites and don't use others or have others do my work for me.
Re:Ask HN: What web framework(s) do you guys use? by ryanwaggoner on Friday January 23, 2009 @06:45PM (#447406)
Haha...I assume you're kidding, right? Are you coding in binary? Because if not, someone else has "done your work for you" :)
Re:Ask HN: What web framework(s) do you guys use? by andreyf on Friday January 23, 2009 @11:43PM (#447761)
Coding in binary on what? Unless you mined your own raw materials to build your machine, someone else has "done your work" for you. Not to mention where you'd get electricity...
Re:Ask HN: What web framework(s) do you guys use? by cnu on Saturday January 24, 2009 @05:37AM (#447984)
Why a computer?

To do your own work, use your fingers.

Re:Ask HN: What web framework(s) do you guys use? by dog on Wednesday January 28, 2009 @06:42AM (#453638)
btw, I code i binary. Total control. After a while you don't even see anything but the sum of the parts.
Re:Ask HN: What web framework(s) do you guys use? by dog on Wednesday January 28, 2009 @06:41AM (#453636)
agreed
Re:Ask HN: What web framework(s) do you guys use? by dog on Wednesday January 28, 2009 @06:41AM (#453637)
definatly
Re:Ask HN: What web framework(s) do you guys use? by hs on Saturday January 24, 2009 @03:55AM (#447916)
i dunno why u got downvoted for just being different shrug
Re:Ask HN: What web framework(s) do you guys use? by kenver on Saturday January 24, 2009 @05:21AM (#447977)
Probably because he implied that using a framework means that you're lazy and dont know how to code.

The main reason people use frameworks, is not because they're lazy or bad, it's because it lets them get more done, faster, and with less tedium.