[Lift] Re: lift nearly inaccessible for newby

2009-10-07 Thread koveen

Hi Stefan and everybody,

I am a bit overwhelmed by the enormous response on my mail and am very
grateful for it.
Last evening, after seeing the amounts of mail, I started working
again and ended quite late. I think I even made some progress!
(at least Maven thought I made some)
So the encouragements have helped, I think.
The way I feel right now, I would like to end this discussion, would
like to thank everybody, and hope that the Robert A. Heinlein
readers among you will grok me when I say: I am only an egg.

Cheers!

Ko


On 6 okt, 22:10, Stefan Langer mailtolan...@googlemail.com wrote:
 I didn't want to discourage you I just wanted to be honest and please do
 come back with any question you have as we learn by asking. But at the same
 time as was said in this thread already take the time to expriment and use
 the resources that are there (google and the like) to come up with the
 answers yourself. As you do this you will start to understand stuff more and
 more and things will get easier.

 With the professional help I simply ment that if you have a short time to
 market then you will not get happy with experimenting and you might consider
 paying someone (a professional) or finding someone who will do it for you
 since the other way is going to cost you a lot of time.

 About what David Pollak said:
 I think he does a great job designing and maintaining lift but I still think
 without knowing Scala it is virtually impossible to come to grips with Lift
 no matter how easy it is to set it up.
 Learning a programming language with no programming background is quite a
 job, and in my opinion well worth it, but a long term commitment is
 required.

 About the comment with Rails... not too sure if Rails or Lift is easier or
 they are the same. I have experience with Rails and I love the Ruby syntax
 which I think is a tad better then Scalas so I find Rails still a tad easier
 but that is because of lack of experience with Lift.
 If I wouldn't take Lift serious I wouldn't be here and spend my time
 learning it. I just do not want you to think that you can simply grab lift
 and understand it immediately.

 One more thing about the documentation of Lift. The biggest problem I had
 when starting was that there is no easy link to a workable Lift demo except
 for the maven archetype and that is just not complex enough for learning
 purposes. Thank god to github and the likes the applications to checkout are
 getting more. Still I think it would be great if the Lift website had a
 download for an application like the Java PetStore or the like for beginners
 to study.
 Befor anyone thinks I'm starting a rant here this is just a suggestion and
 if I can find the time besides all the other pet projects of mine ;) I might
 just start a demo app.

 Regards
 Stefan

 2009/10/6 koveen liep...@xs4all.nl





  Stefan,

  thanks for your reply. :)

  to anwser your questions: I have no experience with Java and I only
  made some very simple static websites, years ago. I will try to listen
  to you and try to make a very simple website with Lift. But if -IF-
  I've succeeded in doing that, I hope you will excuse me when I'll come
  back to ask again the -too complex- question in my mail.

  I am not sure if what you are referring to if you mention the
  professional help I should get, but Yes! I am not really happy trying
  things out that don't seem to work for me up till now. So shrink or
  programmer, any help is welcome! (For now I think I will experiment
  with some simple things on my own)

  I know the online liftbook, and I am reading it. I bought the
  Beginning Scala book from David Pollak, and haven't read that much
  yet, but I will.

  Cheers,

  Ko

  On Oct 6, 11:52 am, Stefan Langer mailtolan...@googlemail.com wrote:
   Not ment as a offence but you are in way over your head!
   A couple of things:
   1. You say you are a non-programmer but I assume you do understand Scala?
  Or
   else it is pointless to use Lift as it is based on the Scala language and
   relies heavily on its features. Knowledge of Java is also a plus cause
  some
   of the libs are not available in Scala but only in Java and it is better
  to
   know Java in order to understand the libraries.
   2. You do have experience with websites? Complex web applications? If not
   then I suggest you start by doing a simple static page for your design to
   get to know the technics you are trying to use or you get yourself a
   programmer/webdesinger to do it for you. If you are not willing to learn
   about the technical details you will get in big trouble later on and I
  mean
   trouble that can actually cost you money.
   3. If the above points do not seem valid for you then please get
   professional help
   4. If you are not scared by the above points and you are willing to
  invest
   then I suggest getting some example code and starting to disect that.
   Take a look athttp://github.com/tjweir/pocketchangeappwhichis a
  complete
   demo 

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread Stefan Langer
Not ment as a offence but you are in way over your head!
A couple of things:
1. You say you are a non-programmer but I assume you do understand Scala? Or
else it is pointless to use Lift as it is based on the Scala language and
relies heavily on its features. Knowledge of Java is also a plus cause some
of the libs are not available in Scala but only in Java and it is better to
know Java in order to understand the libraries.
2. You do have experience with websites? Complex web applications? If not
then I suggest you start by doing a simple static page for your design to
get to know the technics you are trying to use or you get yourself a
programmer/webdesinger to do it for you. If you are not willing to learn
about the technical details you will get in big trouble later on and I mean
trouble that can actually cost you money.
3. If the above points do not seem valid for you then please get
professional help
4. If you are not scared by the above points and you are willing to invest
then I suggest getting some example code and starting to disect that.
Take a look at http://github.com/tjweir/pocketchangeapp which is a complete
demo app in lift
and take a look at http://github.com/tjweir/liftbook for a liftbook that is
available freely.

Regards and good luck on your project

Stefan

2009/10/5 koveen liep...@xs4all.nl


 hi Naftoli,

 thanks for your interest.

 On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
  Being a non-programmer, and additionally not having a Java background,
  which framework are you comparing Lift to when you say it's not easy?
  :)

 First I read a book about rails, explaining things from the start, I
 did watch quite a lot of nice video's on the web explaining some basic
 tricks with Rails. I think it is a system that is easy to start with
 but I became nervous about recurring issues about scaling, the
 integration of Rails and Merb and had the idea, maybe wrong, that it
 was a system too much in transition.

 I read part of the tutorial of Lift, installed it on my computer using
 Maven, but in a way I got lost.

 Then I partially read a book about Wicket. I like the system very
 much, especially one trick exited me: the Ajaxfallbacklink in which a
 link worked in a simple way when javasript is disabled , but at the
 same time has some Ajax functionality when Javascript is enabled on
 the users system. I liked this feature very much, but the integration
 with a database is not an integral part of the Wicket-system and can
 be acquired via a Wicket-Spring-Hibernate combination. This seemed too
 much for me to get into as a starter.

 That's how I came back to Lift. I need a stable database-connection.
 You need one when you hope that people will be paying some, even
 small, amount of money for your service.

  Can you clarify: Is this going to be a site, or a back end to a mobile
  app that sits on the phone?

 I just want to make a site

 But I hope it is clear I am not here to criticise anybody, it is just
 that often I feel this system is way over my head. Maybe that will
 change.

 thanks

 Ko


 
  On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:
 
   Hi,
 
   Being a no-programmer and having no Java-background
   I'd like to have mentioned that Lift really isn't an easy framework.
   Having said that, I will try to read my way into this system and try
   to solve the problems I encounter.
 
   I have one question.
 
   I would like to establish a login method where a visitor of my site
   (to be) could be accepted as a valid user, based on the info the
   server receives when the visitor enters the site.
 
   In my case it will be a site for mobile phones and some mobile phone
   operators will provide me with the telephone-number of the user once
   she enters. Once a user has paid for the service,  this number alone
   should be enough to make the visitior into a valid user. Without
   needing to log in.
 
   I have read the following on:http://demo.liftweb.net/ws
 
   t's easy to dispatch incoming HTTP requests.
   In your Boot class create a PartialFunction
   that matches a pattern related to the incoming request and
   then create a short-lived controller to service the request.
 
   This code matches all the requests to /webservices/ and
   assigns the stuff in '' to the variable c.  Then
   the code attempts to find a public method with that name on
   the controller.  If the method exists, it's invoked and Lift
   processes the result.
 
   I assume I will have to write my own  public method and place it
   where??? in the direcory webservices.?
 
   Maven didn't  include such a directory in my project set-up, so I
   assume this  webservices are on an external server and that I will
   have torefer to and  extend an existing function. Am I correct in
   this? and is there an exemple of how to write such a method.
 
   I would be really happy to make some progress, and any help is
   welcome.
 
   Thanks,
 
   Ko
 
 

 



