|Inquiry of Possible Deprecation / Relocation of Some Lift Core files||Reuben Doetsch||10/8/12 5:33 AM|
One of people's biggest complaints about Lift is it's complexity, which is also one it's strengths.
For our community, reading the source code is a huge part of the journey into becoming an experienced Lift practitioner. I have read the whole source code and at some point was even thinking of making some community annotated source code.
That being said, there are a few files in the webkit core that seem like they do no need to be part of the core language specification and imho serve to muddle up understanding the source code for someone who is coming to it fresh. These files either
a.) are poorly documented
b.) Are not used extensively
c.) Seem to be trying to appease people who don't want to do it the Lift way
d.) Does not need to be in the core logically and could be put into a util. / module
I would love a discussion about whether
a.) We should keep this file
b.) We should deprecate / remove this file
c.) We should move this file to another file
I could very well be mistaken and all of these files could be used by a number of people, and if that is the case I would love to know.
A few files I think would be best off in a module or in another package in the util:
Paginator.scala - THis seems like it could be in a "snippets" module or something akin to this. I don't think when looking through the core logic this fits.
MVCHelper.scala - Do many people come to lift to do MVC? Seems to me that most people here love the view first architecture. I know David has written some documentation about this, but other than one of two blog posts, there is not much support.
SimpleController.scala - I do not understand how this is used and would love to have some guidance on what to do / make of this.
|Re: [Lift] Inquiry of Possible Deprecation / Relocation of Some Lift Core files||Jeppe Nejsum Madsen||10/9/12 1:00 AM|
Reuben Doetsch <hja...@gmail.com> writes:Appreciate the initiative :-)
I think this is a general problem, not just with webkit. We've not been
very good at pruning unused stuff imo.
Agreed, could move to widgets
Personally I've never used the above and a few days ago dpp said the Jx
stuff was pretty much dead.
|Re: [Lift] Inquiry of Possible Deprecation / Relocation of Some Lift Core files||David Pollak||10/9/12 10:01 AM|
On Tue, Oct 9, 2012 at 1:00 AM, Jeppe Nejsum Madsen <je...@ingolfs.dk> wrote:
I think having some form of pagination support is a core piece of a web framework. Almost every site needs some pagination support.
With that being said, I'm not keen on the model/abstraction that Paginator provides. Moving the specific implementation elsewhere would be fine by me, but I'd like to see a replacement in Webkit.
I'd like to keep MVC helper in Webkit. It may not be heavily used, but it does prove a particular point: Lift can do MVC with very little code. Lift is flexible, so code the way you want, but over time, learn Lift's way.
This is a very, very old file/paradigm. I think it predates Lift proper (back to the Scala with Sails days). I'm fine to see it go away.
Yes... a few releases ago, the Jx stuff quietly got removed from Node and was effectively dead. It's fine to remove for 2.5-M2. (although I really liked the way it worked... sigh.)
Telegram, Simply Beautiful CMS https://telegr.amLift, the simply functional web framework http://liftweb.net
|This message has been hidden because it was flagged for abuse.|