Navigation

RSS 2.0 New Entries Syndication Feed Atom 0.3 New Entries Syndication Feed

Show blog menu v

 

General

Use it

Documentation

Support

Sibling projects

RIFE powered

Valid XHTML 1.0 Transitional

Valid CSS!

Blogs : Archives

avatar
< Bla-bla: Ta-da in Java (and Laszlo and RIFE)   Resizable Bla-bla List interface thanks to Laszlo 3.0b1 >
Re: Bla-bla List: Revisting a Rails app in RIFE

I'm posting this as a reply to David's post.

David, I intentionally didn't go into a language or framework comparison in my original post. I deliberately kept it very factual. Your comparison simply doesn't hold up. You can't just take a worst-case code snippet, compare it with your best-case snippet and make general statements about the whole technology. If your ratio would apply generally, I would have ended up with 4200 lines of code ... but I didn't, I ended up with 900.

As on my blog post, I will not make this a low-level code pissing contest. You said yourself that Ta-da List took 600 lines of code, they're probably just situated elsewhere. You did write those hundreds of lines of code.

David, I'm by no means saying that our technology is better or that yours sucks (however you seem to have a habit of doing so). We just can't make a decent comparison since you don't have the slightest clue about RIFE, just as I haven't got got the slightest clue about Rails, we both at best just skimmed the surface.

You can now however stop making your useless out-of-context lines of code statements, since they simply don't hold up anymore and make you look silly.

posted by Geert Bevin in RIFE on Mar 19, 2005 8:25 AM : 40 comments [permalink]
 

Comments

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Geert, I just bought the Tapestry in Action book and was going to spend some time learning the Tapestry web framework. But after reading some of these threads, I'm getting interested in RIFE.

How would you say RIFE compares to Tapestry. I was thinking about going something like Tapestry, hivemind, and hibernate. Would RIFE basically be a substitute for all three of these?

Also, I love that you built that stupid tada app and released it as open-source. Have you considered doing the same with Basecamp and how long do you think it would take?

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
I'll reply to your question in a couple of hours, need to leave for the rest of the day. Thanks for the interest! In the meantime, this mailinglist post might help you: http://www.uwyn.com/pipermail/rife-users/2004-September/000643.html (talks about Webwork and RIFE though)
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Please take a look at my http://tech.rufy.com/entry/19 about this whole Ruby vs. Java debate.
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Ooops, I meant: Please take a look at my blog entry about this whole Ruby vs. Java debate.
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
"Low-level code pissing contest", what a great phrase! From now on I shall strive to use the acronym LLCPC : )
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Come on stop this silly comparisons.. people want greater dumb comparisons, like PetStore!
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Keep trying, Geert.

One day you might even convince yourself. But for now, you're soundly beaten. You made a longer app, which does less, does not have the performance features, and has a user interface dredged up from the year 2000.

Less power, more code. Hrrm.

