Webdev:Betterness: Difference between revisions

Line 24: Line 24:
** Alternatives:
** Alternatives:
*** [http://www.perl.com/lpt/a/684 Phrasebook pattern] - where SQL is produced by named templates, not unlike HTML in the view.  Pulls out all the queries in an app into one spot where they can be tweaked and optimized.
*** [http://www.perl.com/lpt/a/684 Phrasebook pattern] - where SQL is produced by named templates, not unlike HTML in the view.  Pulls out all the queries in an app into one spot where they can be tweaked and optimized.
*** [http://docs.kohanaphp.com/libraries/database/builder Query builder] - where SQL is constructed through a DSL of method calls, easing the production of queries but not obscuring the underlying SQL.
*** [http://docs.kohanaphp.com/libraries/database/builder Query builder] - where SQL is constructed through a [http://en.wikipedia.org/wiki/Domain-specific_programming_language DSL] of method calls, easing the production of queries but not obscuring the underlying SQL.


== Languages ==
== Languages ==
Confirmed users
920

edits