There are lift examples on GitHub under sites.
It sounds like you have two questions, one about Scala, one about Lift. Both
are very flexible--there isn't necessarily only one way. If you understand how
snippets get invoked from html, the rest is up to you.
Hello,
ok. I know that I can compose my logic together.
But I dont know how to configure my parts and where to do it.
David says to create objects that do extend my traits?
How do you guys do it, so that you have a seperation of
Lift and application layer...?
I am getting better :D
thanks a
object MyVendor {
def apply(in: Params): MyThing = (in, runMode) match {
case (p, Test) = new BusinessLogic(p) with MockStorage
case (p, Development) = new BusinessLogic(p) with H2Storage with
Debugging
case (p, Production) if Amazon.running_? = new BusinessLogic(p) with
S3Storage
Can you please be more specific about your app tier that you wish to
access - im unfortunately not seeing what hurdle stops you from
accessing it just as you would from Java?
Cheers, Tim
On Aug 22, 9:45 pm, greekscala hellectro...@gmail.com wrote:
Hello Lift Community,
I want to implement a
Hello Timothy,
thank you.
I know that I do not need Spring for Scala.
I dont expressed it well. How do I glue my app parts
together. And how do I glue the lift part with a facade or
application service of my domain layer.
Thanks for your help
On 23 Aug., 13:12, Timothy Perrett
On Sun, Aug 23, 2009 at 5:15 AM, greekscala hellectro...@gmail.com wrote:
Hello Timothy,
thank you.
I know that I do not need Spring for Scala.
I dont expressed it well. How do I glue my app parts
together. And how do I glue the lift part with a facade or
application service of my domain
Hello David,
thanks for helping.
Do you mean by composing my business logic with traits
like the example of Jonas Boner
http://jonasboner.com/2008/10/06/real-world-scala-dependency-injection-di.html
?
I understand the example.
What do you mean by objects? The object Scala keyword?
It would be