[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread Jim Barrows



On Oct 6, 12:52 am, Stefan Langer mailtolan...@googlemail.com wrote:
 Not ment as a offence but you are in way over your head!

While I agree. Linus Torvalds was in much the same place.  He has
to somewhere :)

 A couple of things:
 1. You say you are a non-programmer but I assume you do understand Scala? Or
 else it is pointless to use Lift as it is based on the Scala language and
 relies heavily on its features. Knowledge of Java is also a plus cause some
 of the libs are not available in Scala but only in Java and it is better to
 know Java in order to understand the libraries.
 2. You do have experience with websites? Complex web applications? If not
 then I suggest you start by doing a simple static page for your design to
 get to know the technics you are trying to use or you get yourself a
 programmer/webdesinger to do it for you. If you are not willing to learn
 about the technical details you will get in big trouble later on and I mean
 trouble that can actually cost you money.
 3. If the above points do not seem valid for you then please get
 professional help
 4. If you are not scared by the above points and you are willing to invest
 then I suggest getting some example code and starting to disect that.
 Take a look athttp://github.com/tjweir/pocketchangeappwhich is a complete
 demo app in lift
 and take a look athttp://github.com/tjweir/liftbookfor a liftbook that is
 available freely.

 Regards and good luck on your project

 Stefan

 2009/10/5 koveen liep...@xs4all.nl



  hi Naftoli,

  thanks for your interest.

  On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
   Being a non-programmer, and additionally not having a Java background,
   which framework are you comparing Lift to when you say it's not easy?
   :)

  First I read a book about rails, explaining things from the start, I
  did watch quite a lot of nice video's on the web explaining some basic
  tricks with Rails. I think it is a system that is easy to start with
  but I became nervous about recurring issues about scaling, the
  integration of Rails and Merb and had the idea, maybe wrong, that it
  was a system too much in transition.

  I read part of the tutorial of Lift, installed it on my computer using
  Maven, but in a way I got lost.

  Then I partially read a book about Wicket. I like the system very
  much, especially one trick exited me: the Ajaxfallbacklink in which a
  link worked in a simple way when javasript is disabled , but at the
  same time has some Ajax functionality when Javascript is enabled on
  the users system. I liked this feature very much, but the integration
  with a database is not an integral part of the Wicket-system and can
  be acquired via a Wicket-Spring-Hibernate combination. This seemed too
  much for me to get into as a starter.

  That's how I came back to Lift. I need a stable database-connection.
  You need one when you hope that people will be paying some, even
  small, amount of money for your service.

   Can you clarify: Is this going to be a site, or a back end to a mobile
   app that sits on the phone?

  I just want to make a site

  But I hope it is clear I am not here to criticise anybody, it is just
  that often I feel this system is way over my head. Maybe that will
  change.

  thanks

  Ko

   On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:

Hi,

Being a no-programmer and having no Java-background
I'd like to have mentioned that Lift really isn't an easy framework.
Having said that, I will try to read my way into this system and try
to solve the problems I encounter.

I have one question.

I would like to establish a login method where a visitor of my site
(to be) could be accepted as a valid user, based on the info the
server receives when the visitor enters the site.

In my case it will be a site for mobile phones and some mobile phone
operators will provide me with the telephone-number of the user once
she enters. Once a user has paid for the service,  this number alone
should be enough to make the visitior into a valid user. Without
needing to log in.

I have read the following on:http://demo.liftweb.net/ws

t's easy to dispatch incoming HTTP requests.
In your Boot class create a PartialFunction
that matches a pattern related to the incoming request and
then create a short-lived controller to service the request.

This code matches all the requests to /webservices/ and
assigns the stuff in '' to the variable c.  Then
the code attempts to find a public method with that name on
the controller.  If the method exists, it's invoked and Lift
processes the result.

I assume I will have to write my own  public method and place it
where??? in the direcory webservices.?

Maven didn't  include such a directory in my project set-up, so I
assume this  webservices are on an external server and that I will
have torefer to 

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread TylerWeir

On Oct 6, 3:52 am, Stefan Langer mailtolan...@googlemail.com wrote:
 Not ment as a offence but you are in way over your head!

This is a case of running before walking I think.

Ko, web app development encompasses *many* aspects, and jumping in
with a Functional/OO hybrid language based framework may not be the
best idea if you're looking to hit the ground running.

Tyler

 A couple of things:
 1. You say you are a non-programmer but I assume you do understand Scala? Or
 else it is pointless to use Lift as it is based on the Scala language and
 relies heavily on its features. Knowledge of Java is also a plus cause some
 of the libs are not available in Scala but only in Java and it is better to
 know Java in order to understand the libraries.
 2. You do have experience with websites? Complex web applications? If not
 then I suggest you start by doing a simple static page for your design to
 get to know the technics you are trying to use or you get yourself a
 programmer/webdesinger to do it for you. If you are not willing to learn
 about the technical details you will get in big trouble later on and I mean
 trouble that can actually cost you money.
 3. If the above points do not seem valid for you then please get
 professional help
 4. If you are not scared by the above points and you are willing to invest
 then I suggest getting some example code and starting to disect that.
 Take a look athttp://github.com/tjweir/pocketchangeappwhich is a complete
 demo app in lift
 and take a look athttp://github.com/tjweir/liftbookfor a liftbook that is
 available freely.

 Regards and good luck on your project

 Stefan

 2009/10/5 koveen liep...@xs4all.nl



  hi Naftoli,

  thanks for your interest.

  On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
   Being a non-programmer, and additionally not having a Java background,
   which framework are you comparing Lift to when you say it's not easy?
   :)

  First I read a book about rails, explaining things from the start, I
  did watch quite a lot of nice video's on the web explaining some basic
  tricks with Rails. I think it is a system that is easy to start with
  but I became nervous about recurring issues about scaling, the
  integration of Rails and Merb and had the idea, maybe wrong, that it
  was a system too much in transition.

  I read part of the tutorial of Lift, installed it on my computer using
  Maven, but in a way I got lost.

  Then I partially read a book about Wicket. I like the system very
  much, especially one trick exited me: the Ajaxfallbacklink in which a
  link worked in a simple way when javasript is disabled , but at the
  same time has some Ajax functionality when Javascript is enabled on
  the users system. I liked this feature very much, but the integration
  with a database is not an integral part of the Wicket-system and can
  be acquired via a Wicket-Spring-Hibernate combination. This seemed too
  much for me to get into as a starter.

  That's how I came back to Lift. I need a stable database-connection.
  You need one when you hope that people will be paying some, even
  small, amount of money for your service.

   Can you clarify: Is this going to be a site, or a back end to a mobile
   app that sits on the phone?

  I just want to make a site

  But I hope it is clear I am not here to criticise anybody, it is just
  that often I feel this system is way over my head. Maybe that will
  change.

  thanks

  Ko

   On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:

Hi,

Being a no-programmer and having no Java-background
I'd like to have mentioned that Lift really isn't an easy framework.
Having said that, I will try to read my way into this system and try
to solve the problems I encounter.

I have one question.

I would like to establish a login method where a visitor of my site
(to be) could be accepted as a valid user, based on the info the
server receives when the visitor enters the site.

In my case it will be a site for mobile phones and some mobile phone
operators will provide me with the telephone-number of the user once
she enters. Once a user has paid for the service,  this number alone
should be enough to make the visitior into a valid user. Without
needing to log in.

I have read the following on:http://demo.liftweb.net/ws

t's easy to dispatch incoming HTTP requests.
In your Boot class create a PartialFunction
that matches a pattern related to the incoming request and
then create a short-lived controller to service the request.

This code matches all the requests to /webservices/ and
assigns the stuff in '' to the variable c.  Then
the code attempts to find a public method with that name on
the controller.  If the method exists, it's invoked and Lift
processes the result.

