JBoss Seam, Stripes and Hibernate: An Irreverent Look at Java Software Frameworks & RoR JBoss Seam, Stripes e Hibernate: Un irriverente Vedi software Java quadri & RoR
What is it with all these frameworks? Che cos'è con tutti questi quadri? Why can’t JBoss Seam or even good ‘ol Hibernate give me a simple HelloWorld example anymore? Perché non può JBoss Seam, o addirittura buono 'ol Hibernate darmi un semplice esempio HelloWorld più?
Also have you noticed how complex it is to setup the whole JBoss Seam in the first place? Inoltre hai notato come è complessa per l'intera installazione di JBoss Seam, in primo luogo?
I am a simple person and Stripes looks much simpler. Io sono una semplice persona e strisce appare molto più semplice. They also have a HelloWorld or Calculator, an absolutely simple example which you can build upon and play with. Essi hanno anche un Ciao o Calcolatrice, assolutamente semplice esempio che si può costruire su e giocare con. Also note how the examples are built without database requirement to setup. Anche notare come gli esempi sono costruiti senza obbligo di database di configurazione. It took me about 5 minutes to setup and run the first example. Mi ci sono voluti circa 5 minuti per l'installazione ed eseguire il primo esempio. If I were to judge a software solely by its documentation, JBoss Seam fails. Se dovessi giudicare un software esclusivamente dalla sua documentazione, JBoss Seam fallisce.
I dabbled with Hibernate before. I dabbled con Hibernate prima. Now I need to wet my feet again and I remembered an old question. Ora ho bisogno di bagnare i miei piedi di nuovo e ho ricordato una vecchia questione. Why in the world did they have to develop a query language like SQL? Perché nel mondo non devono sviluppare una query SQL come lingua? Why not SQL? Perché non SQL?
The problem with Seam or Hibernate type documentation is that they are not organized with readers in mind, they don’t take the readers step by step into the labyrinth of the mess they have created wonderful software they have created. Il problema di Hibernate o Seam tipo di documentazione è che non sono organizzati con i lettori in mente, che non tengono i lettori passo dopo passo nel labirinto del caos in cui avessero creato meraviglioso software che hanno creato.
Reading each paragraph convinces you that the author was in real hurry , like in the last throes of death, while he was writing these chapters. Lettura ogni paragrafo si convince che l'autore è stato in fretta reale, come negli ultimi pene di morte, mentre egli è stato iscritto questi capitoli. It makes such chapters almost humanly impossible to understand without feeling absolute disgust and revulsion about software development in general. Rende tali capitoli umanamente quasi impossibile capire senza senso assoluto disgusto e orrore circa lo sviluppo del software in generale. They make development a chore, a never-ending horror story. Fanno uno sviluppo chore, non finisce mai di orrore storia. Everything and their great-anchestors are crammed into these chapters. E tutto il loro grande-anchestors sono stipate in questi capitoli.
The only purpose they serve is to convince the readers to cough up and buy their books. Il loro unico scopo è servire a convincere i lettori a tosse e acquistare i loro libri.
Do you know why RoR flourish? Sapete perché RoR prosperare? Not because they have something great or convoluted. Non perché non hanno qualcosa di grande o convoluted. It is because one fine guy has taken the time to create a framework which makes it simpler to develop applications and not make it even more complex than the problem it solves. È perché un bel ragazzo ha preso il tempo di creare un quadro che rende più semplice di sviluppare applicazioni e non per rendere ancora più complessa di quanto il problema si risolva.
Hibernate and Seams team should read RoR and Stripes documentation before they embark on a massive rewrite of their tomes. Hibernate e Cuciture squadra dovrebbe leggere RoR and Stripes documentazione prima di imbarcarsi su una massiccia riscrittura del loro tomi.
Even PHP Manual is a tome but a very readable tome. Anche manuale PHP è un tomo ma un tomo molto leggibile. Tomes don’t have to be PITA. Tomi non devono essere pita.
One drawback with Stripes documentation is that it is still minimal. Uno svantaggio con Stripes documentazione è che è ancora minima. Tag library javadoc doesn’t substitute for documentation. Etichetta libreria javadoc non sostituisce per la documentazione.
All in all I highly recommend Stripes framework. Tutto in tutti I highly recommend Stripes quadro. It solves only half of the puzzle which RoR solves fully. Ne risolva solo la metà del puzzle che risolve completamente RoR. However it does it very well, even better than RoR. Tuttavia lo fa molto bene, anche meglio di RoR.
With the other half completed, RoR will finally stop roaring so much Con l'altra metà a termine, RoR finalmente fermata ruggente così tanto ![]()
To All Framework Authors: Please for the love of whoever you love take the effort to make something simple and elegant. Tutti i quadro Autori: Vi preghiamo per l'amore di chi si ama prendere lo sforzo di fare qualcosa di semplice ed elegante. And please spend twice as much time writing documentation which are for human consumption. E vi prego di spendere due volte tanto tempo a scrivere documentazione che sono per il consumo umano. Please read K&R, PHP Manual etc. to get a hang on writing easy to understand and interesting documents. Si prega di leggere K & R, Manuale PHP ecc, al fine di ottenere un blocco sulla scrittura di facile comprensione ed interessanti documenti.
BTW: Hibernate with Annotation has a nice thing going, if only they knew how to document clearly. BTW: Hibernate con Annotazione è una bella cosa che, se solo sapessero come documento chiaramente.
If there is one thing I really hate about today’s java software frameworks, it is their documentation. Se c'è una cosa che odio davvero circa di oggi quadri del software Java, è la loro documentazione. The bottomline is framework must make our life simpler. Il quadro di fondo è necessario rendere la nostra vita più semplice.
To summarize the points that can be addressed while documenting frameworks are. Per riassumere i punti che possono essere affrontate mentre documentare quadri sono.
- Start with a simple example; very simple one Iniziamo con un semplice esempio; molto semplice
- Say a simple story and carry it through the spectrum of broad capabilities Dire una storia semplice e procede attraverso il ampio spettro di capacità
- Now delve in the complex details and exceptions and overrides. Ora approfondire in dettaglio la complessa ed eccezioni e di ignorare.
- Stop flaunting your expertise. Stop flaunting le tue conoscenze.
In times such as this I head over to bile blog. In periodi come questo mi capite nel blog di bile. He knows the pain which most framework developers (with the exception of Stripes and RoR) don’t. Egli conosce il dolore che la maggior parte quadro sviluppatori (con l'eccezione della Stripes e RoR) no.
Update: An article without an example is bland. Aggiornamento: Un articolo senza un esempio è blando. So let me illustrate with a simple example from Seam. Così mi permetta di illustrare con un semplice esempio da Seam.
The heading of the chapter is: Chapter 2. Il titolo del capitolo è: Capitolo 2. Seam concepts Cucitura concetti
The two core concepts in Seam are the notion of a context and the notion of a component. I due concetti fondamentali in filone sono la nozione di un contesto e la nozione di un componente. Components are stateful objects, usually EJBs, and an instance of a component is associated with a context, and given a name in that context. Componenti sono stateful oggetti, di solito EJB, e un 'istanza di un componente è associato a un contesto, e dato un nome in questo contesto. Bijection provides a mechanism for aliasing internal component names (instance variables) to contextual names, allowing component trees to be dynamically assembled, and reassembled by Seam. Bijection prevede un meccanismo di aliasing componente interno nomi (nomi variabili esempio) a nomi contestuale, permettendo componente alberi per essere assemblati dinamicamente, e riassemblati di Seam.
Read it once, twice and then tell me if you understand what they are talking about. Leggerlo una volta, due volte e poi dirmi se si capire ciò che stanno parlando. To me it reads like incoherent rambling of technical jargon, not a documentation. Per me si legge come incoerente escursioni di gergo tecnico, non una documentazione.
First “context” in this context is not defined despite being mentioned. Primo "contesto" in questo contesto non è definita, nonostante essere menzionato. Then they simply include it in a sentence. Poi si sono limitate a inserirlo in una frase.
“Components are stateful objects, usually EJBs, and an instance of a component is associated with a context, and given a name in that context.” "I componenti sono stateful oggetti, di solito EJB, e un 'istanza di un componente è associato a un contesto, e dato un nome in questo contesto."
I don’t know where to begin. Non so da dove cominciare. Is it too much to expect a proper and meaningful yet simple sentence? E 'troppo attendersi una corretta e semplice ma significativa frase?
“Bijection provides a mechanism for aliasing internal component names (instance variables) to contextual names, allowing component trees to be dynamically assembled, and reassembled by Seam.” "Bijection prevede un meccanismo di aliasing componente interno nomi (nomi variabili esempio) a nomi contestuale, permettendo componente alberi per essere assemblati dinamicamente, e riassemblati di Seam".
Why wasn’t “bijection” introduced earlier? Perché non è stato "bijection" ha introdotto in precedenza? What is the context? Qual è il contesto?
This strange sentence probably makes sense only to a Seams developer. Questa strana frase, probabilmente ha senso solo a un Cuciture sviluppatore.
Are they being penalized to write simple meaningful sentences? Siano essi di essere penalizzato per scrivere semplici frasi significative? Have they read their own documentation ever? Essi hanno letto le loro documentazione mai? Or have their brain become soft working on frameworks so as not to be able to comprehend the problem? O hanno il loro cervello diventare morbido di lavoro a quadri in modo da non essere in grado di comprendere il problema?
This is merely the tip of iceberg. Questo è solo la punta di iceberg. Such haphazard, poor quality documentation is all throughout. Tali casuale, scarsa qualità della documentazione è tutto in tutto.
Filed under Elencato sotto Headline News Headline News , Java Software Software Java , PHP , Web | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | questo articolo |
Email this Article Invia questo articolo
You may also like to read Si può anche leggere come |





October 25th, 2005 at 10:47 am 25 ottobre 2005 a 10:47 am
Interesting, that’s the first time so far I read a global negative feedback on Hibernate Annotations documentation. Interessante, che è la prima volta che finora ho letto un feedback negativo globale sul Hibernate Annotazioni documentazione. This is usually the opposite, and the opposite on the Hibernate doc as a whole. Questo è di solito il contrario e il contrario di Hibernate sulla doc nel suo complesso. So maybe that’s just you esp since you had to use more than 500 words to express this idea Così forse questo è solo voi esp poiché ha dovuto utilizzare più di 500 parole per esprimere questa idea
BTW, you should now that writing a book is a real PITA and don’t really feed you. BTW, si dovrebbe ora che la scrittura di un libro è una vera pita e non è davvero mangimi. So such evil plan just does not make sense. In modo tale piano solo il male non ha senso.
October 25th, 2005 at 11:58 am 25 ottobre 2005 a 11:58 am
@Emmanuel @ Emmanuel
It would be great if it is only me, but I seriously doubt it. Sarebbe bello se solo me, ma io ho seriamente in dubbio. The documentation may look great to you as you are possibly immersed in hibernate. La documentazione può sembrare grande a voi come sono, eventualmente, si immerse in ibernazione. But look at it, or ask someone to, from the perspective of an outsider wishing to learn this framework (possibly on a deadline). Ma guardi, o chiedere a qualcuno, dal punto di vista di un estraneo che desiderano imparare in questo quadro (possibilmente su una scadenza).
> So maybe that’s just you esp since you had to use more than 500 words to express this idea > Quindi, forse questo è solo voi esp poiché ha dovuto utilizzare più di 500 parole per esprimere questa idea
I used 500 words that to cover Hibernate (with/without) annotations, Stripes and Seams Ho utilizzato 500 parole che a coprire Hibernate (con / senza) annotazioni, Stripes e Cuciture
I do know Hibernate. So di Hibernate. It is Hibernate with Annotations which is new to me. Si tratta di Hibernate con annotazioni che è nuova per me.
> you should now that writing a book is a real PITA and don’t really feed you. > È necessario ora che la scrittura di un libro è una vera pita e non è davvero mangimi. So such evil plan just does not make sense. In modo tale piano solo il male non ha senso.
I am running out of ideas to explain such painfully hard-to-read docs. Io sono per esaurirsi di idee per spiegare tali dolorosamente difficili da leggere docs. You can possibly help me to understand why it is so. Si può eventualmente aiutarmi a capire perché sia così.
The problem is not that they do not contain information. Il problema non è che non contengano informazioni. They do. Che fanno. However it is not clearly presented in a phased manner. Tuttavia essa non è chiaramente presentata in un modo graduale. They are just crammed haphazardly. Sono solo stipate in modo casuale. Please consider revising the docs with some professional technical writers. Vi preghiamo di prendere in considerazione la revisione del docs professionale con alcuni redattori tecnici.
I tried to summarize at the end how I think the docs can be improved. Ho cercato di riassumere, alla fine come credo che la documentazione può essere migliorata. You can probably take a leaf out of Picocontainer’s idea of 1-minute introduction, 2-minute introduction and 5-minute tutorial etc. Sarà probabilmente possibile prendere una foglia di PicoContainer's idea di 1 minuto introduzione, a 2 minuti introduzione e 5 minuti di guida ecc
Look at it this way. Vedere le cose in questo modo. You guys have spent lots of time in creating a good framework which have own critical acclaim. Voi ragazzi hanno trascorso molto tempo nella creazione di un quadro normativo adeguato che sono proprie critica. Would’t you like to make it easier for people to understand? Would't che ti piace di rendere più agevole per le persone a capire?
October 26th, 2005 at 1:03 pm 26 ottobre 2005 alle 1:03 pm
Quality of documentation is something I’ve spend quite a bit of time thinking about over the years, and I think it boils down to something very simple. Qualità della documentazione è qualcosa che ho trascorrere un po 'di tempo a pensare nel corso degli anni e penso che si riduce a qualcosa di molto semplice. You have to write documentation that is structured in the manner your reader needs it. Devi scrivere la documentazione che è strutturato in modo vostro lettore ne ha bisogno. The easiest way to write documentation is to write it in a structure parallel to your software. Il modo più semplice per scrivere la documentazione è quello di scrivere in una struttura parallela per il vostro software. That leads to more of a reference, which is only useful once you already know your way around. Che porta a più di un riferimento, che è utile solo una volta che si conosce già il vostro senso intorno. And you still have to piece lots of things together when you want to get something done. E avete ancora a pezzo tante cose insieme, quando si desidera ottenere qualcosa di fatto.
My approach these days is to think through the question “what are my users going to be trying to do” and then write documents about that. Il mio approccio è in questi giorni a pensare attraverso la domanda "quali sono i miei utenti saranno cercando di fare" e poi scrivere documenti in merito. I’m glad you like the results Mi fa piacere che ti piace i risultati
-Tim Fennell Tim-Fennell
stripes: righe: http://stripes.mc4j.org
October 26th, 2005 at 11:37 pm 26 ottobre 2005 alle 11:37 pm
@Tim @ Tim
> You have to write documentation that is structured in the manner your reader needs it. > Devi scrivere la documentazione che è strutturato in modo vostro lettore ne ha bisogno.
I fully agree with you. Sono pienamente d'accordo con te. This is also the reason why documentation shouldn’t be created by developers in the first place. Questo è anche il motivo per cui la documentazione non deve essere creato da sviluppatori, in primo luogo.
Writing good documentation is art. Iscritto buona documentazione è arte. Who are my readers? Che sono i miei lettori? What are their use cases? Quali sono i loro casi d'uso? How easy can I make it for them. Facile come posso fare per loro. As we write use cases for development, I think we should write use cases for documentation too. Come abbiamo scrivere casi d'uso per lo sviluppo, credo che dobbiamo scrivere i casi d'uso per la documentazione.
@Emmanuel @ Emmanuel
> BTW, you should now that writing a book is a real PITA and don’t really feed you. > BTW, si dovrebbe ora che la scrittura di un libro è una vera pita e non è davvero mangimi.
Unless you are Mrs. Rowling or Vikram Seth A meno che non si sono signora Rowling o Vikram Seth
February 19th, 2006 at 8:06 pm 19 febbraio 2006 a 8:06 pm
Testimonials Testimonianze
Introduction Since Stripes was released in September 2005 people have been saying a lot of nice things about it. Introduzione Dal Stripes è stato rilasciato nel settembre 2005 persone sono state dicendo un sacco di belle cose su di esso. This page pulls together some quotes from people who have found Stripes one way or another and, unsolicited,… Questa pagina tira insieme alcune citazioni di persone che hanno trovato Stripes in un modo o nell'altro, e non sollecitate,…
June 29th, 2006 at 3:47 am 29 giugno 2006 alle 3:47 am
There are some bugs in the Stripes Framework. Ci sono alcuni bug nel quadro Stripes.
(i) I have given (i), io l'ho data
@Id SetId(){} and getId(){} methods in Entity Class and extended the in my POJO. @ Id SetId () () e getId () () metodi di classe di entità e ha esteso la nel mio POJO. Stripes is not accessing the methods of its superclass of POJO. Strisce non è l'accesso ai metodi della sua superclasse di POJO.
(ii) I am putting a object in memory using wizard forms. (ii) sono mettendo un oggetto in memoria, con procedura guidata di forme. But it is retaining the values across the pages. Ma è il mantenimento dei valori in tutta l'pagine.
Hope someone give some solution to these problems. Speranza che qualcuno dare soluzione a questi problemi.
thank, ringraziare,
prasd
September 13th, 2006 at 7:02 am 13 settembre 2006 a 7:02 am
Stripes Around The Web Strisce intorno al web
Libraries Built With Stripes Reflection Facets Biblioteche costruito con strisce di riflessione sfaccettature
November 2nd, 2006 at 6:04 am 2 novembre 2006 a 6:04 am
Nice article. Nizza articolo. the only thing that i can do is just agree with you. l'unica cosa che posso fare è solo d'accordo con lei. Just read the seam documentation for setting up a simple project. Basta leggere la linea di giunzione documentazione per la costituzione di un semplice progetto. Or just test their examples and try to debug them if something goes wrong. O semplicemente testare i loro esempi e tenta di eseguire il debug di loro se qualcosa va storto. Bad documentation is not better than no documentation. Bad documentazione non è meglio di alcuna documentazione. I believe the best way to document a framework is to provide really stupid samples and example projects. Credo che il modo migliore per documentare un quadro è quello di fornire campioni veramente stupido e progetti di esempio.
December 4th, 2006 at 9:59 am 4 dicembre 2006 a 9:59 am
I agree with you on “The problem with Seam or Hibernate type documentation is that they are not organized with readers in mind, they don’t take the readers step by step into the labyrinth of the mess they have created wonderful software they have created.” Sono d'accordo con lei su "Il problema con Seam Hibernate o tipo di documentazione è che non sono organizzati con i lettori in mente, che non tengono i lettori passo dopo passo nel labirinto del caos in cui avessero creato meraviglioso software che hanno creato. "