Re: [Lift] Lift or Scala first?

2010-03-05 Thread Wilson MacGyver
I highly recommend first you read chapter 1-5 of "Beginning Scala" by
David Pollak.

then you are ready to start working through lift's tutorial, samples, etc.

On Fri, Mar 5, 2010 at 12:19 PM, Mini Naim  wrote:
> Hi guys:
> I have a simple question, it's necessary to learn Scala first? or i
> can go with Lift framework, without learn Scala language?
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Lift" group.
> To post to this group, send email to lift...@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.
>
>



-- 
Omnem crede diem tibi diluxisse supremum.

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@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.



Re: [Lift] Re: Lift - GAE Version

2010-01-14 Thread Wilson MacGyver
I just wanted to point out that clojure would be a nonstarter anyway on GAE.
Without threading, you can't use STM as well as some of the killer features of
clojure.

On Thu, Jan 14, 2010 at 5:45 PM, __kaveh__  wrote:
> Clojure is an elegant language "but" it is a Lisp and it is dynamic -
> and that "but" is very real and pragmatic to me. Scala on the other
> hand, is almost simply what we need - that's the best I can tell.
> Again "but" not because of it's power in concurrent computing, rather
> because of it's EXPRESSIVENESS and EXTENDABILITY and providing rich
> options for tailoring data structures in a static language - traits
> are a real joy to use.

-- 
Omnem crede diem tibi diluxisse supremum.
-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@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.




Re: [Lift] Hosting problem, could PHP hosting front end the Liftweb? or is there cheap Liftweb hosting?

2009-11-16 Thread Wilson MacGyver
I would highly recommend you check to see if it's possible to find
java/tomcat hosting.

If you have decent amount of customers. You may also want to consider setting up
a EC2/S3 instance and run your own server that way.

using php front end to proxy like this, I don't think comet feature will work.

On Mon, Nov 16, 2009 at 11:45 PM, philip  wrote:
> Hi,
>
> I will explain my problem, generally it is easy and cheap to get a PHP
> hosting account, often my new customers for websites have a PHP
> hosting as they are on the cheaper end of websites.
> My real server is using dyndns and is located "at home".
>
> Although I have one server, I cannot host many domains on it. So my
> thought is that if I could write a PHP script I could use that to
> "mirror" my real server, also conbined with a .htaccess. So a request
> going to the PHP server hosting the domain would be re-directed to my
> real server and the content sent back to the client.
> I guess a iframe would work, but thats ugly. There's a few ways to do
> this.
>
> What about the Javascript and Ajax, could that work cross-domain? For
> example, going directly to server rather than proxy by the PHP
> hosting?
>
> Well I'll try it out some time soon and put some followup info on
> here.
>
> This is all because its not so easy to get cheap Liftweb hosting! ...
> or does anyone have a solution for that?
>
> Thanks, Philip
>
> --
>
> You received this message because you are subscribed to the Google Groups 
> "Lift" group.
> To post to this group, send email to lift...@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=.
>
>
>



-- 
Omnem crede diem tibi diluxisse supremum.

--

You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@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=.




[Lift] Re: Lift under 2.8 timeframe ?

2009-11-12 Thread Wilson MacGyver

You feel this confident about Scala 2.8 release by Jan?

I'm curious because Scala 2.8 schedule seem to be
a fairly moving target.

On Thu, Nov 12, 2009 at 2:13 PM, David Pollak
 wrote:
>
> We are *very* serious and *VERY* (lots of emphasis) committed to Scala 2.8.
> I'm expecting that Lift 1.1 ships (currently plans for early Jan) as Scala
> 2.8 only or as two flavors (2.7.x and 2.8)


-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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 for a backend REST Server

2009-11-09 Thread Wilson MacGyver

there are several advantages.

1: you get to leverage type safety and the excellent XML support
of Scala, and lift-json.

2: assuming it's not a "open for all" public REST server, you'd have to
deal with security/auth. Lift will help here.

3: In the past, every time I've done a backend REST server project,
soon or later, you end up going "you know, I wish I can throw together
a couple of simple backend admin pages". Lift makes that easy.

On Mon, Nov 9, 2009 at 4:04 PM, Alex Black  wrote:
>
> Hi, I'm curious what your thoughts are on using LIFT to implement a
> backend server for REST web services, e.g. respond to GET/PUT/POST/
> DELETE requests with xml/json.
>
> Is this a good use of Lift? What are the advantages of doing this with
> Lift rather than just Jetty, or another library such as Restlets.
> Thanks!
>
> - Alex
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: What's the deal with class(es) in API named with one character?

2009-11-02 Thread Wilson MacGyver

ah, I was always curious what S stood for.

On Mon, Nov 2, 2009 at 4:33 PM, David Pollak
 wrote:
>
>
> On Mon, Nov 2, 2009 at 12:31 PM, Vesa  wrote:
>>
>> Hi,
>>
>> I feel that having classes with names like S wastes my very limited
>> brain ram while reading or writing lift applications. Why not to use
>> more describing but longer names? Not wasting bytes on these difficult
>> economic times? This might be unfair rant as I didn't find any others,
>> but this damn S keeps popping up a lot :D
>
> S == Stateful
>
> Back when I started doing Lift, there were no IDEs, no code completion, and
> access to the stateful parts of Lift was common, so I called this S.
>
> If you don't like it:
>
> import net.liftweb.http.{S => SomethingLongerThanS}
>
>>
>> ps. Great framework!
>>
>> - Vesa
>>
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Surf the harmonics
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: run jetty

2009-10-15 Thread Wilson MacGyver

congrats, welcome to the beginning of lift.