I assume I will have to write my own  public method and place it
where??? in the direcory webservices.?


[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread David Pollak
We try to make Lift accessible to a wide range of folks who want to build
web sites.  However, there are lower-bounds on what we can do.  By and
large, PHP is a great place to start in terms of mapping simple HTTP
requests into simple web pages with a little RDBMS storage.
Personally, I don't think Lift is materially more complex than Rails,
although Rails' documentation and examples are worlds better than Lift's
(this is not a put-down of the excellent work done by the whole community
and Marius, Derek, and Tyler specifically, but a simple indication of being
4-5 years behind Rails in terms of adoption.)

So, Lift may not be the right thing for the original poster.  Maybe it will
be in two years.

Sorry.

On Tue, Oct 6, 2009 at 12:52 AM, Stefan Langer
mailtolan...@googlemail.comwrote:

 Not ment as a offence but you are in way over your head!
 A couple of things:
 1. You say you are a non-programmer but I assume you do understand Scala?
 Or else it is pointless to use Lift as it is based on the Scala language and
 relies heavily on its features. Knowledge of Java is also a plus cause some
 of the libs are not available in Scala but only in Java and it is better to
 know Java in order to understand the libraries.
 2. You do have experience with websites? Complex web applications? If not
 then I suggest you start by doing a simple static page for your design to
 get to know the technics you are trying to use or you get yourself a
 programmer/webdesinger to do it for you. If you are not willing to learn
 about the technical details you will get in big trouble later on and I mean
 trouble that can actually cost you money.
 3. If the above points do not seem valid for you then please get
 professional help
 4. If you are not scared by the above points and you are willing to invest
 then I suggest getting some example code and starting to disect that.
 Take a look at http://github.com/tjweir/pocketchangeapp which is a
 complete demo app in lift
 and take a look at http://github.com/tjweir/liftbook for a liftbook that
 is available freely.

 Regards and good luck on your project

 Stefan

 2009/10/5 koveen liep...@xs4all.nl


 hi Naftoli,

 thanks for your interest.

 On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
  Being a non-programmer, and additionally not having a Java background,
  which framework are you comparing Lift to when you say it's not easy?
  :)

 First I read a book about rails, explaining things from the start, I
 did watch quite a lot of nice video's on the web explaining some basic
 tricks with Rails. I think it is a system that is easy to start with
 but I became nervous about recurring issues about scaling, the
 integration of Rails and Merb and had the idea, maybe wrong, that it
 was a system too much in transition.

 I read part of the tutorial of Lift, installed it on my computer using
 Maven, but in a way I got lost.

 Then I partially read a book about Wicket. I like the system very
 much, especially one trick exited me: the Ajaxfallbacklink in which a
 link worked in a simple way when javasript is disabled , but at the
 same time has some Ajax functionality when Javascript is enabled on
 the users system. I liked this feature very much, but the integration
 with a database is not an integral part of the Wicket-system and can
 be acquired via a Wicket-Spring-Hibernate combination. This seemed too
 much for me to get into as a starter.

 That's how I came back to Lift. I need a stable database-connection.
 You need one when you hope that people will be paying some, even
 small, amount of money for your service.

  Can you clarify: Is this going to be a site, or a back end to a mobile
  app that sits on the phone?

 I just want to make a site

 But I hope it is clear I am not here to criticise anybody, it is just
 that often I feel this system is way over my head. Maybe that will
 change.

 thanks

 Ko


 
  On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:
 
   Hi,
 
   Being a no-programmer and having no Java-background
   I'd like to have mentioned that Lift really isn't an easy framework.
   Having said that, I will try to read my way into this system and try
   to solve the problems I encounter.
 
   I have one question.
 
   I would like to establish a login method where a visitor of my site
   (to be) could be accepted as a valid user, based on the info the
   server receives when the visitor enters the site.
 
   In my case it will be a site for mobile phones and some mobile phone
   operators will provide me with the telephone-number of the user once
   she enters. Once a user has paid for the service,  this number alone
   should be enough to make the visitior into a valid user. Without
   needing to log in.
 
   I have read the following on:http://demo.liftweb.net/ws
 
   t's easy to dispatch incoming HTTP requests.
   In your Boot class create a PartialFunction
   that matches a pattern related to the incoming request and
   then create a 

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread koveen

Stefan,

thanks for your reply. :)

to anwser your questions: I have no experience with Java and I only
made some very simple static websites, years ago. I will try to listen
to you and try to make a very simple website with Lift. But if -IF-
I've succeeded in doing that, I hope you will excuse me when I'll come
back to ask again the -too complex- question in my mail.

I am not sure if what you are referring to if you mention the
professional help I should get, but Yes! I am not really happy trying
things out that don't seem to work for me up till now. So shrink or
programmer, any help is welcome! (For now I think I will experiment
with some simple things on my own)

I know the online liftbook, and I am reading it. I bought the
Beginning Scala book from David Pollak, and haven't read that much
yet, but I will.

Cheers,

Ko





On Oct 6, 11:52 am, Stefan Langer mailtolan...@googlemail.com wrote:
 Not ment as a offence but you are in way over your head!
 A couple of things:
 1. You say you are a non-programmer but I assume you do understand Scala? Or
 else it is pointless to use Lift as it is based on the Scala language and
 relies heavily on its features. Knowledge of Java is also a plus cause some
 of the libs are not available in Scala but only in Java and it is better to
 know Java in order to understand the libraries.
 2. You do have experience with websites? Complex web applications? If not
 then I suggest you start by doing a simple static page for your design to
 get to know the technics you are trying to use or you get yourself a
 programmer/webdesinger to do it for you. If you are not willing to learn
 about the technical details you will get in big trouble later on and I mean
 trouble that can actually cost you money.
 3. If the above points do not seem valid for you then please get
 professional help
 4. If you are not scared by the above points and you are willing to invest
 then I suggest getting some example code and starting to disect that.
 Take a look athttp://github.com/tjweir/pocketchangeappwhich is a complete
 demo app in lift
 and take a look athttp://github.com/tjweir/liftbookfor a liftbook that is
 available freely.

 Regards and good luck on your project

 Stefan

 2009/10/5 koveen liep...@xs4all.nl



  hi Naftoli,

  thanks for your interest.

  On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
   Being a non-programmer, and additionally not having a Java background,
   which framework are you comparing Lift to when you say it's not easy?
   :)

  First I read a book about rails, explaining things from the start, I
  did watch quite a lot of nice video's on the web explaining some basic
  tricks with Rails. I think it is a system that is easy to start with
  but I became nervous about recurring issues about scaling, the
  integration of Rails and Merb and had the idea, maybe wrong, that it
  was a system too much in transition.

  I read part of the tutorial of Lift, installed it on my computer using
  Maven, but in a way I got lost.

  Then I partially read a book about Wicket. I like the system very
  much, especially one trick exited me: the Ajaxfallbacklink in which a
  link worked in a simple way when javasript is disabled , but at the
  same time has some Ajax functionality when Javascript is enabled on
  the users system. I liked this feature very much, but the integration
  with a database is not an integral part of the Wicket-system and can
  be acquired via a Wicket-Spring-Hibernate combination. This seemed too
  much for me to get into as a starter.

  That's how I came back to Lift. I need a stable database-connection.
  You need one when you hope that people will be paying some, even
  small, amount of money for your service.

   Can you clarify: Is this going to be a site, or a back end to a mobile
   app that sits on the phone?

  I just want to make a site

  But I hope it is clear I am not here to criticise anybody, it is just
  that often I feel this system is way over my head. Maybe that will
  change.

  thanks

  Ko

   On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:

Hi,

Being a no-programmer and having no Java-background
I'd like to have mentioned that Lift really isn't an easy framework.
Having said that, I will try to read my way into this system and try
to solve the problems I encounter.

I have one question.

I would like to establish a login method where a visitor of my site
(to be) could be accepted as a valid user, based on the info the
server receives when the visitor enters the site.

