205 karma · joined March 4, 2008
(let ((state 'someobject))
(defun phase1 ()
(done1 state))
(defun phase2 ()
(done2 state)
.
.
.and so on
we have the need to create lots of web forms quickly for work (lots and lots). we used django which was a god-send in this regard, but it was still too time consuming (think deployment, styling, SQL databases). so taking a hint from the html chapter in the ansi book we wrote a system in which you define fields within sections within pages to the point where even the non-programmers can now do it ie:
(defpage page3) (defsection section-x) (definputfield blah :type text :section section-x :page page3)
this is enough to put the field up and tie it into storage (it uses page.section.fieldname as key which could be an issue if you want to move stuff around). you can also do this in the (production) REPL, and the field will show up right away (with an exception if you dup something). we don't do major releases this way, but if a researcher wants something right away and he/she is a big shot then it has to be done now. well, there you go. it's done as fast as we can type it in.
there's your example, and i'm sure there are more. try that with c++.
thanks.
well, as long as he doesn't condemn her.
jquery has gone so far that it is starting to smell like a DSL. all in js.
thanks for the feedback.
i think in cappuccino you do everything in the "backend". there's no need to write javascript/html/css ... which is good in a lot of ways (you can output source for different devices, and i'm even guessing you could generate different backends - php, .NET) - but i'm more interested in the js/AJAX everything model, lighter on the backend.
i've never worked in objectiveC/J but js seems nicer at first glance. but i may just be saying that so that i don't feel like i would miss something should we choose etxjs.
more feedback would be appreciated guys.
sorry, too long.
appreciate any comments.
if this is 1970ish, then so is typing ls (forks and pipes galore) on a terminal, and i don't see anyone complaining about that. i'm not exaclty thrilled with the use of a SQL backing store either, more to install, more to monitor, more things that can go wrong.