News for hackers. Stuff that matters.
Re:Which Programming Language did you pick for your idea? by papersmith on Monday April 09, 2007 @03:04PM (#10919)
Started out with Ruby on Rails, changed to Python (pylons) + mako + toscawidgets + postgres for more flexibility. Considering giving Common Lisp (Uncommon Web) a try, but the documentation scared the heck out of me.
Re:Which Programming Language did you pick for your idea? by wastedbrains on Monday April 09, 2007 @09:16PM (#11053)
We are currently looking at both Ruby and Python... What made you change, what makes you feel more flexible? We have been evaluating some of the Python frameworks and are currently trying to weight the positive and negatives of all the options... Any huge issues or just a bunch of different little things?
Re:Which Programming Language did you pick for your idea? by papersmith on Monday April 09, 2007 @10:03PM (#11071)
To be honest the different isn't that huge. The major reason I chose python is because there are many python web libraries that conform to WSGI standard, which means I can easily swap out components (routing, template, widgets, database mapping, etc.) that suites me the best. As a result there is a broader variety of each type to choose from in python.

Rails, as stated by its creators, is opinionated software, so you're stuck with their preferred way of doing things, which fortunately is not too bad as of now. So if you're a control-freak like me who also wants to squeeze more juice out of your CPU cycles, then go for python. If you want to put your trust in a well-integrated framework of components cherry-picked by smart folks, then go for rails or django (also python, but a little less flexible).

Here's a fairly up-to-date overview of python web dev options: http://jesusphreak.infogami.com/blog/vrp1

Re:Which Programming Language did you pick for your idea? by theoutlander on Monday April 09, 2007 @11:59PM (#11102)
I feel horrible for not giving python a chance .... but then there are only so many languages one can do mock-ups in .... before making a decision
Re:Which Programming Language did you pick for your idea? by phony_identity on Monday April 09, 2007 @12:59PM (#10859)
PLT Scheme + PLT Scheme web server + flat files (actually serialized s-expressions on disk. Which aren't very flat.)
Re:Which Programming Language did you pick for your idea? by ido on Monday April 09, 2007 @02:56PM (#10914)
Why not use a database?
Re:Which Programming Language did you pick for your idea? by SwellJoe on Monday April 09, 2007 @06:58PM (#11002)
You're asking "why not add complexity?" Not a good place to start.

If a project needs a database you'll know it pretty quickly...and it's easy to convert to using a database at that point. The only time I've ever regretted a decision about databases was when I designed a log processor that didn't immediately have relational needs...over a couple of weeks of implementing the requirements I ended up writing a relational layer in Perl against a Berkeley DB backend. That was stupid, and I should have thought a little harder about the requirements. But it was my first big solo project, so I blame inexperience for not recognizing a relational problem from the start. Luckily, SQLite had just been released, and converting my app to use it (and losing a hundred lines of code) was a one day operation. It made the app approximately 100 times faster for my data set.

But, well over half of my applications since then have not required a database and have been well-served by flat files.

Re:Which Programming Language did you pick for your idea? by phony_identity on Monday April 09, 2007 @07:35PM (#11018)
Because it's much easier to just dump your data to disk as you already have it, rather than translate it to SQL idea of what data is: SQL types, one-to-many relationships, etc.

This is not just a Scheme thing. If you use Java you have serialization. Python calls it 'pickle'. I'm sure whatever else you are using probably has something equally simple.

Re:Which Programming Language did you pick for your idea? by philc on Monday April 09, 2007 @06:51PM (#10999)
Rails + Mysql

My webapps are requiring a lot of client side logic to be really interactive, so I've found that the biggest producivity factor is what I'm doing with Javascript. The Rails code I've been writing is mostly trivial; as long as it lets me talk to the database easily, I feel like any language could be used on the backend. However, I do love scripting in Ruby, and Rails makes it easy to use its DB abstractions in external scripts.

The best gains on the client-side come from using a good library. I've gone from Prototype/scriptaculous to YUI-ext to Mootools. I love Mootools. I've never been able to bring myself to try Dojo; it seems like it's trying to put the Java back into Javascript. What do you think?

Re:Which Programming Language did you pick for your idea? by gommm on Monday April 09, 2007 @10:53PM (#11088)
Ruby on Rails and Merb.

I'm actually just starting to use merb for simple requests that don't need the full rails stack (merb being threadsafe whereas rails is not, so it's useful to delegate some of the simple stuff to merb).

I still plan on investigating flex and seaside in the short term, just to see if there is any good ideas I can learn... (in a longuer term, I'll dedicate some time to lisp)

Re:Which Programming Language did you pick for your idea? by maliciouskitty on Thursday April 12, 2007 @03:28AM (#12185)
I started out using java with WebObjects for a year, then found Django, never look back again.

Python is a lot better than Java for agile startups.

Re:Which Programming Language did you pick for your idea? by joshwa on Monday April 09, 2007 @09:06AM (#10769)
My current project is in RoR, but I've not ruled out other languages/frameworks for other projects, depending on what suits the task best.
Re:Which Programming Language did you pick for your idea? by ias on Monday April 09, 2007 @12:31PM (#10851)
Lisp + MySQL
Re:Which Programming Language did you pick for your idea? by papersmith on Monday April 09, 2007 @03:54PM (#10951)
I would love to see more Lisp web apps in startups. It's been quite discouraging after reddit abandoned Lisp.
Re:Which Programming Language did you pick for your idea? by chris_l on Monday April 09, 2007 @12:39PM (#10854)
me, straight Common Lisp (SBCL)
Re:Which Programming Language did you pick for your idea? by cridal on Monday April 09, 2007 @01:17PM (#10869)
Do you guys use a web framework, like kpax, or straight CL?
Re:Which Programming Language did you pick for your idea? by gibsonf1 on Monday April 09, 2007 @03:24PM (#10935)
I hadn't heard of kpax before. Their documentation is missing on their website. Do you know the features and positive reasons to use it?
Re:Which Programming Language did you pick for your idea? by gibsonf1 on Monday April 09, 2007 @02:51PM (#10911)
We use Allegro Serve's webactions, though we've customized (bypassed) it to the point where we now only use their session feature.
Re:Which Programming Language did you pick for your idea? by papersmith on Monday April 09, 2007 @03:47PM (#10945)
Did you guys buy the Allegro suite or are you using portable allegroserve?
Re:Which Programming Language did you pick for your idea? by gibsonf1 on Monday April 09, 2007 @04:01PM (#10953)
We actually bought Lispworks (half the price of Allegro), and are using portable allegroserve. My partner (who is a software architect by trade) learned lisp for our current start-up and is using slime on Emacs for his interface so we can switch to Allegro if we want later on, which we are considering for their native high-speed mysql interface assuming it performs as advertised - we're using ClSQL right now to talk to MySQL.)

He is extremely happy about lisp, especially after hacking java for years. (The code-base I had built up over the last few years as well as PG's writings helped convince him to give it a try even though he was very skeptical about lisp at first, There is no going back now :)

Ironically, we decided on a different (more focused) idea to pursue for the current startup for which my architectural firm is the current first customer (my hair was on fire for this app), so the initial code base is waiting for a later date. (It will be used to extend the feature set of the current app by adding a conceptual interface)

My partner is concerned about Aserve's ability to handle massive numbers of sessions at the same time, so we are considering going to a java websever and using the lisp side to generate all the html. (The html macro in Aserve is proving very fast and reliable) We're definitely looking for the best solution out there right now as we are planning to go live in about 2 months.

Re:Which Programming Language did you pick for your idea? by papersmith on Monday April 09, 2007 @04:38PM (#10971)
I'm fairly new to Lisp, this is encouraging to hear! :) Just a few technical questions:

Is there any specific reason to use Lispworks as oppose to a free implementation (say SBCL)?

I remember the author of portable allegroserve mentioned that he wrote it mostly for demonstration purposes, and might not perform well. Are you guys finding this to be an issue at this stage?

As for session, would it be possible to store session objects in AllegroCache, which comes with the paid version of AllegroCL? (I'm just a newbie speculating :) )

Re:Which Programming Language did you pick for your idea? by ias on Monday April 09, 2007 @07:22PM (#11012)
No particular framework. Though a framework is starting to abstract away as the site gets bigger.
Re:Which Programming Language did you pick for your idea? by chris_l on Friday April 13, 2007 @03:42PM (#12684)
I use Hunchentoot as server, but nothing on top of that
Re:Which Programming Language did you pick for your idea? by theoutlander on Monday April 09, 2007 @03:20PM (#10933)
LISP is cool!! I did it 10 years ago.... but keep confusing it with ML and Prolog.... :-|
Re:Which Programming Language did you pick for your idea? by dmitry on Monday April 09, 2007 @10:22AM (#10797)
C# and .NET framework, because my project is a distributed multi layered app. Plus I know it too well to use sometings else
Re:Which Programming Language did you pick for your idea? by blats on Monday April 09, 2007 @01:21PM (#10873)
Stating your chosen platform, and then feeling the need to defend it (twice) in the same sentance.. not a good sign.
Re:Which Programming Language did you pick for your idea? by theoutlander on Monday April 09, 2007 @03:19PM (#10932)
I like .NET Framework..... However, be vigilant about perf!
Re:Which Programming Language did you pick for your idea? by ryantmulligan on Monday April 09, 2007 @08:56PM (#11045)
Python on Planes
Re:Which Programming Language did you pick for your idea? by whacked_new on Monday April 16, 2007 @10:36AM (#13301)
intentional double pun? pure brilliance.
Re:Which Programming Language did you pick for your idea? by ryantmulligan on Friday April 20, 2007 @01:55AM (#14970)
Got it from Slashdot.com
Re:Which Programming Language did you pick for your idea? by theoutlander on Tuesday April 10, 2007 @12:01AM (#11104)
LMAO!
Re:Which Programming Language did you pick for your idea? by Tichy on Tuesday April 10, 2007 @04:35AM (#11185)
Since nobody mentioned it: I plan to at least evaluate Groovy+Grails - hoping it might be a smoother transition coming from a Java background than going to RoR directly. Also, some things just work better with Java, and Groovy might allow me to build on that (what things? Getting a database driver for example).
Re:Which Programming Language did you pick for your idea? by melhorn on Tuesday April 10, 2007 @02:16PM (#11397)
Ruby (on Rails) for the web interface, I love it! :-)

Java for data mining, image manipulation and data shoveling, like in xml transformation. You can't really use Ruby for this... We also chose a servlet for one of our web services for performance reasons.

Re:Which Programming Language did you pick for your idea? by brlewis on Monday April 09, 2007 @10:00AM (#10785)
My idea is a web application that manipulates a particular set of data, so of course I use BRL.
Re:Which Programming Language did you pick for your idea? by tim on Monday April 09, 2007 @11:16AM (#10818)
Python, C, C++ (Django, PostgreSQL)
Re:Which Programming Language did you pick for your idea? by kogir on Wednesday April 11, 2007 @02:10PM (#11979)
C++, C#, ASP.NET 2.0, MS SQL 2005, IIS 6 on Windows C++, PHP, Ruby, MySQL, Memcache, Apache on Linux

I try to pick the best tool for the job and run with it.

Re:Which Programming Language did you pick for your idea? by jaggederest on Tuesday April 10, 2007 @01:45AM (#11137)
Trying to get HAppS to work. http://www.happs.org/

Of course, I'm about ten lines of code in, so I probably don't count.

Re:Which Programming Language did you pick for your idea? by ivan on Monday April 09, 2007 @08:55AM (#10766)
PHP, if ROR would be more supported here, than ROR
Re:Which Programming Language did you pick for your idea? by Cthulhu on Monday April 09, 2007 @06:56PM (#11001)
Application : C#/F# Web : asp.net 2.0 with C#/F#
Re:Which Programming Language did you pick for your idea? by theoutlander on Tuesday April 10, 2007 @12:10AM (#11108)
Are you serious?? I didn't know people actually used F# ... are you using it for the Java Syntax or any other reason??
Re:Which Programming Language did you pick for your idea? by wensing on Monday April 09, 2007 @10:19AM (#10794)
Python (Pylons, Mygthy), MySQL, ActionScript.
Re:Which Programming Language did you pick for your idea? by bootload on Monday April 09, 2007 @10:21AM (#10795)
- python, c (django, wx)

- sql, (mysql)

Re:Which Programming Language did you pick for your idea? by boris on Monday April 09, 2007 @01:47PM (#10887)
C++ I need to support embedded systems, servers and everything in between.

Re:Which Programming Language did you pick for your idea? by drop19 on Monday April 09, 2007 @09:06AM (#10768)
Seaside (because I want to implement some heavy desktop-like capabilities)
Re:Which Programming Language did you pick for your idea? by richcollins on Monday April 09, 2007 @02:26PM (#10902)
How does seaside help with that? Do you code all of the client logic in Smalltalk instead of Javascript?
Re:Which Programming Language did you pick for your idea? by papersmith on Monday April 09, 2007 @05:53PM (#10988)
I guess seaside's continuation passing style helps to reduce complexity in managing states, which is a major requirement in desktop-like apps.
Re:Which Programming Language did you pick for your idea? by staunch on Monday April 09, 2007 @09:52AM (#10783)
Perl w/ Catalyst/DBIx::Class/Template Toolkit and MySQL

Re:Which Programming Language did you pick for your idea? by seunosewa on Tuesday April 10, 2007 @05:51PM (#11546)
I'm going to build an ultimate web forum with Python
Re:Which Programming Language did you pick for your idea? by doke01 on Monday April 09, 2007 @12:08PM (#10840)
PHP and openlaszlo
Re:Which Programming Language did you pick for your idea? by danielha on Monday April 09, 2007 @06:36PM (#10994)
Python.
Re:Which Programming Language did you pick for your idea? by randallsquared on Monday April 09, 2007 @11:12AM (#10814)
Python and web.py
Re:Which Programming Language did you pick for your idea? by timg on Monday April 09, 2007 @05:43PM (#10983)
python, webpy, binding in code from just about every other language.
Re:Which Programming Language did you pick for your idea? by gibsonf1 on Monday April 09, 2007 @08:06AM (#10754)
Lisp (with MySQL)
Re:Which Programming Language did you pick for your idea? by samueladam on Monday April 09, 2007 @08:33AM (#10761)
Python & Django
Re:Which Programming Language did you pick for your idea? by mattjaynes on Monday April 09, 2007 @09:16AM (#10770)
PHP5 (as fastcgi w/ lighttpd and sqlite3)
Re:Which Programming Language did you pick for your idea? by theoutlander on Tuesday April 10, 2007 @12:08AM (#11107)
What is your experience with FastCGI??? I am running ROR off it, but lighttpd throws quite a lot of 500 Internal Server Errors.
Re:Which Programming Language did you pick for your idea? by staunch on Tuesday April 10, 2007 @02:58AM (#11154)
FastCGI is super lightweight and very powerful. If you're seeing errors like that you likely have a problem that requires fixing. Judging from your post it might involve excessive question marks in a regex.
Re:Which Programming Language did you pick for your idea? by theoutlander on Tuesday April 10, 2007 @03:32AM (#11167)
I am running some basic stuff ... but notice the occasional 500's ... IRC / Web states that Pound with Lighttpd and Instances of Mongrel is really the best solution ... however, mongrel's site states that Lighttpd's mod_proxy still has issues....so I am really baffled with what is a proven solution... I am just gonna run some tests before I conclude...
Re:Which Programming Language did you pick for your idea? by mattjaynes on Tuesday April 10, 2007 @02:16AM (#11148)
Hmm, I haven't used my current setup in production yet. Development has been fine, only time will tell. Hopefully I don't get the errors you experienced :(
Re:Which Programming Language did you pick for your idea? by theoutlander on Tuesday April 10, 2007 @03:33AM (#11169)
so you don't have a fastcgi.crash.log ... ???
Re:Which Programming Language did you pick for your idea? by jamongkad on Tuesday April 10, 2007 @03:41AM (#11172)
Have you considered SQLite?
Re:Which Programming Language did you pick for your idea? by eduardoflores on Monday April 09, 2007 @09:23PM (#11056)
RoR fits perfectly for my project
Re:Which Programming Language did you pick for your idea? by nmcfarl on Monday April 09, 2007 @07:23PM (#11013)
Perl - Catalyst and PostgreSQL
Re:Which Programming Language did you pick for your idea? by amichail on Monday April 09, 2007 @11:14AM (#10817)
Java + gwt + eclipse + derby db
Re:Which Programming Language did you pick for your idea? by entelarust on Monday April 09, 2007 @12:15PM (#10844)
PHP
Re:Which Programming Language did you pick for your idea? by damien on Monday April 09, 2007 @11:34AM (#10826)
Python & C
Re:Which Programming Language did you pick for your idea? by theoutlander on Monday April 09, 2007 @07:17AM (#10749)
Flex on Rails = ROR + Flex
Re:Which Programming Language did you pick for your idea? by mukund on Monday April 09, 2007 @01:50PM (#10888)
Ruby on rails + Postgres
Re:Which Programming Language did you pick for your idea? by vikram on Thursday April 12, 2007 @03:37AM (#12188)
Lisp and Javascript
Re:Which Programming Language did you pick for your idea? by floozyspeak on Monday April 09, 2007 @10:18AM (#10793)
Ruby on Rails
Re:Which Programming Language did you pick for your idea? by gillionaire on Monday April 09, 2007 @12:50PM (#10856)
php 5 and mysql 5 w/ zend platform
Re:Which Programming Language did you pick for your idea? by jamongkad on Monday April 09, 2007 @11:46AM (#10829)
Ruby and Java
Re:Which Programming Language did you pick for your idea? by theoutlander on Tuesday April 10, 2007 @12:01AM (#11105)
Are u considering JRuby ??
Re:Which Programming Language did you pick for your idea? by jamongkad on Tuesday April 10, 2007 @03:39AM (#11171)
I might be. but for the mean time I'm exploring Rails :-) and gettng my Ruby skills up to match. Although I can't seem to shake Java's verbosity out my system and it reflects on my Ruby programs. :-)
Re:Which Programming Language did you pick for your idea? by edgeztv on Monday April 09, 2007 @11:56AM (#10833)
Java + GWT
Re:Which Programming Language did you pick for your idea? by mkull on Monday April 09, 2007 @11:52AM (#10831)
rails + postgres
Re:Which Programming Language did you pick for your idea? by robertgaal on Monday April 09, 2007 @08:33AM (#10762)
Rails
Re:Which Programming Language did you pick for your idea? by meyouall on Monday April 09, 2007 @02:59PM (#10917)
PHP