In my case it will be a site for mobile phones and some mobile phone
operators will provide me with the telephone-number of the user once
she enters. Once a user has paid for the service,  this number alone
should be enough to make the visitior into a valid user. Without
needing to log in.

I have read the following on:http://demo.liftweb.net/ws

t's easy to dispatch 

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread TylerWeir



On Oct 6, 12:31 pm, David Pollak feeder.of.the.be...@gmail.com
wrote:
 We try to make Lift accessible to a wide range of folks who want to build
 web sites.  However, there are lower-bounds on what we can do.  By and
 large, PHP is a great place to start in terms of mapping simple HTTP

I was going to suggest CakePHP as I've got non-dev friends to use with
with reasonable success.
http://cakephp.org/

 requests into simple web pages with a little RDBMS storage.
 Personally, I don't think Lift is materially more complex than Rails,
 although Rails' documentation and examples are worlds better than Lift's

In volume or in quality? Both?

Given how busy everyone is, I'll put this out there and maybe some
with time/energy will pick it up.

Mike Ash is an excellent Cocoa/ObjC dev and has a series of articles
he posts on Fridays, Friday QA.
http://www.mikeash.com/?page=pyblog/

I see something like this being an enormous benefit to Lift devs.  And
in addition to QA, maybe a Recipe day, Recipe for CRUD Recipe for
Comet Recipe for X

I would really like to do this, but I don't have the time to make it
be of any quality and I'd prefer not to put out something that is
merely one step up from junk.

Maybe a thread where people get to guide us to an example app.

Personal Opinion:
To be fair to Lift commit team, there is quite a bit of example code
online for people to check out, but I'm not convinced they are
actually looking at it.  Given the number of questions that come in
that are easily solved with a Google Search, I don't know how pumping
out more and more docs and examples will help, as it seems largely
ignored.

We went through the same issue with Cocos2d-iPhone:
http://www.cocos2d-iphone.org/forum/topic/1564
The source code people must download to build a game comes with about
100 examples and people still ignore it.

So we're not dealing with a Lift-specific issue I don't think, but we
are dealing with a difficult one.

Ty



 (this is not a put-down of the excellent work done by the whole community
 and Marius, Derek, and Tyler specifically, but a simple indication of being
 4-5 years behind Rails in terms of adoption.)

 So, Lift may not be the right thing for the original poster.  Maybe it will
 be in two years.

 Sorry.

 On Tue, Oct 6, 2009 at 12:52 AM, Stefan Langer
 mailtolan...@googlemail.comwrote:



  Not ment as a offence but you are in way over your head!
  A couple of things:
  1. You say you are a non-programmer but I assume you do understand Scala?
  Or else it is pointless to use Lift as it is based on the Scala language and
  relies heavily on its features. Knowledge of Java is also a plus cause some
  of the libs are not available in Scala but only in Java and it is better to
  know Java in order to understand the libraries.
  2. You do have experience with websites? Complex web applications? If not
  then I suggest you start by doing a simple static page for your design to
  get to know the technics you are trying to use or you get yourself a
  programmer/webdesinger to do it for you. If you are not willing to learn
  about the technical details you will get in big trouble later on and I mean
  trouble that can actually cost you money.
  3. If the above points do not seem valid for you then please get
  professional help
  4. If you are not scared by the above points and you are willing to invest
  then I suggest getting some example code and starting to disect that.
  Take a look athttp://github.com/tjweir/pocketchangeappwhich is a
  complete demo app in lift
  and take a look athttp://github.com/tjweir/liftbookfor a liftbook that
  is available freely.

  Regards and good luck on your project

  Stefan

  2009/10/5 koveen liep...@xs4all.nl

  hi Naftoli,

  thanks for your interest.

  On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
   Being a non-programmer, and additionally not having a Java background,
   which framework are you comparing Lift to when you say it's not easy?
   :)

  First I read a book about rails, explaining things from the start, I
  did watch quite a lot of nice video's on the web explaining some basic
  tricks with Rails. I think it is a system that is easy to start with
  but I became nervous about recurring issues about scaling, the
  integration of Rails and Merb and had the idea, maybe wrong, that it
  was a system too much in transition.

  I read part of the tutorial of Lift, installed it on my computer using
  Maven, but in a way I got lost.

  Then I partially read a book about Wicket. I like the system very
  much, especially one trick exited me: the Ajaxfallbacklink in which a
  link worked in a simple way when javasript is disabled , but at the
  same time has some Ajax functionality when Javascript is enabled on
  the users system. I liked this feature very much, but the integration
  with a database is not an integral part of the Wicket-system and can
  be acquired via a Wicket-Spring-Hibernate combination. This seemed too
  

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread koveen

David,

no need to appologise! I think you do all necessary to clarify issues
at hand and defend the interests of the lift community!
And I am very happy with the liftbook too! But yes I've spent two
weekends to try to accomplish some simple task and failed.

And because of that, indeed it has crossed my mind to refer back to
Rails, only because I really liked to watch those 256 video's in which
Ryan Bates explaines some small detail. (I didn't watch them all)

It would feel like a failure to me to change to back to Rails, because
I have more confidence in Lift.

But for a beginner it is not easy.

Ko



On Oct 6, 8:31 pm, David Pollak feeder.of.the.be...@gmail.com wrote:
 We try to make Lift accessible to a wide range of folks who want to build
 web sites.  However, there are lower-bounds on what we can do.  By and
 large, PHP is a great place to start in terms of mapping simple HTTP
 requests into simple web pages with a little RDBMS storage.
 Personally, I don't think Lift is materially more complex than Rails,
 although Rails' documentation and examples are worlds better than Lift's
 (this is not a put-down of the excellent work done by the whole community
 and Marius, Derek, and Tyler specifically, but a simple indication of being
 4-5 years behind Rails in terms of adoption.)

 So, Lift may not be the right thing for the original poster.  Maybe it will
 be in two years.

 Sorry.

 On Tue, Oct 6, 2009 at 12:52 AM, Stefan Langer
 mailtolan...@googlemail.comwrote:



  Not ment as a offence but you are in way over your head!
  A couple of things:
  1. You say you are a non-programmer but I assume you do understand Scala?
  Or else it is pointless to use Lift as it is based on the Scala language and
  relies heavily on its features. Knowledge of Java is also a plus cause some
  of the libs are not available in Scala but only in Java and it is better to
  know Java in order to understand the libraries.
  2. You do have experience with websites? Complex web applications? If not
  then I suggest you start by doing a simple static page for your design to
  get to know the technics you are trying to use or you get yourself a
  programmer/webdesinger to do it for you. If you are not willing to learn
  about the technical details you will get in big trouble later on and I mean
  trouble that can actually cost you money.
  3. If the above points do not seem valid for you then please get
  professional help
  4. If you are not scared by the above points and you are willing to invest
  then I suggest getting some example code and starting to disect that.
  Take a look athttp://github.com/tjweir/pocketchangeappwhich is a
  complete demo app in lift
  and take a look athttp://github.com/tjweir/liftbookfor a liftbook that
  is available freely.

  Regards and good luck on your project

  Stefan

  2009/10/5 koveen liep...@xs4all.nl

  hi Naftoli,

  thanks for your interest.

  On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
   Being a non-programmer, and additionally not having a Java background,
   which framework are you comparing Lift to when you say it's not easy?
   :)

  First I read a book about rails, explaining things from the start, I
  did watch quite a lot of nice video's on the web explaining some basic
  tricks with Rails. I think it is a system that is easy to start with
  but I became nervous about recurring issues about scaling, the
  integration of Rails and Merb and had the idea, maybe wrong, that it
  was a system too much in transition.

  I read part of the tutorial of Lift, installed it on my computer using
  Maven, but in a way I got lost.

  Then I partially read a book about Wicket. I like the system very
  much, especially one trick exited me: the Ajaxfallbacklink in which a
  link worked in a simple way when javasript is disabled , but at the
  same time has some Ajax functionality when Javascript is enabled on
  the users system. I liked this feature very much, but the integration
  with a database is not an integral part of the Wicket-system and can
  be acquired via a Wicket-Spring-Hibernate combination. This seemed too
  much for me to get into as a starter.

  That's how I came back to Lift. I need a stable database-connection.
  You need one when you hope that people will be paying some, even
  small, amount of money for your service.

   Can you clarify: Is this going to be a site, or a back end to a mobile
   app that sits on the phone?

  I just want to make a site

  But I hope it is clear I am not here to criticise anybody, it is just
  that often I feel this system is way over my head. Maybe that will
  change.

  thanks

  Ko

   On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:

Hi,

Being a no-programmer and having no Java-background
I'd like to have mentioned that Lift really isn't an easy framework.
Having said that, I will try to read my way into this system and try
to solve the problems I encounter.

I have one 

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread Timothy Perrett

Ko,

Id echo DPP's comments... if you are a real beginer then perhaps
consider PHP as it will provide you with a quicker route to market.
Lift is a great bit of software engineering, but parts of it are
truley non-trival and will no doubt be completely inappropriate for a
beginner... hell, we have people come to this community from a JEE
background and still struggle with certain aspects of lift :-)

Tyler,

100% take on what you are saying - it makes sense of course; this is
something that has troubled me for a while and I think the main issue
is actually just an organisational one. I believe if we can
restructure the site to make stuff easier to find that will improve
the signal-noise ratio on this list.

I've been liaising with some institutions about getting some student
help / donation of time to redesign the site, and im making slow but
steady progress. I hope that if we can find the right person, they can
help us re-organize and re-factor what we have for the good of the
community .

Cheers, Tim


On Oct 6, 6:40 pm, koveen liep...@xs4all.nl wrote:
 David,

 no need to appologise! I think you do all necessary to clarify issues
 at hand and defend the interests of the lift community!
 And I am very happy with the liftbook too! But yes I've spent two
 weekends to try to accomplish some simple task and failed.

 And because of that, indeed it has crossed my mind to refer back to
 Rails, only because I really liked to watch those 256 video's in which
 Ryan Bates explaines some small detail. (I didn't watch them all)

 It would feel like a failure to me to change to back to Rails, because
 I have more confidence in Lift.

 But for a beginner it is not easy.

 Ko

 On Oct 6, 8:31 pm, David Pollak feeder.of.the.be...@gmail.com wrote:



  We try to make Lift accessible to a wide range of folks who want to build
  web sites.  However, there are lower-bounds on what we can do.  By and
  large, PHP is a great place to start in terms of mapping simple HTTP
  requests into simple web pages with a little RDBMS storage.
  Personally, I don't think Lift is materially more complex than Rails,
  although Rails' documentation and examples are worlds better than Lift's
  (this is not a put-down of the excellent work done by the whole community
  and Marius, Derek, and Tyler specifically, but a simple indication of being
  4-5 years behind Rails in terms of adoption.)

  So, Lift may not be the right thing for the original poster.  Maybe it will
  be in two years.

  Sorry.

  On Tue, Oct 6, 2009 at 12:52 AM, Stefan Langer
  mailtolan...@googlemail.comwrote:

   Not ment as a offence but you are in way over your head!
   A couple of things:
   1. You say you are a non-programmer but I assume you do understand Scala?
   Or else it is pointless to use Lift as it is based on the Scala language 
   and
   relies heavily on its features. Knowledge of Java is also a plus cause 
   some
   of the libs are not available in Scala but only in Java and it is better 
   to
   know Java in order to understand the libraries.
   2. You do have experience with websites? Complex web applications? If not
   then I suggest you start by doing a simple static page for your design to
   get to know the technics you are trying to use or you get yourself a
   programmer/webdesinger to do it for you. If you are not willing to learn
   about the technical details you will get in big trouble later on and I 
   mean
   trouble that can actually cost you money.
   3. If the above points do not seem valid for you then please get
   professional help
   4. If you are not scared by the above points and you are willing to invest
   then I suggest getting some example code and starting to disect that.
   Take a look athttp://github.com/tjweir/pocketchangeappwhichis a
   complete demo app in lift
   and take a look athttp://github.com/tjweir/liftbookfora liftbook that
   is available freely.

   Regards and good luck on your project

   Stefan

   2009/10/5 koveen liep...@xs4all.nl

   hi Naftoli,

   thanks for your interest.

   On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
Being a non-programmer, and additionally not having a Java background,
which framework are you comparing Lift to when you say it's not easy?
:)

   First I read a book about rails, explaining things from the start, I
   did watch quite a lot of nice video's on the web explaining some basic
   tricks with Rails. I think it is a system that is easy to start with
   but I became nervous about recurring issues about scaling, the
   integration of Rails and Merb and had the idea, maybe wrong, that it
   was a system too much in transition.

   I read part of the tutorial of Lift, installed it on my computer using
   Maven, but in a way I got lost.

   Then I partially read a book about Wicket. I like the system very
   much, especially one trick exited me: the Ajaxfallbacklink in which a
   link worked in a simple way when javasript is disabled , but at 

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread marius d.

Ko,

You are in an interesting position :) ... Personally if I would be in
your place I would not start with PHP. I would probably start
understanding Java servlets and the horrible and crappy JSP's. Then I
would try to understand Java not only as a language but also as a
platform. Then I would start with Scala. David's book Beginning
Scala is an excellent material. Then or maybe in parallel with that
dig in Lift.

I'm sure you realise there are lots of things for you to digest, but
by all means don't let this stop you. Lift and Scala are just great
and definitely worth the effort.


Br's,
Marius

On Oct 5, 9:32 pm, koveen liep...@xs4all.nl wrote:
 Hi,

 Being a no-programmer and having no Java-background
 I'd like to have mentioned that Lift really isn't an easy framework.
 Having said that, I will try to read my way into this system and try
 to solve the problems I encounter.

 I have one question.

 I would like to establish a login method where a visitor of my site
 (to be) could be accepted as a valid user, based on the info the
 server receives when the visitor enters the site.

 In my case it will be a site for mobile phones and some mobile phone
 operators will provide me with the telephone-number of the user once
 she enters. Once a user has paid for the service,  this number alone
 should be enough to make the visitior into a valid user. Without
 needing to log in.

 I have read the following on:http://demo.liftweb.net/ws

 t's easy to dispatch incoming HTTP requests.
 In your Boot class create a PartialFunction
 that matches a pattern related to the incoming request and
 then create a short-lived controller to service the request.

 This code matches all the requests to /webservices/ and
 assigns the stuff in '' to the variable c.  Then
 the code attempts to find a public method with that name on
 the controller.  If the method exists, it's invoked and Lift
 processes the result.

 I assume I will have to write my own  public method and place it
 where??? in the direcory webservices.?

 Maven didn't  include such a directory in my project set-up, so I
 assume this  webservices are on an external server and that I will
 have torefer to and  extend an existing function. Am I correct in
 this? and is there an exemple of how to write such a method.

 I would be really happy to make some progress, and any help is
 welcome.

 Thanks,

 Ko
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread Randinn

Hello koveen,

I'll tell you some of my experiences with Lift/Scala to give you some
idea. I learned to code basic and some what they called then Machine
Language on a Commodore Vic 20 and a 64 oh so long ago, I learned a
bit of C then gave it up. I learned a bit of PHP since then but that's
it. I'm learning Scala/Lift because I want to, not for a particular
site I want to make. If you are determined to learn it there are some
things you need to understand then.

 OOP is the very first, if you do not have an understanding of Object
Orientated Programming then you'll not see why the code is written the
way it is. I would suggest learning what Functional Programming is as
well as you will be dealing with it to a lesser degree. You need to
learn the basics of Java (what classes are, whats an interface, etc.)
as they will be referenced because it is assumed you already know
these.

You have something most of the others here do not have, pre-conceived
notions, the same Java programmers that do know the basics are also
constrained a bit by that knowledge. Scala has differences from Java
that they have to overcome to learn the language.