That flash interface was a clever touch. By using it you managed to hide the horrific mess which would be your HTML generation. Instead, you made a minimal output and let a flash app (which you don't have to codecount, even though you have to maintain it) handle it for you.

Where I come from, that's called punting, and it means you've given the other team the ball.

Why not make Basecamp next! Let's see how much you can mess up that application next!

Wait, so RIFE invalidates good user interface and design?
I wasn't aware that your choice of programming language validated your poor user interface design.

I was also unaware that caching shared lists was bad too. You're going to let Tadalist outperform you on serving shared lists and shared list RSS?

That's very bad of you, Geert. You're letting your tribe down.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Lol Mr. Anonymous, from where I stand it does a lot more and the interface it quite nice (others agree, judging from the spontaneous reactions that I get). Anyway, the Laszlo UI is one of many that will follow. Html generation would be a piece of cake and I'd not have to change any of the backend code for most of it. Don't ask me to back this up with code, I'm not going to you're gonna have to trust that I know my own shit.
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
"Html generation would be a piece of cake and I'd not have to change any of the backend code for most of it"

You don't say? Did you invent this concept of separating presentation from business? No? Oh, this is called what? Model view controller? Oh wait, isn't that what Rails works from. Ah, so Rails has this same flexibility of not having to change the backend for the frontend! Unless of course we are talking about another MVC here.

Wow, can I get in on that free ride too?
(This was posted in the wrong thread. Your blog software seems confused, Geert.)

I wasn't aware that your choice of programming language validated your poor user interface design. RIFE or no, you've got some serious problems in there. Like, how moving items doesn't nudge the scrollbar? Or how I can't copy-paste into those fields in Firefox? Or how I can't change the font sizes to suit my preference?

But, you're using RIFE, so it doesn't matter, right?

I was also unaware that caching shared lists was bad too. You're going to let Tadalist outperform you on serving shared lists and shared list RSS?

That's very bad of you, Geert. You're letting your tribe down.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Mr. Anonymous, read up on the things you're talking about and then come back, you seem to be a confused and bitter person.
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Speaking of bitter… It's really a clever strategy… drumming up support for your largely-ignored framework by *starting* a pissing contest / flame war with another, more popular framework.

You can't claim the high road here, as you started in you "oh, here's a bug… this framework is obviously inferior" post.

The real difference is if you prefer to develop in ruby, or you prefer to develop in java. Relax, guys, their relative merits all depend on what's important to you.

Please, Geert, come up with your own useful applications, and leave the bile to the folks on Javablogs. Competition, not flame wars, is what makes the good stuff happen.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Sorry, I didn't start the pissing contest, the general Rails-is-the-most-wonderful-thing-on-earth-Java-sucks attitude did. Don't try to turn things around.

I pointed out one important security flaw, just shut up about the number of other bugs I found (I'm not gonna list them, don't ask, I'm tired of you guys pulling everything out of context). The rest of the post was extremely factual and I never made a superiority or inferiority statement about Rails or RIFE. Stop trying to characterize me as things that I'm not and that I never said. This is getting extremely tedious.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
"The real difference is if you prefer to develop in ruby, or you prefer to develop in java. Relax, guys, their relative merits all depend on what's important to you."

I completely concur in my blog post.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Why does the Rails-is-the-most-wonderful-thing-on-earth-Java-sucks attitude piss you off so much Geert? It is just some people's opinions. Shouldn't people be allowed to think what they want? I understand if you disagreed with it, but you are obviously really mad at these people. To you it is not just about disagreeing. Why is that?
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Mr. Anonymous, I'm not even replying to this statement that once more pulls things out of context.
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Pulls things out of context! I am trying to let you explain yourself. You just said "I didn't start the pissing contest, the general Rails-is-the-most-wonderful-thing-on-earth-Java-sucks attitude did". I just wanted you to talk about your feelings instead of call people ignorant and make fun of people's hard work.
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Where did I make fun of people's work?
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
See, there you are avoiding your feelings again. I wanted to talk about why you are so mad, and all you want to do is add fuel to the fire. Talking to you is sometimes like talking to a child.
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Anonymous seems to be some sort of highly advanced piss-me-off-bot. Is Stanford missing an AI?
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Anonymous, I'm not mad, you're the one that keeps on posting and putting fuel on the fire, and indeed you make me think of some kind of modern version of that old psychiatrist AI app (what was the name again). Anyway, I think I'm gonna let you have the last word and stop replying (since you'll evidently say something inciting in your next post again). Btw, you're pretty lame for doing this as anonymous
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
While I shouldn't respond for Geert, I think the most obvious answer, "Mr. Anonymous," is that when you think someone is ragging on something you know and like and doing it without much factual basis, you're inclined to respond in an effort to set the record straight. Why is this not just about disagreeing to *you?*

Personally, I like a lot of what I see about Rails and Ruby, and I've never been able to get my head around Java (it's always struck me as very unnecessarily verbose). But frankly, I can understand why DHH's particular style of enthusiasm can get under one's skin, particularly when it gets amplified through the echo chamber by rabid fans. As a Mac user, I dealt with the incessant rah-rah-rah about DHH's text editor, TextMate. A lot of the "cheerleading" was actually beating up on the market leader, BBEdit; a lot of the beating was, well, we'll say "not entirely informed."

I don't particularly see why the world can't have RIFE and Rails and Perl's Maypole and what have you. Each have their own strengths and weaknesses, and ultimately the biggest strength and/or weakness in each one is the language itself. You use what you're comfortable with and what you have an investment in. Rails' success will not mean that every company using Java internally will suddenly switch; proving that you can do roughly the same thing in RIFE that you can do in Rails will not mean that Ruby fans will suddenly abandon it. I think *most* people who are not already invested in Java will find Rails easier to learn and to use. That doesn't mean that it will be the perfect thing for all applications, and it doesn't mean that someone who's very competent with another application framework would gain anything from moving to Rails.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Thanks Watts for having explained this so eloquently.
Re: Re: Bla-bla List: Revisting a Rails app in RIFE
"when you think someone is ragging on something you know and like and doing it without much factual basis"