On Thu, Oct 15, 2009 at 7:22 PM, j...@bancova.com  wrote:
> i got it running!
>
> i followed your suggestion and did some change - put every thing in one line
> and copy this ONE line to c:\
>
> mvn archetype:generate -U -DarchetypeGroupId=net.liftweb
> -DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=1.0
> -DremoteRepositories=http://scala-tools.org/repo-releases
> -DgroupId=com.liftworkshop -DartifactId=todo -Dversion=0.1-SNAPSHOT
>
> thank you so much for supporting me to make the first step
>
>
> john
>
>
> On Thu, Oct 15, 2009 at 5:34 PM, Wilson MacGyver 
> wrote:
>>
>> simple answer, do it as one line like this
>>
>> mvn archetype:generate -U -DarchetypeGroupId=net.liftweb
>> -DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=1.0
>> -DremoteRepositories=http://scala-tools.org/repo-releases
>> -DgroupId=com.liftworkshop -DartifactId=todo -Dversion=0.1-SNAPSHOT
>>
>> On Thu, Oct 15, 2009 at 5:23 PM, j...@bancova.com 
>> wrote:
>> > my problem is:
>> > 1) when i issued "mvn archetype:generate -U \", the machine begins to
>> > run,
>> > and then complains that "-DarchetypeGroupId=net.liftweb \" is not
>> > recognized
>> > as an internal or external command
>> >
>> > 2) then I just issued "mvn archetype:generate -U" and hit return.  then
>> > the
>> > system will ask for GroupId and  artifactId etc...I answered every
>> > thing...then it says "Build Successful".  However, two things wired
>> > happened: a) it never asked for "remoteRepositories=", b) it gave me
>> > errors
>> > when I issued "mvn jetty:run" later.
>> >
>> > 3) I copied exactly your commands into mvn_todo.bat, and tried to click
>> > the
>> > file.nothing happened!
>> >
>> > thank you so much for your patience and your wonderful help!
>> >
>> >
>> > john
>> >
>> > On Thu, Oct 15, 2009 at 4:27 PM, Wilson MacGyver 
>> > wrote:
>> >>
>> >> on which step does this happen when you are following the tutorial?
>> >>
>> >> I just tried it on my laptop.
>> >> mvn archetype:generate -U \
>> >> -DarchetypeGroupId=net.liftweb \
>> >> -DarchetypeArtifactId=lift-archetype-basic \
>> >> -DarchetypeVersion=1.0 \
>> >> -DremoteRepositories=http://scala-tools.org/repo-releases \
>> >> -DgroupId=com.liftworkshop \
>> >> -DartifactId=todo \
>> >> -Dversion=0.1-SNAPSHOT
>> >>
>> >> this creates the todo directory correctly
>> >>
>> >> I then "cd todo"
>> >>
>> >> and run "mvn jetty:run", it started correctly. It reports the database
>> >> create table
>> >> was successful.
>> >>
>> >> Did you get this far while following the tutorial?
>> >>
>> >>
>> >> On Thu, Oct 15, 2009 at 3:52 PM, j...@bancova.com 
>> >> wrote:
>> >> > yes, that is what I'm trying to do.  Thank you for your quick
>> >> > response!
>> >> >
>> >> > On Thu, Oct 15, 2009 at 3:20 PM, Wilson MacGyver
>> >> > 
>> >> > wrote:
>> >> >>
>> >> >> Some quick questions:
>> >> >>
>> >> >> Are you trying to follow the todo example in
>> >> >> http://liftweb.net/docs/getting_started/mod_master.html ?
>> >> >>
>> >> >> Are you using an external database like mysql or are you using the
>> >> >> built-in one?
>> >> >>
>> >> >> On Thu, Oct 15, 2009 at 3:03 PM, john  wrote:
>> >> >> >
>> >> >> > Hi all,
>> >> >> >
>> >> >> > I'm really excited with my recent finding of the wonderful,
>> >> >> > powerful
>> >> >> > lift.
>> >> >> >
>> >> >> > May be my question is too naive, but I did get:
>> >> >> >
>> >> >> > error executing database operation clean_insert,
>> >> >> >
>> >> >> > when I run jetty on my todo directory on Window XP machine.
>> >> >> >
>> >> >> > your help is highly appreciated!
>> >> >> >
>> >> >> > John
>> >> >> >
>> >> >> > >
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Omnem crede diem tibi diluxisse supremum.
>> >> >>
>> >> >>
>> >> >> --
>> >> >> John Zhang, Ph.D.
>> >> >>
>> >> >> 201-993-9089
>> >> >> Bancova
>> >> >> www.bancova.com
>> >> >> Power of E-Learning
>> >> >>
>> >> >> >>
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Omnem crede diem tibi diluxisse supremum.
>> >>
>> >
>> >
>> >
>> > --
>> > John Zhang, Ph.D.
>> >
>> > 201-993-9089
>> > Bancova
>> > www.bancova.com
>> > Power of E-Learning
>> >
>> > >
>> >
>>
>>
>>
>> --
>> Omnem crede diem tibi diluxisse supremum.
>>
>>
>> --
>> John Zhang, Ph.D.
>>
>> 201-993-9089
>> Bancova
>> www.bancova.com
>> Power of E-Learning
>>
>> >>
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: run jetty

2009-10-15 Thread Wilson MacGyver

simple answer, do it as one line like this

mvn archetype:generate -U -DarchetypeGroupId=net.liftweb
-DarchetypeArtifactId=lift-archetype-basic -DarchetypeVersion=1.0
-DremoteRepositories=http://scala-tools.org/repo-releases
-DgroupId=com.liftworkshop -DartifactId=todo -Dversion=0.1-SNAPSHOT