What I suggest is if you have a site you have to make soon do it in
something else and study Scala more, if not then readas many of the
Scala books you can find (Davids is a great book and the lift book is
a great basic book) Martin's book I'd suggest getting as he has
definitions of Java terms and explains some of the Java basics.
Anyway, good luck.



On Oct 7, 4:40 am, koveen liep...@xs4all.nl wrote:
 David,

 no need to appologise! I think you do all necessary to clarify issues
 at hand and defend the interests of the lift community!
 And I am very happy with the liftbook too! But yes I've spent two
 weekends to try to accomplish some simple task and failed.

 And because of that, indeed it has crossed my mind to refer back to
 Rails, only because I really liked to watch those 256 video's in which
 Ryan Bates explaines some small detail. (I didn't watch them all)

 It would feel like a failure to me to change to back to Rails, because
 I have more confidence in Lift.

 But for a beginner it is not easy.

 Ko

 On Oct 6, 8:31 pm, David Pollak feeder.of.the.be...@gmail.com wrote:

  We try to make Lift accessible to a wide range of folks who want to build
  web sites.  However, there are lower-bounds on what we can do.  By and
  large, PHP is a great place to start in terms of mapping simple HTTP
  requests into simple web pages with a little RDBMS storage.
  Personally, I don't think Lift is materially more complex than Rails,
  although Rails' documentation and examples are worlds better than Lift's
  (this is not a put-down of the excellent work done by the whole community
  and Marius, Derek, and Tyler specifically, but a simple indication of being
  4-5 years behind Rails in terms of adoption.)

  So, Lift may not be the right thing for the original poster.  Maybe it will
  be in two years.

  Sorry.

  On Tue, Oct 6, 2009 at 12:52 AM, Stefan Langer
  mailtolan...@googlemail.comwrote:

   Not ment as a offence but you are in way over your head!
   A couple of things:
   1. You say you are a non-programmer but I assume you do understand Scala?
   Or else it is pointless to use Lift as it is based on the Scala language 
   and
   relies heavily on its features. Knowledge of Java is also a plus cause 
   some
   of the libs are not available in Scala but only in Java and it is better 
   to
   know Java in order to understand the libraries.
   2. You do have experience with websites? Complex web applications? If not
   then I suggest you start by doing a simple static page for your design to
   get to know the technics you are trying to use or you get yourself a
   programmer/webdesinger to do it for you. If you are not willing to learn
   about the technical details you will get in big trouble later on and I 
   mean
   trouble that can actually cost you money.
   3. If the above points do not seem valid for you then please get
   professional help
   4. If you are not scared by the above points and you are willing to invest
   then I suggest getting some example code and starting to disect that.
   Take a look athttp://github.com/tjweir/pocketchangeappwhichis a
   complete demo app in lift
   and take a look athttp://github.com/tjweir/liftbookfora liftbook that
   is available freely.

   Regards and good luck on your project

   Stefan

   2009/10/5 koveen liep...@xs4all.nl

   hi Naftoli,

   thanks for your interest.

   On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
Being a non-programmer, and additionally not having a Java background,
which framework are you comparing Lift to when you say it's not easy?
:)

   First I read a book about rails, explaining things from the start, I
   did watch quite a lot of nice video's on the web explaining some basic
   tricks with Rails. I think it is a system that is easy to start with
   but I became 

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread Randinn

For the large part, I agree, the level of questions even I know is
geingt a bit too much, and the amount of patience you all use
answering them even though you know you just answered that a week ago
is commendable. That said you commiters don't have time to waste
answering those questions, that's what we are for :) and it is
happening. There are people here that are not commiters that are
answering those questions and others. I've been a lurker here for over
a year and even I am answering an occasional answer.

Maybe writing what you understand into the Wiki should be promoted
more, mention it on the title pages of lift, maybe even bring in a
commiter or two in with the express idea they are working on the Docs/
wiki. Bring in some support crew so the commiters only have to worry
about committing :)

 Personal Opinion:
 To be fair to Lift commit team, there is quite a bit of example code
 online for people to check out, but I'm not convinced they are
 actually looking at it.  Given the number of questions that come in
 that are easily solved with a Google Search, I don't know how pumping
 out more and more docs and examples will help, as it seems largely
 ignored.



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread Stefan Langer
I didn't want to discourage you I just wanted to be honest and please do
come back with any question you have as we learn by asking. But at the same
time as was said in this thread already take the time to expriment and use
the resources that are there (google and the like) to come up with the
answers yourself. As you do this you will start to understand stuff more and
more and things will get easier.

With the professional help I simply ment that if you have a short time to
market then you will not get happy with experimenting and you might consider
paying someone (a professional) or finding someone who will do it for you
since the other way is going to cost you a lot of time.

About what David Pollak said:
I think he does a great job designing and maintaining lift but I still think
without knowing Scala it is virtually impossible to come to grips with Lift
no matter how easy it is to set it up.
Learning a programming language with no programming background is quite a
job, and in my opinion well worth it, but a long term commitment is
required.

About the comment with Rails... not too sure if Rails or Lift is easier or
they are the same. I have experience with Rails and I love the Ruby syntax
which I think is a tad better then Scalas so I find Rails still a tad easier
but that is because of lack of experience with Lift.
If I wouldn't take Lift serious I wouldn't be here and spend my time
learning it. I just do not want you to think that you can simply grab lift
and understand it immediately.

One more thing about the documentation of Lift. The biggest problem I had
when starting was that there is no easy link to a workable Lift demo except
for the maven archetype and that is just not complex enough for learning
purposes. Thank god to github and the likes the applications to checkout are
getting more. Still I think it would be great if the Lift website had a
download for an application like the Java PetStore or the like for beginners
to study.
Befor anyone thinks I'm starting a rant here this is just a suggestion and
if I can find the time besides all the other pet projects of mine ;) I might
just start a demo app.

Regards
Stefan

2009/10/6 koveen liep...@xs4all.nl


 Stefan,

 thanks for your reply. :)

 to anwser your questions: I have no experience with Java and I only
 made some very simple static websites, years ago. I will try to listen
 to you and try to make a very simple website with Lift. But if -IF-
 I've succeeded in doing that, I hope you will excuse me when I'll come
 back to ask again the -too complex- question in my mail.

 I am not sure if what you are referring to if you mention the
 professional help I should get, but Yes! I am not really happy trying
 things out that don't seem to work for me up till now. So shrink or
 programmer, any help is welcome! (For now I think I will experiment
 with some simple things on my own)

 I know the online liftbook, and I am reading it. I bought the
 Beginning Scala book from David Pollak, and haven't read that much
 yet, but I will.

 Cheers,

 Ko





 On Oct 6, 11:52 am, Stefan Langer mailtolan...@googlemail.com wrote:
  Not ment as a offence but you are in way over your head!
  A couple of things:
  1. You say you are a non-programmer but I assume you do understand Scala?
 Or
  else it is pointless to use Lift as it is based on the Scala language and
  relies heavily on its features. Knowledge of Java is also a plus cause
 some
  of the libs are not available in Scala but only in Java and it is better
 to
  know Java in order to understand the libraries.
  2. You do have experience with websites? Complex web applications? If not
  then I suggest you start by doing a simple static page for your design to
  get to know the technics you are trying to use or you get yourself a
  programmer/webdesinger to do it for you. If you are not willing to learn
  about the technical details you will get in big trouble later on and I
 mean
  trouble that can actually cost you money.
  3. If the above points do not seem valid for you then please get
  professional help
  4. If you are not scared by the above points and you are willing to
 invest
  then I suggest getting some example code and starting to disect that.
  Take a look athttp://github.com/tjweir/pocketchangeappwhich is a
 complete
  demo app in lift
  and take a look athttp://github.com/tjweir/liftbookfor a liftbook that
 is
  available freely.
 
  Regards and good luck on your project
 
  Stefan
 
  2009/10/5 koveen liep...@xs4all.nl
 
 
 
   hi Naftoli,
 
   thanks for your interest.
 
   On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
