concept anything in category lift

appears as: nything
Lift in Action: The Simply Functional Web Framework for Scala

This is an excerpt from Manning's book Lift in Action: The Simply Functional Web Framework for Scala.

In fact, Lift has been designed from the ground up to support these kinds of systems better than anything else. Building interactive applications should be fun, accessible, and simple for developers. Lift removes a lot of the burdens that other frameworks place on developers by mixing together the best ideas in the marketplace today and adding some unique features to give it a component set and resume that are unlike any other framework you have likely come across before. Lift brings a lot of new ideas to the web framework space, and to quote one of the Lift community members, “it is not merely an incremental improvement over the status quo; it redefines the state of the art” (Michael Galpin, Developer, eBay). This departure from traditional thinking shouldn’t worry you too much, though, because Lift does adopt tried and tested, well-known concepts, such as convention over configuration, to provide sensible defaults for all aspects of your application while still giving you a very granular mechanism for altering that behavior as your project dictates.

You can almost think of the surrounding <p> element as invoking the class and calling the method, with anything contained in that block essentially being the markup that your selectors will address. Finally, but importantly, in order to make the form function correctly, you must add the ?form=post attribute to the snippet. This tells Lift that the element should be surrounded with a <form> tag, which enables the HTML submit to work as expected and submit the form when the users hit the Submit button.