So Steve P convinced me to take a long look at Knop - he says my mind set is now ready to grasp the benefits! So, I downloaded the Demystification of OOP article and the Knop intro paper and read them. I think I am at the point of downloading the examples and tearing them apart, but... why does it seem to me that Knop will only ADD to the complexity and not simplify it? Isn't that the point or am I missing something basic?
===== Consider this nav example (excuse the pidgeon code):
Basically what I do now (in an include in my common folder):
<some type of DB interaction to load nav data>
iterate(nav data)
if( top level) <li>Link and display info</li> else <ul><li>Link and display info</li></ul> /if
/iterate
versus knop:
<some type of DB interaction to load nav data>
// Create the parent nav object. var: 'nav'=(knop_nav: -navmethod='param', -currentmarker=' ยป'); var: 'subnav'=knop_nav;
// Determine current location so the nav object knows where we are $nav -> getlocation; // Generate navigation menu $nav -> renderhtml;
========== Not trying to pick a fight, really trying to understand why I should go this way. I realize that a certain shift of my workflow would be required, but I was coming into this with the understanding that this would save me time and build faster code. This example (granted just one point) seems to do just the opposite as it requires MORE processing to do the same thing. Or is there another level to this nav stuff that I am missing.
With that said, I can see how the forms stuff (from what was in the intro paper) could be a time saver.
Marc
-- Marc Pinnell 1027 Design PO Box 990872 Redding, CA 96099-0872 530.941.4706 fax: 866.232.5300 www.1027Design.com
-- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Feb 27
Steve Piercy - Web Site Builder Re: A question from a possible newbie!
Feb 27, 2010; 13:18
Steve Piercy - Web Site Builder
Re: A question from a possible newbie!
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!