On Thu, Oct 15, 2009 at 5:23 PM, j...@bancova.com  wrote:
> my problem is:
> 1) when i issued "mvn archetype:generate -U \", the machine begins to run,
> and then complains that "-DarchetypeGroupId=net.liftweb \" is not recognized
> as an internal or external command
>
> 2) then I just issued "mvn archetype:generate -U" and hit return.  then the
> system will ask for GroupId and  artifactId etc...I answered every
> thing...then it says "Build Successful".  However, two things wired
> happened: a) it never asked for "remoteRepositories=", b) it gave me errors
> when I issued "mvn jetty:run" later.
>
> 3) I copied exactly your commands into mvn_todo.bat, and tried to click the
> file.nothing happened!
>
> thank you so much for your patience and your wonderful help!
>
>
> john
>
> On Thu, Oct 15, 2009 at 4:27 PM, Wilson MacGyver 
> wrote:
>>
>> on which step does this happen when you are following the tutorial?
>>
>> I just tried it on my laptop.
>> mvn archetype:generate -U \
>> -DarchetypeGroupId=net.liftweb \
>> -DarchetypeArtifactId=lift-archetype-basic \
>> -DarchetypeVersion=1.0 \
>> -DremoteRepositories=http://scala-tools.org/repo-releases \
>> -DgroupId=com.liftworkshop \
>> -DartifactId=todo \
>> -Dversion=0.1-SNAPSHOT
>>
>> this creates the todo directory correctly
>>
>> I then "cd todo"
>>
>> and run "mvn jetty:run", it started correctly. It reports the database
>> create table
>> was successful.
>>
>> Did you get this far while following the tutorial?
>>
>>
>> On Thu, Oct 15, 2009 at 3:52 PM, j...@bancova.com 
>> wrote:
>> > yes, that is what I'm trying to do.  Thank you for your quick response!
>> >
>> > On Thu, Oct 15, 2009 at 3:20 PM, Wilson MacGyver 
>> > wrote:
>> >>
>> >> Some quick questions:
>> >>
>> >> Are you trying to follow the todo example in
>> >> http://liftweb.net/docs/getting_started/mod_master.html ?
>> >>
>> >> Are you using an external database like mysql or are you using the
>> >> built-in one?
>> >>
>> >> On Thu, Oct 15, 2009 at 3:03 PM, john  wrote:
>> >> >
>> >> > Hi all,
>> >> >
>> >> > I'm really excited with my recent finding of the wonderful, powerful
>> >> > lift.
>> >> >
>> >> > May be my question is too naive, but I did get:
>> >> >
>> >> > error executing database operation clean_insert,
>> >> >
>> >> > when I run jetty on my todo directory on Window XP machine.
>> >> >
>> >> > your help is highly appreciated!
>> >> >
>> >> > John
>> >> >
>> >> > >
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Omnem crede diem tibi diluxisse supremum.
>> >>
>> >>
>> >> --
>> >> John Zhang, Ph.D.
>> >>
>> >> 201-993-9089
>> >> Bancova
>> >> www.bancova.com
>> >> Power of E-Learning
>> >>
>> >> >>
>> >
>>
>>
>>
>> --
>> Omnem crede diem tibi diluxisse supremum.
>>
>
>
>
> --
> John Zhang, Ph.D.
>
> 201-993-9089
> Bancova
> www.bancova.com
> Power of E-Learning
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: run jetty

2009-10-15 Thread Wilson MacGyver

on which step does this happen when you are following the tutorial?

I just tried it on my laptop.
mvn archetype:generate -U \
-DarchetypeGroupId=net.liftweb \
-DarchetypeArtifactId=lift-archetype-basic \
-DarchetypeVersion=1.0 \
-DremoteRepositories=http://scala-tools.org/repo-releases \
-DgroupId=com.liftworkshop \
-DartifactId=todo \
-Dversion=0.1-SNAPSHOT

this creates the todo directory correctly

I then "cd todo"

and run "mvn jetty:run", it started correctly. It reports the database
create table
was successful.

Did you get this far while following the tutorial?


On Thu, Oct 15, 2009 at 3:52 PM, j...@bancova.com  wrote:
> yes, that is what I'm trying to do.  Thank you for your quick response!
>
> On Thu, Oct 15, 2009 at 3:20 PM, Wilson MacGyver 
> wrote:
>>
>> Some quick questions:
>>
>> Are you trying to follow the todo example in
>> http://liftweb.net/docs/getting_started/mod_master.html ?
>>
>> Are you using an external database like mysql or are you using the
>> built-in one?
>>
>> On Thu, Oct 15, 2009 at 3:03 PM, john  wrote:
>> >
>> > Hi all,
>> >
>> > I'm really excited with my recent finding of the wonderful, powerful
>> > lift.
>> >
>> > May be my question is too naive, but I did get:
>> >
>> > error executing database operation clean_insert,
>> >
>> > when I run jetty on my todo directory on Window XP machine.
>> >
>> > your help is highly appreciated!
>> >
>> > John
>> >
>> > >
>> >
>>
>>
>>
>> --
>> Omnem crede diem tibi diluxisse supremum.
>>
>>
>> --
>> John Zhang, Ph.D.
>>
>> 201-993-9089
>> Bancova
>> www.bancova.com
>> Power of E-Learning
>>
>> >>
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: How much Scala knowledge is needed to start coding a simple blog with Lift?

2009-10-15 Thread Wilson MacGyver

Generally for people new to scala but with primary intention to
explore lift, I suggest
the following

Get David Pollak's "Beginning Scala" book, read ch 1-5. (I still think
it's a good idea to read ch 6 to know how actors work, but for using
lift, you can
put it in the back burner.)

Then start on lift tutorial. Since you already know java and rails. A bunch of
David's comparions to Ruby/Java will feel right at home for you.

Also with IntelliJ now have a opensource community edition with scala support.
I highly recommend that as a Scala IDE. But for the purpose of learning,
The Scala Repl will be enough for exploring.

Good luck and have fun.

On Thu, Oct 15, 2009 at 1:07 AM, ngocdaothanh  wrote:
>
> Hi,
>
> I have experience with Rails and Java. I'm new to Scala and Lift. I
> want to ask how much Scala knowledge is needed to start coding a
> simple blog with Lift?
>
> Rails is easy to learn because it require little Ruby knowledge to get
> started. Having read the Lift book, I feel one must have some advanced
> Scala knowledge to get started. Could anyone provide some kind of
> guideline or curriculum of Scala and Lift to get started with Lift?
>
> I would like to write a simple blog to learn Lift. But don't know how
> much Scala knowledge I should have to jump in Lift.
>
> Thanks.
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: run jetty

2009-10-15 Thread Wilson MacGyver

Some quick questions:

