Re: [Lift] Re: This is the style of SQL persistence that I like ...
On Thu, Feb 25, 2010 at 7:36 AM, aw anth...@whitford.com wrote: On Feb 24, 12:47 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: We're currently using Rails migrations and I've been thinking if putting migrations into the app is really the right approach? What happens if migrations fail? It's not easy for the app itself to rollback to the previous version :-) There is obviously a strong relationship between the code and the database, especially when you are adding columns/fields to tables/ classes, so I like managing the code and database together. But as much as I like the DSL approach of Scala-Migrations, I'm sticking with the richness of Liquibase: http://liquibase.org/ Ouch. Much too verbose to my liking :-) What are the features you use that is not available in e.g. Scala migrations? /Jeppe -- 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.
[Lift] Re: This is the style of SQL persistence that I like ...
Interesting - i've not explored that in 2.8... Personally, i've been wanting to get scala-migrations integrated into the lift dev process for ages... this SQL project might be a great bed- fellow for it. 2.8 is becoming more attractive by the day... Cheers, Tim On Feb 24, 8:29 pm, Jim Barrows jim.barr...@gmail.com wrote: On Wed, Feb 24, 2010 at 1:27 PM, Timothy Perrett timo...@getintheloop.euwrote: Agreed - its nice. The var's are a little unsettling though... shame there is not a way to make it more immutable. Wouldn't the new copy functionality of case classes in 2.8 take care of that? I've been drooling over this and the migrations project combined since marius posted this. Very cool stuff. Cheers, Tim On 24 Feb 2010, at 17:35, David Pollak wrote: Yeah. It's good stuff. Would love to see it integrated with Mapper/Record (so it's not looking at var fields, but looking at the more complex objects that represent fields). On Wed, Feb 24, 2010 at 9:33 AM, Marius marius.dan...@gmail.com wrote: Maybe most of you have seen it: http://max-l.github.com/Squeryl/ Br's, Marius -- 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.comliftweb%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/liftweb?hl=en. -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Surf the harmonics -- 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. -- 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.comliftweb%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/liftweb?hl=en. -- James A Barrows -- 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: This is the style of SQL persistence that I like ...
I've pinged Max and he's open to integration with Lift... do I have any takers? On Wed, Feb 24, 2010 at 12:34 PM, Timothy Perrett timo...@getintheloop.euwrote: Interesting - i've not explored that in 2.8... Personally, i've been wanting to get scala-migrations I'm not keen on the migrations view of the world. It's something that's not type-safe (there's nothing that verifies that your model objects have the same schema as the migrations). integrated into the lift dev process for ages... this SQL project might be a great bed- fellow for it. 2.8 is becoming more attractive by the day... Cheers, Tim On Feb 24, 8:29 pm, Jim Barrows jim.barr...@gmail.com wrote: On Wed, Feb 24, 2010 at 1:27 PM, Timothy Perrett timo...@getintheloop.euwrote: Agreed - its nice. The var's are a little unsettling though... shame there is not a way to make it more immutable. Wouldn't the new copy functionality of case classes in 2.8 take care of that? I've been drooling over this and the migrations project combined since marius posted this. Very cool stuff. Cheers, Tim On 24 Feb 2010, at 17:35, David Pollak wrote: Yeah. It's good stuff. Would love to see it integrated with Mapper/Record (so it's not looking at var fields, but looking at the more complex objects that represent fields). On Wed, Feb 24, 2010 at 9:33 AM, Marius marius.dan...@gmail.com wrote: Maybe most of you have seen it: http://max-l.github.com/Squeryl/ Br's, Marius -- 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.comliftweb%2bunsubscr...@googlegroups.com liftweb%2bunsubscr...@googlegroups.comliftweb%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/liftweb?hl=en. -- Lift, the simply functional web frameworkhttp://liftweb.net Beginning Scalahttp://www.apress.com/book/view/1430219890 Follow me:http://twitter.com/dpp Surf the harmonics -- 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.comliftweb%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/liftweb?hl=en. -- 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.comliftweb%2bunsubscr...@googlegroups.com liftweb%2bunsubscr...@googlegroups.comliftweb%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/liftweb?hl=en. -- James A Barrows -- 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.comliftweb%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/liftweb?hl=en. -- 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 -- 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: This is the style of SQL persistence that I like ...
On Wed, Feb 24, 2010 at 9:38 PM, David Pollak feeder.of.the.be...@gmail.com wrote: I've pinged Max and he's open to integration with Lift... do I have any takers? On Wed, Feb 24, 2010 at 12:34 PM, Timothy Perrett timo...@getintheloop.eu wrote: Interesting - i've not explored that in 2.8... Personally, i've been wanting to get scala-migrations I'm not keen on the migrations view of the world. It's something that's not type-safe (there's nothing that verifies that your model objects have the same schema as the migrations). That's true. We're currently using Rails migrations and I've been thinking if putting migrations into the app is really the right approach? What happens if migrations fail? It's not easy for the app itself to rollback to the previous version :-) /Jeppe -- 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: This is the style of SQL persistence that I like ...
Whilst I totally take that argument, more often than not I find migrations can be a useful aid. Cheers, Tim On 24 Feb 2010, at 20:47, Jeppe Nejsum Madsen wrote: That's true. We're currently using Rails migrations and I've been thinking if putting migrations into the app is really the right approach? What happens if migrations fail? It's not easy for the app itself to rollback to the previous version :-) -- 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.
[Lift] Re: This is the style of SQL persistence that I like ...
On Feb 24, 12:47 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: We're currently using Rails migrations and I've been thinking if putting migrations into the app is really the right approach? What happens if migrations fail? It's not easy for the app itself to rollback to the previous version :-) There is obviously a strong relationship between the code and the database, especially when you are adding columns/fields to tables/ classes, so I like managing the code and database together. But as much as I like the DSL approach of Scala-Migrations, I'm sticking with the richness of Liquibase: http://liquibase.org/ -- 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.