Archive for Java

Django blurb: SEAM bijection

Posted in programming, thoughts with tags , , , on October 23, 2008 by bey0ndy0nder

Ahh… Another reason for why I’m having the impression I’m having… SEAM supports the so called bijection… I’m so used to doing stuff using bijection…

I need to collect my thoughts on this and will post more in the future.

Django blurbs: Genshi

Posted in programming, thoughts with tags , , , , , , , on October 23, 2008 by bey0ndy0nder

Maybe my impression is due to being more used to an XML based template engine. Perhaps after my mind starts to grasp at the more familiar (XML based templating), my impression will change. I’m really used to JSF, together with Facelets… Combined they kick much ass on the presentation side.

So I’m going to take Genshi out for a ride and see if it changes my opinions.

Still, SEAM has that stateful framework which I have been telling you (yes, I’m going to blog it soon), that I’m really, really into… Hehe. Let’s hope there is something equivalent in Django.

Django blurb: Day 2 (impressions)

Posted in programming, thoughts with tags , , , , on October 23, 2008 by bey0ndy0nder

So I’ve been doing the Django tutorial… Just finished part 3, have not started the form processing one yet. Here are some impressions, comparing it with SEAM:

*Java 2, JSF, EJB3, Hibernate, and SEAM seem more powerful:

Perhaps I’m just looking at it from the wrong angle. My impression so far, is that with all the different things that Java 2 and friends offer seems MUCH more powerful and much more expressive (i.e. it is full featured). At least it seems that way to me. What is my definition of powerful? Well, with SEAM tying together JSF and EJB3 and the so called Stateful framework (e.g. long running conversations), not to mention Richfaces or Icefaces; my impression is that one can develop much more advanced apps, using provided offerings of the SEAM framework. (Gavin King and friends have mucho resprect from me. I bow down to you greatness) Of course, this is simply an initial observation, without any concrete backing of real experience and data, given that I’ve only been messing around with the tutorials. Also I’m sure one can accomplish the exact same thing using the two frameworks, but it is a matter of how much hoop one is willing to jump through.

Perhaps that is not what Django is about. But definitely Java 2 and SEAM just seem much more enterprisy…To be fair, I need to read all the Django docs like I did the SEAM docs before I make that final call.

Django offers the whole Ruby on Rails thing (note, never messed with ROR) with manage.py. Seam offers the same functionalties with SEAM-GEN. But to me manage.py is more user friendly and seems like it has more to offer. However, I think one can accomplish the same with both.

*Django learning curve is low:

So far, Django has been a breeze to understand and learn. Compared that against the whole J2EE EAR, WAR, XML shebang, it’s much easier to grasp for a beginner, conceptually. But SEAM offers SEAM-GEN which helps with managing the J2EE ‘web-app structure.’ Still, my first impression is Django is easier to learn.

*Python beats Java

Yes… Python rocks. Nuff said.

Please excuse my lame … excuse for this massive exercise in hand-waving. I’m having fun so :P

I will probably get into the nitty gritty of the SEAM stateful framework in a future post and how it compares with what Django has to offer.

Maybe Django has everything that SEAM has… If so, with Django having Python on it’s side, I think Django gets the Gold… If that is the case. But at this point SEAM just seems that much more professional.

What would really kick ass is SEAM in Python!!! Or something equivalent.

And I guess I do have a SEAM fetish afterall.

Oh BTW… Django fantatics don’t kill me please… I am a coward… You win…

Django blurb:

Posted in django, programming, python, thoughts with tags , , , on October 22, 2008 by bey0ndy0nder

Task: Need to make a little web-app for a relative of mine who runs a small business.

So I’ve decied to go with Django. Why? Of course I wanted to use SEAM, not because of some Java SEAM (and to a certain extent, JBoss) fetish, but mainly because this is what I have been using, thus I don’t want to abandon it. But, I’m using a shared host that is mainly Apache (no mod_python) based, that is, it’s not a J2EE application server. So can’t use SEAM there. However, it does have python support (I’m going to use FastCGI)… So I’m saved! Yeah.

I’ve been doing the DJango tutorial, so far it kicks ass. Everything is just so succinct, it’s beautiful man. Python is a work of art, imho! Doing web work with Python will be a blast!

One of the biggest thing that SEAM touts is the so called stateful-web-application (which I’m not going to get into right now), the SEAM stateful framework is one of the major features that supposely makes it stand out. I do not have much experience with various web-app frameworks, so I can’t tell you whether that is true or not. However, I will blog about experiences with Django and will try to make a comparison against SEAM. In the sense of ease of use, features, etc. (Definitely not going to go near the scalability question).  Of course I’m probably comparing apples with oranges… And I only have intermediate knowledge of SEAM, and web development in general. Since this is my blog, I will just blog it, I don’t care whether it makes sense, is right, or whatever. *Shrugs*