Lift Book Need To Focus On Little Background Before Giving The Example Pocket Change

0 views
Skip to first unread message

MKumar

unread,
Nov 4, 2009, 7:54:40 AM11/4/09
to The Lift Book
Hi,

I had started learning Lift after getting curious about Scala. I am
planning to create a web application with lift framework. I am a jsp,
servlet, struts 1.X, 2.X and Ibatis and Hibernate guy.

There are few problem which I faced while using the book.

(1) In the book we had not explained anything about library required
(JAR and etc) and shown heavy dependency on MAVEN. I know MAVEN is a
cool tool and automate the deployment stuff, But majority of the
people is still using Apache ANT for deployment. Hence A Deployment On
Tomcat using Apache Ant Step By Step Was Desired and I guess that is
not a big deal.

(2) In the chapter 2 or 3 we are asked to download the pocketexchange
web application. Yeah its cool , But I really wonder about some
missing information like database connection and schema (table
structure etc) which the Mapper will use. We have to provide these
information initially other wise no body will be able to run the
pocketchange web app successfully. I am still looking for this answer,
Do we need to create table or that is also going to create by mapper
on first run when we will specify the databse info in DBVendor.


(3) Lift is doing a loads of thing for the user but for saving time of
the user we need to explain them how to use it effectively.

Reply is awaited

Thanks and regards
Mrityunjay Kumar

Tyler Weir

unread,
Nov 4, 2009, 8:20:58 AM11/4/09
to the-li...@googlegroups.com
-------------------------------------
http://www.tylerweir.ca



On Wed, Nov 4, 2009 at 7:54 AM, MKumar <m.kum...@gmail.com> wrote:
>
> Hi,
>
> I had started learning Lift after getting curious about Scala. I am
> planning to create a web application with lift framework. I am a jsp,
> servlet, struts 1.X, 2.X and Ibatis and Hibernate guy.
>
> There are few problem which I faced while using the book.
>
> (1) In the book we had not explained anything about library required
> (JAR and etc) and shown heavy dependency on MAVEN. I know MAVEN is a
> cool tool and automate the deployment stuff, But majority of the
> people is still using Apache ANT for deployment. Hence A Deployment On
> Tomcat using Apache Ant  Step By Step Was Desired and I guess that is
> not a big deal.

I think we do a good job explaining maven. It's impossible for us to
offer step-by-step instructions for all cases.
You ask for Tomcat and Ant, maybe someone else wants JBoss and SBT.
This is a trade-off of writing a book.

>
> (2) In the chapter 2 or 3 we are asked to download the pocketexchange
> web application. Yeah its cool , But I really wonder about some
> missing information like database connection and schema (table
> structure etc) which the Mapper will use. We have to provide these
> information initially other wise no body will be able to run the
> pocketchange web app successfully. I am still looking for this answer,
> Do we need to create table or that is also going to create by mapper
> on first run when we will specify the databse info in DBVendor.

Mapper will create the schema for you. PC uses H2 out of the box,
which is an in-memory db (http://www.h2database.com/html/main.html).
And the connection info in set-up for you.

>
>
> (3) Lift is doing a loads of thing for the user but for saving time of
> the user we need to explain them how to use it effectively.

I'm not sure I understand what you're asking.
Reply all
Reply to author
Forward
0 new messages