Are you trying to follow the todo example in
http://liftweb.net/docs/getting_started/mod_master.html ?

Are you using an external database like mysql or are you using the built-in one?

On Thu, Oct 15, 2009 at 3:03 PM, john  wrote:
>
> Hi all,
>
> I'm really excited with my recent finding of the wonderful, powerful
> lift.
>
> May be my question is too naive, but I did get:
>
> error executing database operation clean_insert,
>
> when I run jetty on my todo directory on Window XP machine.
>
> your help is highly appreciated!
>
> John
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: Use Rails as front and Scala as end ?

2009-10-14 Thread Wilson MacGyver

The simplest way is to use scala to write web services and use rails
to make REST request to scala. I mean, you can go all out and
write the web service using scala lift, and use rails to write the front
end per se.

Having said that, unless you have legacy applications or some very
specific reasons, I don't think it's a good way to start out a new project.

On Wed, Oct 14, 2009 at 9:14 PM, Neil.Lv  wrote:
>
> Hi all,
>
>   Does anyone know that how to create a web site use Rails as front
> and Scala as end, just like the twitter ?
>
>   How to integrate these together ?
>
>   Thanks for any suggestion !
>
> Cheers,
>  Neil
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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 1.1 must use Scala 2.8.x ?

2009-10-14 Thread Wilson MacGyver

no, if you are using the current milestone or snapshot, you'll see it's still
using scala 2.7.x series.

I don't think lift will switch to 2.8 anytime soon. too many changes
and too many unknowns. I'm not even sure if scalatest compiles at
this point with 2.8 snapshot.

Or in short, let mvn take care of which scala to use.

On Wed, Oct 14, 2009 at 9:18 PM, Neil.Lv  wrote:
>
> Hi all,
>
>  If i want to use the lift1.1 whether the scala version must greater
> than 2.8 ?
>
>  My lift version is 2.7.4 now, so i must change to 2.8.x ?
>
>  Thanks very much !
>
> Cheers,
>  Neil
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: Pain Building Lift

2009-09-19 Thread Wilson MacGyver

I'm running Snow Leopard, Maven 2.2.1. And I use git pull to keep
track of the latest source.

I use export MAVEN_OPTS="-Xmx1024m"

and then

mvn clean install

I've been doing that for the past 3 month or so now. It's only broke
twice for me. Both times had to do with new code, and both
were resolved within hours of being reported.

So as a whole, I've had very positive experience building from the src
for Lift.

On Sat, Sep 19, 2009 at 12:31 PM, mond ray mond  wrote:
>
> It's an open source project so I don't think that users that have the
> temerity to build it should be questioned ;-)
>
> Like our friend runt (probably not his / her real name), I have built
> 1.0.2 from the github tag, following your instructions and get build
> problems with the SQLMapper.  A small sample:
>
> [WARNING] /Users/ray/NetBeansProjects/liftweb/lift-mapper/src/main/
> scala/net/liftweb/mapper/LoggingStatementWrappers.scala:565: error:
> value setSQLXML is not a member of java.sql.PreparedStatement
> [WARNING]       underlying.setSQLXML(index, x)
> [WARNING]                  ^
> [WARNING] 28 errors found
> [INFO]
> 
> [ERROR] BUILD FAILURE
> [INFO]
> 
>
> What must be done to build successfully?
>
> Thanks
>
> Ray
>
> On Sep 19, 10:35 am, Timothy Perrett  wrote:
>> runt,
>>
>> Why on earth are you sudo'ing for a simple build? Moreover, is there a
>> reason you want to build from source? See my instructions here:
>>
>> http://wiki.github.com/dpp/liftweb/how-to-getting-and-building-from-s...
>>
>> To be honest, if you just want to use lift then you really don't need
>> to build the source - try the following command also:
>>
>> mvn archetype:generate -DarchetypeCatalog=http://scala-tools.org/
>>
>> Try those and let me know...
>>
>> Cheers, Tim
>>
>> On Sep 19, 1:14 am, runt  wrote:
>>
>> > Hi Everyone,
>>
>> > Ok, so I want to see what the hype is about with Lift - it sounds
>> > pretty exciting. However trying to build Lift from source is killing
>> > my buzz, I tried using the instructions from the wiki
>>
>> > sudo git clone git://github.com/dpp/liftweb.git
>> > cd liftweb
>> > sudo /opt/maven/bin/mvn -e install
>>
>> > on unbuntu 9.04, with maven 2.2.1, and git 1.6.3.3. I have a tried it
>> > a couple times and had epic fails that have ranged from compilation
>> > errors to runtime errors.
>>
>> > Readinghttp://wiki.liftweb.net/index.php/Source_codesaysthe clone
>> > URL is from the trunk. Please correct me if I am mistaken with that -
>> > I cannot seem to find anything about Lift's release management.
>>
>> > My question is are stable release sources available? I would like to
>> > try my luck with one of those.
>>
>> > Thankyou - runt
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: Proper way to upgrade Lift and Scala libs?

2009-09-16 Thread Wilson MacGyver

Got it, thanks for the info. Staying with 2.7.5 then. Just finished
moving to 2.7.6
for non-lift stuff yesterday, reverting... :)

On Wed, Sep 16, 2009 at 8:52 AM, David Pollak
 wrote:
>
>
> On Tue, Sep 15, 2009 at 9:01 PM, Wilson MacGyver 
> wrote:
>>
>> On Tue, Sep 15, 2009 at 11:44 PM, David Pollak
>>  wrote:
>> > Lift (1.1-X and 1.0.1/1.0.2) is compiled against Scala 2.7.5  This is
>> > the
>> > version you should be using.
>> > Do not upgrade to 2.7.6  2.7.6 is a broken release.
>>
>> can you expand on that? Do you mean 2.7.6 is a broken release for using it
>> with lift, or 2.7.6 is just plain broken for scala development, and should
>> stick to 2.7.5?
>
> Both.
> EPFL took a single change off the 2.8 development branch and grafted it onto
> 2.7.5 without testing beyond the standard Scala tests, without any beta
> period, without any discussion on scala-internals, and without any notes to
> the various stake-holders in the Scala community.  The change seems to break
> existential types.  Lift will not compile with the change.  Code compiled
> with the change will likely not work with 2.7.5 and code compiled under
> 2.7.5 will have different pickling (serialization) of Scala-related metadata
> in the class files.
> So, stay as far away from 2.7.6 as you can.
>
>
>>
>> --
>> Omnem crede diem tibi diluxisse supremum.
>>
>>
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Git some: http://github.com/dpp
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: Proper way to upgrade Lift and Scala libs?

