|
I've just committed the changes to CVS which implement an events system in
OpenThought. In OpenThought, the browser might
contact the server for one of several different reasons, each of which requires
a different type of response. Previously, application authors had to test
for these on their own, by checking the value of a GET parameter. That was
aweful.
The events-based system offers more structure to the requests the browser
might send. There is a new method, called event, which figures out
which event the browser has sent to the application. It then calls the
appropriate subroutine, based on the parameters an author has given to the
event method.
I think this new system makes OpenThought applications much cleaner, easier
to understand, and it lowers the learning curve for new developers.
OpenThought is still considered alpha, but only because parts of the API are
being finalized. I'm incredibly picky about API's, and I'm not okay pushing it
into beta until I'm happy with how the API looks. Aside from that, OpenThought
has been stable for over a year, we've been using it in production for quite
some time at work. It will be going into beta very shortly so we can bang out
any lingering bugs. Version 1.0 creeping up on us.
|