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 -~----------~----~----~----~------~----~------~--~---