2009-09-15 Thread Wilson MacGyver

On Tue, Sep 15, 2009 at 11:44 PM, David Pollak
 wrote:
> Lift (1.1-X and 1.0.1/1.0.2) is compiled against Scala 2.7.5  This is the
> version you should be using.
> Do not upgrade to 2.7.6  2.7.6 is a broken release.

can you expand on that? Do you mean 2.7.6 is a broken release for using it
with lift, or 2.7.6 is just plain broken for scala development, and should
stick to 2.7.5?


-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: Comet Chat

2009-08-24 Thread Wilson MacGyver

Hi Bjarte,

I am the one who wrote that post. It came out of a 1 hour presentation
that I did for my local java user group to show what lift can do. So it
was very minimal. Since most people attending are new to both
Scala and Lift.

I second David's suggestion. For a more full featured version
check out

http://demo.liftweb.net/chat

In fact http://demo.liftweb.net/ has quite a bit of example.
And I believe all the code are also available from David Pollak's
github repo.

Thanks,
Mac

On Mon, Aug 24, 2009 at 12:05 PM, Bjarte Stien
Karlsen wrote:
>
> Hello lifted,
>
> I am playing around with the 50ish line based comet example that dpp
> has talked about in several talks and that is written more about here:
> http://m.3wa.com/?p=304
>
> Today I showed this to a friend and it looks like the focus of the
> input box is lost when an update is received. Does anybody have a clue
> on how this can be fixed? Is it not possible to just update part of
> the DOM without having to steal the focus from the input field?
>
> --
> Bjarte Stien Karlsen
> Ronatoppen 6a, 4638 Kristiansand
> 95219547
> MSN: m...@ibjarte.com
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: ToDo example

2009-07-25 Thread Wilson MacGyver

btw, when I said stupid questions, I was talking about the questions
I was about to ask, not yours. :) I wrote it real fast and realized it
could be taken the wrong way. :)

On Sat, Jul 25, 2009 at 10:09 PM, Kev wrote:
>
> I was working through the ToDo example on the web
> http://liftweb.net/docs/getting_started/mod_master.html#x1-12.4
>
> but when I add the ToDo to the line
>  Schemifier.schemify(true, Log.infoF _, User, ToDo)
>
> I get file not found exceptions at compile time, have I missed a step?
> the import is correct and my todo clas is in the correct location.
>
> Hopefully it's late and I have missed some thing...
> thanks,
>
> Kevin
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: ToDo example

2009-07-25 Thread Wilson MacGyver

stupid question.

src/main/scala/com/liftworkshop/model/ToDo.scala exist and it in fact does have
class ToDo and object ToDo, with case matching?

and the mvn command you did use -DarchetypeArtifactId=lift-archetype-basic ?

On Sat, Jul 25, 2009 at 10:09 PM, Kev wrote:
>
> I was working through the ToDo example on the web
> http://liftweb.net/docs/getting_started/mod_master.html#x1-12.4
>
> but when I add the ToDo to the line
>  Schemifier.schemify(true, Log.infoF _, User, ToDo)
>
> I get file not found exceptions at compile time, have I missed a step?
> the import is correct and my todo clas is in the correct location.
>
> Hopefully it's late and I have missed some thing...
> thanks,
>
> Kevin
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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: building lift

2009-07-19 Thread Wilson MacGyver

that fixed it. thank you very much,