Being a non-programmer, and additionally not having a Java
 background,
which framework are you comparing Lift to when you say it's not easy?
:)
 
   First I read a book about rails, explaining things from the start, I
   did watch quite a lot of nice video's on the web explaining some basic
   tricks with Rails. I think it is a system 

[Lift] Re: lift nearly inaccessible for newby

2009-10-06 Thread Naftoli Gugenheim

Maybe there should be a Wiki page filled with links for more
information, like How To: Get more information. It would be nice if
it (and the article titled Home--maybe it should have a better
name?) could somehow be the first article in the list.


On Tue, Oct 6, 2009 at 4:10 PM, Stefan Langer
mailtolan...@googlemail.com wrote:
 I didn't want to discourage you I just wanted to be honest and please do
 come back with any question you have as we learn by asking. But at the same
 time as was said in this thread already take the time to expriment and use
 the resources that are there (google and the like) to come up with the
 answers yourself. As you do this you will start to understand stuff more and
 more and things will get easier.

 With the professional help I simply ment that if you have a short time to
 market then you will not get happy with experimenting and you might consider
 paying someone (a professional) or finding someone who will do it for you
 since the other way is going to cost you a lot of time.

 About what David Pollak said:
 I think he does a great job designing and maintaining lift but I still think
 without knowing Scala it is virtually impossible to come to grips with Lift
 no matter how easy it is to set it up.
 Learning a programming language with no programming background is quite a
 job, and in my opinion well worth it, but a long term commitment is
 required.

 About the comment with Rails... not too sure if Rails or Lift is easier or
 they are the same. I have experience with Rails and I love the Ruby syntax
 which I think is a tad better then Scalas so I find Rails still a tad easier
 but that is because of lack of experience with Lift.
 If I wouldn't take Lift serious I wouldn't be here and spend my time
 learning it. I just do not want you to think that you can simply grab lift
 and understand it immediately.

 One more thing about the documentation of Lift. The biggest problem I had
 when starting was that there is no easy link to a workable Lift demo except
 for the maven archetype and that is just not complex enough for learning
 purposes. Thank god to github and the likes the applications to checkout are
 getting more. Still I think it would be great if the Lift website had a
 download for an application like the Java PetStore or the like for beginners
 to study.
 Befor anyone thinks I'm starting a rant here this is just a suggestion and
 if I can find the time besides all the other pet projects of mine ;) I might
 just start a demo app.

 Regards
 Stefan

 2009/10/6 koveen liep...@xs4all.nl

 Stefan,

 thanks for your reply. :)

 to anwser your questions: I have no experience with Java and I only
 made some very simple static websites, years ago. I will try to listen
 to you and try to make a very simple website with Lift. But if -IF-
 I've succeeded in doing that, I hope you will excuse me when I'll come
 back to ask again the -too complex- question in my mail.

 I am not sure if what you are referring to if you mention the
 professional help I should get, but Yes! I am not really happy trying
 things out that don't seem to work for me up till now. So shrink or
 programmer, any help is welcome! (For now I think I will experiment
 with some simple things on my own)

 I know the online liftbook, and I am reading it. I bought the
 Beginning Scala book from David Pollak, and haven't read that much
 yet, but I will.

 Cheers,

 Ko





 On Oct 6, 11:52 am, Stefan Langer mailtolan...@googlemail.com wrote:
  Not ment as a offence but you are in way over your head!
  A couple of things:
  1. You say you are a non-programmer but I assume you do understand
  Scala? Or
  else it is pointless to use Lift as it is based on the Scala language
  and
  relies heavily on its features. Knowledge of Java is also a plus cause
  some
  of the libs are not available in Scala but only in Java and it is better
  to
  know Java in order to understand the libraries.
  2. You do have experience with websites? Complex web applications? If
  not
  then I suggest you start by doing a simple static page for your design
  to
  get to know the technics you are trying to use or you get yourself a
  programmer/webdesinger to do it for you. If you are not willing to learn
  about the technical details you will get in big trouble later on and I
  mean
  trouble that can actually cost you money.
  3. If the above points do not seem valid for you then please get
  professional help
  4. If you are not scared by the above points and you are willing to
  invest
  then I suggest getting some example code and starting to disect that.
  Take a look athttp://github.com/tjweir/pocketchangeappwhich is a
  complete
  demo app in lift
  and take a look athttp://github.com/tjweir/liftbookfor a liftbook that
  is
  available freely.
 
  Regards and good luck on your project
 
  Stefan
 
  2009/10/5 koveen liep...@xs4all.nl
 
 
 
   hi Naftoli,
 
   thanks for your interest.
 
   On Oct 5, 10:50 pm, Naftoli Gugenheim 

[Lift] Re: lift nearly inaccessible for newby

2009-10-05 Thread Naftoli Gugenheim

Being a non-programmer, and additionally not having a Java background,
which framework are you comparing Lift to when you say it's not easy?
:)
Can you clarify: Is this going to be a site, or a back end to a mobile
app that sits on the phone?


On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:

 Hi,

 Being a no-programmer and having no Java-background
 I'd like to have mentioned that Lift really isn't an easy framework.
 Having said that, I will try to read my way into this system and try
 to solve the problems I encounter.

 I have one question.

 I would like to establish a login method where a visitor of my site
 (to be) could be accepted as a valid user, based on the info the
 server receives when the visitor enters the site.

 In my case it will be a site for mobile phones and some mobile phone
 operators will provide me with the telephone-number of the user once
 she enters. Once a user has paid for the service,  this number alone
 should be enough to make the visitior into a valid user. Without
 needing to log in.

 I have read the following on: http://demo.liftweb.net/ws

 t's easy to dispatch incoming HTTP requests.
 In your Boot class create a PartialFunction
 that matches a pattern related to the incoming request and
 then create a short-lived controller to service the request.

 This code matches all the requests to /webservices/ and
 assigns the stuff in '' to the variable c.  Then
 the code attempts to find a public method with that name on
 the controller.  If the method exists, it's invoked and Lift
 processes the result.


 I assume I will have to write my own  public method and place it
 where??? in the direcory webservices.?

 Maven didn't  include such a directory in my project set-up, so I
 assume this  webservices are on an external server and that I will
 have torefer to and  extend an existing function. Am I correct in
 this? and is there an exemple of how to write such a method.

 I would be really happy to make some progress, and any help is
 welcome.

 Thanks,

 Ko

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: lift nearly inaccessible for newby

2009-10-05 Thread koveen

hi Naftoli,

thanks for your interest.

On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
 Being a non-programmer, and additionally not having a Java background,
 which framework are you comparing Lift to when you say it's not easy?
 :)

First I read a book about rails, explaining things from the start, I
did watch quite a lot of nice video's on the web explaining some basic
tricks with Rails. I think it is a system that is easy to start with
but I became nervous about recurring issues about scaling, the
integration of Rails and Merb and had the idea, maybe wrong, that it
was a system too much in transition.

I read part of the tutorial of Lift, installed it on my computer using
Maven, but in a way I got lost.

Then I partially read a book about Wicket. I like the system very
much, especially one trick exited me: the Ajaxfallbacklink in which a
link worked in a simple way when javasript is disabled , but at the
same time has some Ajax functionality when Javascript is enabled on
the users system. I liked this feature very much, but the integration
with a database is not an integral part of the Wicket-system and can
be acquired via a Wicket-Spring-Hibernate combination. This seemed too
much for me to get into as a starter.

That's how I came back to Lift. I need a stable database-connection.
You need one when you hope that people will be paying some, even
small, amount of money for your service.

 Can you clarify: Is this going to be a site, or a back end to a mobile
 app that sits on the phone?

I just want to make a site

But I hope it is clear I am not here to criticise anybody, it is just
that often I feel this system is way over my head. Maybe that will
change.

thanks

