|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Startup DocumentationHi,
I'm considering using Berkano for a project. Is there any usable documentation that might help me get started. I just want to accomplish the task of creating the tables and then creating a user. Thanks. |
|
|
Re: Startup DocumentationHi,
I know documentation is lacking big time, and unfortunately I don't have much time in my hands currently. Creating the db can be done using the script found in http://berkano.codehaus.org/User+Datamodel which is nothing than the script generated by hibernate tools. Creating a user is pretty straightforward by insert statements in the db, otherwise using the ui - as long as your app is not secured ;) I'll be able to help more if you're going to use Webwork2.2.x, Picocontainer and Hibernate, otherwise, there are gonna be missing pieces. I could still help, but you'd probably have to get your hands dirty too ;-) Let me know how it goes - I could provide samples if you have specific questions. Cheers, greg On 21/03/06, Zarar Siddiqi <zarars@...> wrote: > Hi, > > I'm considering using Berkano for a project. Is there any usable > documentation that might help me get started. I just want to > accomplish the task of creating the tables and then creating a user. > > Thanks. > |
|
|
Re: Startup DocumentationHi,
I'm using Webwork 2.2.x, Hibernate and Spring IOC and PostGres and would like to use the Webwork Actions supplied by Berkano. I just need a starting point and I'll work from there. Thanks. Zarar On 3/21/06, Grégory Joseph <joseph.gregory@...> wrote: > Hi, > > I know documentation is lacking big time, and unfortunately I don't > have much time in my hands currently. > > Creating the db can be done using the script found in > http://berkano.codehaus.org/User+Datamodel which is nothing than the > script generated by hibernate tools. > Creating a user is pretty straightforward by insert statements in the > db, otherwise using the ui - as long as your app is not secured ;) > > I'll be able to help more if you're going to use Webwork2.2.x, > Picocontainer and Hibernate, otherwise, there are gonna be missing > pieces. I could still help, but you'd probably have to get your hands > dirty too ;-) > > Let me know how it goes - I could provide samples if you have specific > questions. > > Cheers, > > greg > > > > On 21/03/06, Zarar Siddiqi <zarars@...> wrote: > > Hi, > > > > I'm considering using Berkano for a project. Is there any usable > > documentation that might help me get started. I just want to > > accomplish the task of creating the tables and then creating a user. > > > > Thanks. > > > |
|
|
Re: Startup DocumentationZarar,
You basically need 3 things * setup webwork so that it uses your ioc container to instanciate actions * setup xwork like here http://berkano.codehaus.org/Berkano+User+UI+for+WebWork to include and declare to berkano actions * wire at least the components indicated here http://berkano.codehaus.org/Components+required+for+Berkano+User+UI However, I have no clue how this might work with Spring. Basically, the Berkano DAOs rely on the fact that they get an hibernate Session injected in their constructor, and that functionality is provided by nanocontainer/persistence. You might have to do a bit of coding or research for this to happen with Spring, I'm unsure. You'll definitely want to check nanocontainer/nanowar, nanocontainer/persistence and berkano's code to get an idea of how this all get together. I'd be very happy to hear your feedback if you get it running with Spring ! Also note is that I currently rely on Seraph to do the authentication/authorization in my applications, and some of this had to leak into Berkano (Like the AuthenticationContext, which is used to modify the current user's preferences) HTH, greg On 21/03/06, Zarar Siddiqi <zarars@...> wrote: > Hi, > > I'm using Webwork 2.2.x, Hibernate and Spring IOC and PostGres and > would like to use the Webwork Actions supplied by Berkano. I just > need a starting point and I'll work from there. > > Thanks. > Zarar > > On 3/21/06, Grégory Joseph <joseph.gregory@...> wrote: > > Hi, > > > > I know documentation is lacking big time, and unfortunately I don't > > have much time in my hands currently. > > > > Creating the db can be done using the script found in > > http://berkano.codehaus.org/User+Datamodel which is nothing than the > > script generated by hibernate tools. > > Creating a user is pretty straightforward by insert statements in the > > db, otherwise using the ui - as long as your app is not secured ;) > > > > I'll be able to help more if you're going to use Webwork2.2.x, > > Picocontainer and Hibernate, otherwise, there are gonna be missing > > pieces. I could still help, but you'd probably have to get your hands > > dirty too ;-) > > > > Let me know how it goes - I could provide samples if you have specific > > questions. > > > > Cheers, > > > > greg > > > > > > > > On 21/03/06, Zarar Siddiqi <zarars@...> wrote: > > > Hi, > > > > > > I'm considering using Berkano for a project. Is there any usable > > > documentation that might help me get started. I just want to > > > accomplish the task of creating the tables and then creating a user. > > > > > > Thanks. > > > > > > |
| Free embeddable forum powered by Nabble | Forum Help |