On Mon, Jul 20, 2009 at 1:56 AM, Derek Chen-Becker wrote:
> I've added in an exclusion to prevent this version of the lib from being
> pulled. We generally use the geronimo version of JEE libs due to a less
> restrictive license.
>
> Derek
>
> On Sat, Jul 18, 2009 at 8:00 PM, Ross Mellgren  wrote:
>>
>> It looks like the maven central repository only has the POM and not
>> the JAR. Try adding this repository to your POM:
>>
>> 
>>        java.net
>>        http://download.java.net/maven/2
>> >
>>
>> Or manually downloading JTA and putting it in your jre/lib directory.
>>
>> -Ross
>>
>> On Jul 18, 2009, at 9:49 PM, Wilson MacGyver wrote:
>>
>> >
>> > Hi,
>> >
>> > I git clone the lift source from git hub. then run mvn install to
>> > build it.
>> >
>> > It fails with
>> >
>> > Downloading:
>> > http://scala-tools.org/repo-releases/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
>> > [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in
>> > repository scala-tools.org (http://scala-tools.org/repo-releases)
>> > Downloading:
>> > http://scala-tools.org/repo-snapshots/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
>> > [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in
>> > repository scala-tools.org.snapshots
>> > (http://scala-tools.org/repo-snapshots)
>> > Downloading:
>> > http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
>> > [INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in
>> > repository central (http://repo1.maven.org/maven2)
>> > [INFO]
>> > 
>> > [ERROR] BUILD ERROR
>> > [INFO]
>> > 
>> > [INFO] Failed to resolve artifact.
>> >
>> > Missing:
>> > --
>> > 1) javax.transaction:jta:jar:1.0.1B
>> >
>> >
>> > is this intentional due to some license issue with the jta jar?
>> >
>> > Thanks,
>> > Mac
>> >
>> > --
>> > Omnem crede diem tibi diluxisse supremum.
>> >
>> > >
>>
>>
>>
>
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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] building lift

2009-07-18 Thread Wilson MacGyver

Hi,

I git clone the lift source from git hub. then run mvn install to build it.

It fails with

Downloading: 
http://scala-tools.org/repo-releases/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in
repository scala-tools.org (http://scala-tools.org/repo-releases)
Downloading: 
http://scala-tools.org/repo-snapshots/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in
repository scala-tools.org.snapshots
(http://scala-tools.org/repo-snapshots)
Downloading: 
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[INFO] Unable to find resource 'javax.transaction:jta:jar:1.0.1B' in
repository central (http://repo1.maven.org/maven2)
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Failed to resolve artifact.

Missing:
--
1) javax.transaction:jta:jar:1.0.1B


is this intentional due to some license issue with the jta jar?

Thanks,
Mac

-- 
Omnem crede diem tibi diluxisse supremum.

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

2009-07-14 Thread Wilson MacGyver

Just want to report back, I gave the lift presentation to my local
java user group.
It went well. The comet-chat demo was a crowd pleaser.

I want to especially thank Marius and David for letting me use their material.
Fun times.

Thanks,
Mac

--~--~-~--~~~---~--~~
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: Becoming a Scala/Lift Guru

2009-07-06 Thread Wilson MacGyver

Wouldn't Ch6 on actors be useful too? But yea, Ch7 would be too much.

On Mon, Jul 6, 2009 at 1:59 PM, David
Pollak wrote:
>
>
> On Mon, Jul 6, 2009 at 10:41 AM, Wilson MacGyver 
> wrote:
>>
>> I would like to suggest David's "Beginning Scala" book. It's written
>> for new comer. And has lots of examples that you can play with
>> using Scala's REPL.
>
> Heh... you beat me to the suggestion... ;-)
>
> Chapters 2-5 of Beginning Scala should give you some grounding in Scala
> syntax and how to do cool things with Scala.  Whatever you do, stay away
> from Chapter 7... it's a big nasty scary thing and is not needed for the
> kind of code you're writing.
>
> Once you get through BegSca 2-5, go on to
> http://liftweb.net/docs/getting_started.html  There may be gaps between the
> two, but if you point out the gaps, we'll fill them in both online and in
> the Getting Started document.
>
>>
>> On Mon, Jul 6, 2009 at 1:22 PM, eric cs wrote:
>> >
>> > David, awesome ideas you got there,thanks, about posting my
>> > improvements and stuff, pretty unique really and it will helps for
>> > future programers as well specially coming raw into Scala.
>> > I totally agree with you, maybe Scala is too much for a new guy who
>> > doesn't know some basic and advanced concepts or doesn't know how to
>> > put everything together?
>> > Totally agree there, but please tell a way, a book who will teach that
>> > foundation that has some examples in practice as well.
>> > I could install Scala do all that you mention but I don't know where
>> > to go from there which itens/classes/objects should I add to start
>> > building a app from scratch.
>> > I am looking for some book right now, like Code Complete 2,Clean Code:
>> > A Handbook of Agile Software Craftsmanship.
>> > I know what a method/function is what it does, I know what a class is,
>> > an Interface,Object,inheritance, but I can't put everything together
>> > yet, I know some of the theory and concepts, I think I need a good
>> > book that teaches how o put everything together.
>> > If you guys know some...please let me know.
>> > What's more, after that I will need to learn why scala is so
>> > diferent,powerfull,improved from Java or Ruby in concepts,theory,way
>> > to program and do things, in case you know a book about that too would
>> > be awesome.
>> >
>> > Is like a person who know what a cement is, water,tools, but doesn't
>> > know how to construct something, with pavers some people knows what it
>> > is but doesn't know how to pave and how some paver patterns with help
>> > with that, he can just put random pavers on the ground because is
>> > gonna be a mess, same thing with coding I think..hehe
>> > Thanks.
>> >
>> > On Jul 6, 12:00 pm, Wilson MacGyver  wrote:
>> >> I would echo David's comment. Scala is a powerful language with high
>> >> complexity budget. I think it's important to learn the fundamentals of
>> >> Scala first and build on top of it.
>> >>
>> >> On Mon, Jul 6, 2009 at 11:52 AM, David
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> Pollak wrote:
>> >> > Eric,
>> >>
>> >> > It seems that you want to hike the Appalachain Trail at marathon
>> >> > speeds.
>> >> > I'm not sure it can be done.  It took me 18 months with Scala before
>> >> > I felt
>> >> > comfortable with it and my learning curve with new languages is
>> >> > pretty good
>> >> > (it took 2 weeks to get comfortable with Ruby and 3 months before I
>> >> > felt
>> >> > that I had mastered it.)  I do not yet consider myself a Scala guru,
>> >> > although I consider myself very skilled with it.
>> >>
>> >> > All of us have different learning styles, but I'm not sure that your
>> >> > goal of
>> >> > understanding object hierarchies before sitting down to code is one
>> >> > that I'd
>> >> > recommend.
>> >>
>> >> > I'd suggest playing with small pieces and getting them to work for
>> >> > you.
>> >> > Perhaps the following order might be a starting place:
>> >>
>> >> > Install Scala 2.7.5 and just play with the REPL (the interactive
>> >> &g

[Lift] Re: Becoming a Scala/Lift Guru

2009-07-06 Thread Wilson MacGyver

I would like to suggest David's "Beginning Scala" book. It's written
for new comer. And has lots of examples that you can play with
using Scala's REPL.

On Mon, Jul 6, 2009 at 1:22 PM, eric cs wrote:
>
> David, awesome ideas you got there,thanks, about posting my
> improvements and stuff, pretty unique really and it will helps for
> future programers as well specially coming raw into Scala.
> I totally agree with you, maybe Scala is too much for a new guy who
> doesn't know some basic and advanced concepts or doesn't know how to
> put everything together?
> Totally agree there, but please tell a way, a book who will teach that
> foundation that has some examples in practice as well.
> I could install Scala do all that you mention but I don't know where
> to go from there which itens/classes/objects should I add to start
> building a app from scratch.
> I am looking for some book right now, like Code Complete 2,Clean Code:
> A Handbook of Agile Software Craftsmanship.
> I know what a method/function is what it does, I know what a class is,
> an Interface,Object,inheritance, but I can't put everything together
> yet, I know some of the theory and concepts, I think I need a good
> book that teaches how o put everything together.
> If you guys know some...please let me know.
> What's more, after that I will need to learn why scala is so
> diferent,powerfull,improved from Java or Ruby in concepts,theory,way
> to program and do things, in case you know a book about that too would
> be awesome.
>
> Is like a person who know what a cement is, water,tools, but doesn't
> know how to construct something, with pavers some people knows what it
> is but doesn't know how to pave and how some paver patterns with help
> with that, he can just put random pavers on the ground because is
> gonna be a mess, same thing with coding I think..hehe
> Thanks.
>
> On Jul 6, 12:00 pm, Wilson MacGyver  wrote:
>> I would echo David's comment. Scala is a powerful language with high
>> complexity budget. I think it's important to learn the fundamentals of
>> Scala first and build on top of it.
>>
>> On Mon, Jul 6, 2009 at 11:52 AM, David
>>
>>
>>
>>
>>
>> Pollak wrote:
>> > Eric,
>>
>> > It seems that you want to hike the Appalachain Trail at marathon speeds.
>> > I'm not sure it can be done.  It took me 18 months with Scala before I felt
>> > comfortable with it and my learning curve with new languages is pretty good
>> > (it took 2 weeks to get comfortable with Ruby and 3 months before I felt
>> > that I had mastered it.)  I do not yet consider myself a Scala guru,
>> > although I consider myself very skilled with it.
>>
>> > All of us have different learning styles, but I'm not sure that your goal 
>> > of
>> > understanding object hierarchies before sitting down to code is one that 
>> > I'd
>> > recommend.
>>
>> > I'd suggest playing with small pieces and getting them to work for you.
>> > Perhaps the following order might be a starting place:
>>
>> > Install Scala 2.7.5 and just play with the REPL (the interactive
>> > interpreter.)  This will give you a good feeling of what can be done with
>> > Scala.  See how data can be manipulated. (3 or 4 days... perhaps assisted 
>> > by
>> > Beginning Scala.)
>> > Install Maven on your machine and create the Lift hello world app:
>> >http://wiki.liftweb.net/index.php/HowTo_start_a_new_liftwebapp(1 to 2
>> > days... also use a normal text editor, not an IDE... installing IDEs can be
>> > a rats nest of problems... TextMate for the Mac is the best choice, but vi
>> > or emacs are also good if you already know them.)
>> > Run through the ToDo example in Lift (5 or 6 days)
>>
>> > By this point, you should have a bucket full of questions.  Ask them.  Ask
>> > them as your going.  Ask them when you get to breaking points.
>>
>> > As you're spending your two weeks touring through Scala and Lift, start
>> > thinking about what you want to build.  Think from the UI back (that tends
>> > to be the easiest for most people... then think about how to interact with
>> > something and then go backward from it.)  Scala allows for better
>> > "composition" of application (using smaller parts to make bigger
>> > functionality rather than thinking about gross level object abstractions).
>> > So, draw your UI on a piece of paper and then start writing down what 
>> > pieces
>> > each UI comp

[Lift] Re: Becoming a Scala/Lift Guru

2009-07-06 Thread Wilson MacGyver

I would echo David's comment. Scala is a powerful language with high
complexity budget. I think it's important to learn the fundamentals of
Scala first and build on top of it.

On Mon, Jul 6, 2009 at 11:52 AM, David
Pollak wrote:
> Eric,
>
> It seems that you want to hike the Appalachain Trail at marathon speeds.
> I'm not sure it can be done.  It took me 18 months with Scala before I felt
> comfortable with it and my learning curve with new languages is pretty good
> (it took 2 weeks to get comfortable with Ruby and 3 months before I felt
> that I had mastered it.)  I do not yet consider myself a Scala guru,
> although I consider myself very skilled with it.
>
> All of us have different learning styles, but I'm not sure that your goal of
> understanding object hierarchies before sitting down to code is one that I'd
> recommend.
>
> I'd suggest playing with small pieces and getting them to work for you.
> Perhaps the following order might be a starting place:
>
> Install Scala 2.7.5 and just play with the REPL (the interactive
> interpreter.)  This will give you a good feeling of what can be done with
> Scala.  See how data can be manipulated. (3 or 4 days... perhaps assisted by
> Beginning Scala.)
> Install Maven on your machine and create the Lift hello world app:
> http://wiki.liftweb.net/index.php/HowTo_start_a_new_liftwebapp (1 to 2
> days... also use a normal text editor, not an IDE... installing IDEs can be
> a rats nest of problems... TextMate for the Mac is the best choice, but vi
> or emacs are also good if you already know them.)
> Run through the ToDo example in Lift (5 or 6 days)
>
> By this point, you should have a bucket full of questions.  Ask them.  Ask
> them as your going.  Ask them when you get to breaking points.
>
> As you're spending your two weeks touring through Scala and Lift, start
> thinking about what you want to build.  Think from the UI back (that tends
> to be the easiest for most people... then think about how to interact with
> something and then go backward from it.)  Scala allows for better
> "composition" of application (using smaller parts to make bigger
> functionality rather than thinking about gross level object abstractions).
> So, draw your UI on a piece of paper and then start writing down what pieces
> each UI component needs.  You should be able to build a simple, piece by
> piece screen that does what you want it to.  Once you've got it working,
> think about how to combine and normalize pieces of functionality.
>
> As always, we're here for you.  The Lift community will help you, but we ask
> that you document your learning (perhaps via blog or wiki or Twitter) so
> others have the benefit of the work you've done.
>
> Thanks,
>
> David
>
> On Mon, Jul 6, 2009 at 6:14 AM, eric cs  wrote:
>>
>> Guys,
>> Thank you very much for all your answers.
>> Having a community like that, I know is half way there for anyone.
>> I am very very very eager to learn, that's my number one priorite
>> right now and the e-commerce is an example to work with some real
>> application and apply logic and a database to learn how put the
>> classes together.
>> It's not a hobbie I found another passion in my life besides my wife,
>> my dog, my music and it's web programming.
>> I like it all since css,ajax to actionscript to back side languages
>> and the logic behind it.That's why I quit Civil Engineering and move
>> to Computer Science years ago, but some stuff happens yada,yada.yada,
>> here I am several years later trying to learn again.
>> I feel better and more prepared than before and without distractions.
>> I said a month but I have all the time in my hands right now so it
>> could be until 2010 if necessary, full time. I wish I could work doing
>> something like this sometime.
>> Before I even learn scala, I have to get the logic how to create an
>> app first in my head, like which items would an object and they will
>> related to each other then to a database,it's not about create a
>> simple program only,abstract,it's about how to put all little
>> programns together to create something, in this case could be an e-
>> commerce.Then I could learn the advanced concepts of Scala, functional
>> programming and stuff like that.
>> Maybe an e-commerce has a lot of logic involved is a good start to get
>> my head around programming web apps with that example.
>> I don't know if you guys understand what I meant,what I need to learn
>> first, but even a book that explains that would be good, I read some
>> books about design patterns and stuff but none of them applied in a
>> real application.
>> It's not even regular regular programming logic, I need to learn like
>> how a put a app in a modular way, one thing on top of eachother, I
>> don't know it that's the way to think about that, how classes will
>> interact with eachother,Interfaces.
>> Anyway, keep your advices coming and in case you know a book that
>> explains that would be awesome.
>> Thanks again.
>>
>>
>>
>> wat
>> On

[Lift] Re: lift presentation

2009-06-29 Thread Wilson MacGyver
Thank you for the links. I'll be "borrowing" those too. :) And thanks forthe
"lift". :) (ducking from incoming tomatoes)

On Mon, Jun 29, 2009 at 12:31 PM, David Pollak <
feeder.of.the.be...@gmail.com> wrote:

>
>
> On Thu, Jun 25, 2009 at 5:24 AM, Jeremy Day  wrote:
>
>> Guys,
>>
>> I just want to say that I haven't started using Lift yet but I already
>> love it.  This community is very supportive and responsive.  Keep up the
>> awesome work!
>
>
> Grin!  This is the kind of message (and thread) that makes coming home from
> vacation a very good thing!
>
> My most recent Lift/Scala preso is the dpp_osb.odp file in
> http://github.com/dpp/lift-samples/tree/61c376dc9f0d99113229894d4a5b8b4de0041470/presentations/2009_dpp_qcon_tss
>
> Also, please see http://liftweb.blip.tv
>
> Basically, the preso is building the chat app in 40 lines of code in front
> of people, then discussing the Scala language features that make it
> possible.
>
>
>>
>>
>> Jeremy
>>
>>
>> On Thu, Jun 25, 2009 at 7:21 AM, Wilson MacGyver wrote:
>>
>>>
>>> heheh, no problem. I did the one on Scala back in Feb. :)
>>>
>>> On Thu, Jun 25, 2009 at 7:31 AM, Francois Armand
>>> wrote:
>>> >
>>> >>
>>> >> I did a presentation some weeks ago, the slides are under a creative
>>> common
>>> >> licence, so use them if you want !
>>> >>
>>> >>
>>> http://fanf42.blogspot.com/2009/06/tour-of-scala-ossgtp-paris-oss-user.html
>>> >
>>> >
>>> > OK, just ignore this message, it was a *Scala* presentation, not a
>>> > *Lift* one - sorry, I read your post too quickly - and no, the fact
>>> > that we were in Lift ml didn't make me find that strange :)
>>> >
>>> >
>>> > --
>>> > --
>>> > Francois Armand
>>> > http://fanf42.blogspot.com/
>>> >
>>> > >
>>> >
>>>
>>>
>>>
>>> --
>>> Omnem crede diem tibi diluxisse supremum.
>>>
>>>
>>>
>>
>>
>>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Beginning Scala http://www.apress.com/book/view/1430219890
> Follow me: http://twitter.com/dpp
> Git some: http://github.com/dpp
>
>
> >
>


-- 
Omnem crede diem tibi diluxisse supremum.

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

2009-06-25 Thread Wilson MacGyver

heheh, no problem. I did the one on Scala back in Feb. :)

On Thu, Jun 25, 2009 at 7:31 AM, Francois Armand wrote:
>
>>
>> I did a presentation some weeks ago, the slides are under a creative common
>> licence, so use them if you want !
>>
>> http://fanf42.blogspot.com/2009/06/tour-of-scala-ossgtp-paris-oss-user.html
>
>
> OK, just ignore this message, it was a *Scala* presentation, not a
> *Lift* one - sorry, I read your post too quickly - and no, the fact
> that we were in Lift ml didn't make me find that strange :)
>
>
> --
> --
> Francois Armand
> http://fanf42.blogspot.com/
>
> >
>



-- 
Omnem crede diem tibi diluxisse supremum.

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

2009-06-25 Thread Wilson MacGyver
Thank you very much!

On Thu, Jun 25, 2009 at 2:16 AM, marius d.  wrote:

>
> I'm giving today a presentation for Transylvania JUG  ... I'll email
> you my material.
>
> Br's,
> Marius
>
> On Jun 25, 8:04 am, Wilson MacGyver  wrote:
> > Hi,
> >
> > I'm doing a presentation on lift to my local java user group next month.
> >
> > I'm wondering if any of you have slides on lift that I can
> borrow/leverage? :)
> >
> > Thanks,
> > Mac
> >
> > --
> > Omnem crede diem tibi diluxisse supremum.
> >
>


-- 
Omnem crede diem tibi diluxisse supremum.

--~--~-~--~~~---~--~~
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] lift presentation

2009-06-24 Thread Wilson MacGyver

Hi,

I'm doing a presentation on lift to my local java user group next month.

I'm wondering if any of you have slides on lift that I can borrow/leverage? :)

Thanks,
Mac

-- 
Omnem crede diem tibi diluxisse supremum.

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