That is exactly what you guys are doing to DHH. David mainly reposts emails or blog entries from other people's experiences. He does not rag on Java nearly as much as you guys claim. From my own blog:

Do you guys actually read the articles from DHH’s site or do you just look at the headlines in a list from Google? DDH has spent a good chunk of time doing Java development, he is not just pulling this out of nowhere. His blog is not about putting Java down, it is about recounting his and others experiences with different technologies.

For example, one post leads with the title: Java is ‘too easy’. If you just read that, you might say, “see, David is putting Java down". Actually, no he isn’t. Read the first line from that post:

“Let me underline one thing: There are surely many great Java programmers and there are surely many great ideas coming out of the Java community.”

He goes on to quote another Java developer’s blog, someone completely unrelated to the Rails community. In fact, almost all of these posts are simply recounting other people’s independent experiences with Java. I challenge you to show how this is making fun of Java.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
"you're inclined to respond in an effort to set the record straight"

How can you set the record straight if DHH is posting people's experiences? You can't change the way people experience Java or Rails. Some people experience it to be 10x greater productivity. Good for them. You have no right to try to say they are wrong about their own experiences.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Looking at various Java web hosting solutions, one thing that sticks out to me are the memory requirements. Curious to know; what are the resources required to implement a Bla-Bla List site? Does the RoR solution require as deep of a memory footprint?

According to the Laszlo site, the Laszlo Presentaion Server requires the following:

Java Runtime Environment (JRE) 1.4 or greater. Note that LPS requires the Java SDK, since Jakarta Tomcat, the servlet container that ships with LPS, needs the Java SDK. Tomcat 5.0.24 or Jetty I suppose since the Rife User Guide recommends it. 175 MB of Free disk space; 512 MB physical RAM and a system with a 800 Mhz processor or greater required, 1GHz recommended. In additon to your database of choice and the RIFE Framework.

How does this compare to RoR's requirements?

Thanks for your insights.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Hi mozkit,

actually, the initial JVM and application server footprint are large. I don't know exactly how much, but lauching Jetty with Bla-bla here takes about 25MB. After that it's up to you how you want to configure the application and how many concurrent connections you allow. I tried running it with only 8MB of heap available to the JVM and that worked. I ran 300 requests with a concurrancy of 10 users and the memory seemed to cap at 48MB in total.

On our server though, we just allocate 1GB to the servlet container and run all our apps in it. Much of the memory is certainly unused, but I have no statistics about it.

Since Laszlo 3.0b2, you don't need the LPS anymore for most deployments, the applications are simple flash files that can be deployed standalone. Which is what I did with Bla-bla List's current UI.

Hope this helps.

Best regards,

Geert

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
One Rails fastcgi server requires about 8-12 MB RAM.

How many fcgi servers you need depends on how many pages can be cached. Requests to cached pages are be handled by the webserver, so for something like a Blog that is changed only a few times per day, you won't need more than one fcgi server, no matter if your website get one or one million hits per day.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Thanks for your insights, Geert. I didn't realize that the latest Laszlo beta dropped the need for server deployment. This is a move in the right direction.

Considering that your server has 1GB of memory allocated to the servlet container, would you recommend a dedicated server or could one get by with a VPS solution (see link below)?

http://rimuhosting.com/order/startorder.jsp

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Hi Mozkit,

I have tried many server solutions over the years and while VPS works well, you share the resources with other people. Also, if you go price hunting, I really noticed that the lowest price often gives you problems with service and stability later on. Personally, I recently signed up for a dedicated server with serious support and a good network infrastructure. If that's the way you want to go I suggest you look at http://leaseweb.nl, http://solidhost.com and http://rackcheck.com If you want low-cost, http://server4you.net is the one I used before.

I don't know where you can get good VPS hosting nowadays. You're probably best off searching on http://webhostingtalk.com

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
>>when you think someone is ragging on something you know and like and doing it without much factual basis"

>That is exactly what you guys are doing to DHH. >David mainly reposts emails or blog entries from other people's experiences.

Other than the fact that DHH himself admits: "love picking on Java programmers"., from http://www.loudthinking.com/arc/000260.html