Ko



 On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:

  Hi,

  Being a no-programmer and having no Java-background
  I'd like to have mentioned that Lift really isn't an easy framework.
  Having said that, I will try to read my way into this system and try
  to solve the problems I encounter.

  I have one question.

  I would like to establish a login method where a visitor of my site
  (to be) could be accepted as a valid user, based on the info the
  server receives when the visitor enters the site.

  In my case it will be a site for mobile phones and some mobile phone
  operators will provide me with the telephone-number of the user once
  she enters. Once a user has paid for the service,  this number alone
  should be enough to make the visitior into a valid user. Without
  needing to log in.

  I have read the following on:http://demo.liftweb.net/ws

  t's easy to dispatch incoming HTTP requests.
  In your Boot class create a PartialFunction
  that matches a pattern related to the incoming request and
  then create a short-lived controller to service the request.

  This code matches all the requests to /webservices/ and
  assigns the stuff in '' to the variable c.  Then
  the code attempts to find a public method with that name on
  the controller.  If the method exists, it's invoked and Lift
  processes the result.

  I assume I will have to write my own  public method and place it
  where??? in the direcory webservices.?

  Maven didn't  include such a directory in my project set-up, so I
  assume this  webservices are on an external server and that I will
  have torefer to and  extend an existing function. Am I correct in
  this? and is there an exemple of how to write such a method.

  I would be really happy to make some progress, and any help is
  welcome.

  Thanks,

  Ko



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: lift nearly inaccessible for newby

2009-10-05 Thread Naftoli Gugenheim

If it's a site how will it know the phone number?


On Mon, Oct 5, 2009 at 5:44 PM, koveen liep...@xs4all.nl wrote:

 hi Naftoli,

 thanks for your interest.

 On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
 Being a non-programmer, and additionally not having a Java background,
 which framework are you comparing Lift to when you say it's not easy?
 :)

 First I read a book about rails, explaining things from the start, I
 did watch quite a lot of nice video's on the web explaining some basic
 tricks with Rails. I think it is a system that is easy to start with
 but I became nervous about recurring issues about scaling, the
 integration of Rails and Merb and had the idea, maybe wrong, that it
 was a system too much in transition.

 I read part of the tutorial of Lift, installed it on my computer using
 Maven, but in a way I got lost.

 Then I partially read a book about Wicket. I like the system very
 much, especially one trick exited me: the Ajaxfallbacklink in which a
 link worked in a simple way when javasript is disabled , but at the
 same time has some Ajax functionality when Javascript is enabled on
 the users system. I liked this feature very much, but the integration
 with a database is not an integral part of the Wicket-system and can
 be acquired via a Wicket-Spring-Hibernate combination. This seemed too
 much for me to get into as a starter.

 That's how I came back to Lift. I need a stable database-connection.
 You need one when you hope that people will be paying some, even
 small, amount of money for your service.

 Can you clarify: Is this going to be a site, or a back end to a mobile
 app that sits on the phone?

 I just want to make a site

 But I hope it is clear I am not here to criticise anybody, it is just
 that often I feel this system is way over my head. Maybe that will
 change.

 thanks

 Ko



 On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:

  Hi,

  Being a no-programmer and having no Java-background
  I'd like to have mentioned that Lift really isn't an easy framework.
  Having said that, I will try to read my way into this system and try
  to solve the problems I encounter.

  I have one question.

  I would like to establish a login method where a visitor of my site
  (to be) could be accepted as a valid user, based on the info the
  server receives when the visitor enters the site.

  In my case it will be a site for mobile phones and some mobile phone
  operators will provide me with the telephone-number of the user once
  she enters. Once a user has paid for the service,  this number alone
  should be enough to make the visitior into a valid user. Without
  needing to log in.

  I have read the following on:http://demo.liftweb.net/ws

  t's easy to dispatch incoming HTTP requests.
  In your Boot class create a PartialFunction
  that matches a pattern related to the incoming request and
  then create a short-lived controller to service the request.

  This code matches all the requests to /webservices/ and
  assigns the stuff in '' to the variable c.  Then
  the code attempts to find a public method with that name on
  the controller.  If the method exists, it's invoked and Lift
  processes the result.

  I assume I will have to write my own  public method and place it
  where??? in the direcory webservices.?

  Maven didn't  include such a directory in my project set-up, so I
  assume this  webservices are on an external server and that I will
  have torefer to and  extend an existing function. Am I correct in
  this? and is there an exemple of how to write such a method.

  I would be really happy to make some progress, and any help is
  welcome.

  Thanks,

  Ko



 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---



[Lift] Re: lift nearly inaccessible for newby

2009-10-05 Thread Naftoli Gugenheim

And if it's a site why do you want web services?

On Mon, Oct 5, 2009 at 5:53 PM, Naftoli Gugenheim naftoli...@gmail.com wrote:
 If it's a site how will it know the phone number?


 On Mon, Oct 5, 2009 at 5:44 PM, koveen liep...@xs4all.nl wrote:

 hi Naftoli,

 thanks for your interest.

 On Oct 5, 10:50 pm, Naftoli Gugenheim naftoli...@gmail.com wrote:
 Being a non-programmer, and additionally not having a Java background,
 which framework are you comparing Lift to when you say it's not easy?
 :)

 First I read a book about rails, explaining things from the start, I
 did watch quite a lot of nice video's on the web explaining some basic
 tricks with Rails. I think it is a system that is easy to start with
 but I became nervous about recurring issues about scaling, the
 integration of Rails and Merb and had the idea, maybe wrong, that it
 was a system too much in transition.

 I read part of the tutorial of Lift, installed it on my computer using
 Maven, but in a way I got lost.

 Then I partially read a book about Wicket. I like the system very
 much, especially one trick exited me: the Ajaxfallbacklink in which a
 link worked in a simple way when javasript is disabled , but at the
 same time has some Ajax functionality when Javascript is enabled on
 the users system. I liked this feature very much, but the integration
 with a database is not an integral part of the Wicket-system and can
 be acquired via a Wicket-Spring-Hibernate combination. This seemed too
 much for me to get into as a starter.

 That's how I came back to Lift. I need a stable database-connection.
 You need one when you hope that people will be paying some, even
 small, amount of money for your service.

 Can you clarify: Is this going to be a site, or a back end to a mobile
 app that sits on the phone?

 I just want to make a site

 But I hope it is clear I am not here to criticise anybody, it is just
 that often I feel this system is way over my head. Maybe that will
 change.

 thanks

 Ko



 On Mon, Oct 5, 2009 at 2:32 PM, koveen liep...@xs4all.nl wrote:

  Hi,

  Being a no-programmer and having no Java-background
  I'd like to have mentioned that Lift really isn't an easy framework.
  Having said that, I will try to read my way into this system and try
  to solve the problems I encounter.

  I have one question.

  I would like to establish a login method where a visitor of my site
  (to be) could be accepted as a valid user, based on the info the
  server receives when the visitor enters the site.

  In my case it will be a site for mobile phones and some mobile phone
  operators will provide me with the telephone-number of the user once
  she enters. Once a user has paid for the service,  this number alone
  should be enough to make the visitior into a valid user. Without
  needing to log in.

  I have read the following on:http://demo.liftweb.net/ws

  t's easy to dispatch incoming HTTP requests.
  In your Boot class create a PartialFunction
  that matches a pattern related to the incoming request and
  then create a short-lived controller to service the request.

  This code matches all the requests to /webservices/ and
  assigns the stuff in '' to the variable c.  Then
  the code attempts to find a public method with that name on
  the controller.  If the method exists, it's invoked and Lift
  processes the result.

  I assume I will have to write my own  public method and place it
  where??? in the direcory webservices.?

  Maven didn't  include such a directory in my project set-up, so I
  assume this  webservices are on an external server and that I will
  have torefer to and  extend an existing function. Am I correct in
  this? and is there an exemple of how to write such a method.

  I would be really happy to make some progress, and any help is
  welcome.

  Thanks,

  Ko



 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~--~~~~--~~--~--~---