I can understand if someone blogging about other people experiences, but _picking_ on others (???). Is DHH a teenager?

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
While I don't want to go too far down this road, my eyebrows are raised slightly at "you guys"; I made one post--in which I explicitly said I was a fan of Rails and not particularly enamored of Java. And I'm not particularly critical of DHH, save for the observation that his evangelism style tacitly encourages a "how much better 'Foo' is than all that icky 'Bar' stuff" mindset. I've been 'round this bend with the editor of OS News before: why, she wasn't Mac bashing, she was just linking to all these people posting their honest experiences of why the Mac sucks! How silly of anyone to accuse her of being biased.

And, y'know, unlike the OS News editor, I don't think it's wrong for DHH to be biased. Rails is his baby and he's the primary evangelist for it. And probably, it wouldn't have gotten all the attention and buzz about it if he'd had another evangelism style that didn't ruffle feathers of those who like other platforms. If it was just about following "DRY" rigidly and having a "write a web application in 18 lines!" tutorial schtick, we'd all be talking about Maypole. ;)

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
I am not going to debate you on whether each and every article DHH writes is poking fun at people, but in "I love picking on Java programmers", I got the strong impression that he was standing up for the power of scripting languages more than saying "ha ha, Java guys are so stupid".

Please show me quotes from the posts, not the titles of posts which in DHH's case rarely express the point of his articles.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Honestly, are all Rails users 17 year old kids? I've seen more maturity from a group of 15 year olds than all this picking on everyone else… gang mentatlity out of place. You may be right, but shouting your mouths off isn't the way to win friends.

Grow up guys…

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
For the Anonymous poster that was interested in a Tapestry comparison, could you please ask this question on the mailing list, I don't thing this is the correct place for it.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
For the Anonymous poster that was interested in a Tapestry comparison, could you please ask this question on the mailing list, I don't thing this is the correct place for it.

Ok, will do. The document you did provide was very informative. Thanks.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
If people spent half as much time coding as they do bitching about their toys being better than others', then we'd have some pretty cool stuff out here.

It's not even up for debate whether or not one's choice of scripting-/programming-language is a personal preference… If it wasn't a personal preference, then we ought to have one perfect - or perhaps two semi-perfect - programming languages by now.

Now, I haven't read much up on this debate, but I've heard a couple of things here and there - and I find it really hard to believe that Bevin should be bad-mouthing Ruby on Rails as some claim… There's a pretty big difference between bad-mouthing and merely saying that it's over-hyped… I haven't tried out neither Rails nor RIFE, so I can't really say anything on that issue, but even to me (and I _am_ a Ruby guy) Rails seems a bit overrated… From what I've heard it seems great and all, but I still prefer to keep simple things simple… No need to use Rails (or RIFE) for a simple "Hello World" if that's all one wants.

It's just sad to see all the good coders spending so much time on LoC-penis-size contests instead of doing what they do (and hopefully: like) the best - coding.

Just my 2 euro-cents.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Actually Madsen, this bitching about toys is one method communities use for learning. Flame wars usually have at least a few interesting nuggets if you can just get past all the flaming.

My personal take is that RoR has some neat ideas and since it's new it's fun to play with. Having said that I think Java is still better for the simple reason that there are sooo many open source libraries implemented in Java. I can build a web app on top of the Servlet API with Velocity for views without breaking a sweat. It's a little bit more work than RoR but where it really starts taking off is when I have to start integrating with other systems and services. A fine example is communicating with Yahoo IM. I still haven't found a Ruby implementation of the ymsg protocol. Then again maybe I just don't know where to look, but the point is a Google search for "java yahoo im" turns up useful libraries immediately, whereas "ruby yahoo im" does not.

Ruby has a lot of potential, as does RoR, but it still needs some more time to cook.

Re: Re: Bla-bla List: Revisting a Rails app in RIFE
Oh come on guys - where's the love? Surely some good will come of this - no pain not gain :)

But that is not why I'm commenting… seems to be some sort of highly advanced piss-me-off-bot. Is Stanford missing an AI?

posted by F.Baube

That made me blow my coke over 1/3 of my monitor and all of my paper work from today. Thanks a lot.

Add a new comment

:) ;)
=) :-)
:'( :(
:/ :D
:| :p
:o 8)
Your email address will not be displayed at anytime on any page.
Only provide your email address if you'd like updates on this entry
and it's comments by email.
Please answer this simple math question:
14 + 3 = 
 
 
  

Manage subscription

Remove email:
 

< Bla-bla: Ta-da in Java (and Laszlo and RIFE)   Resizable Bla-bla List interface thanks to Laszlo 3.0b1 >
 
 
 
Google
rifers.org web