download:morf

К началу / Home | about: на Русском | about: in English | Примеры / Examples

Morf comes in three variants:

Native Morf is completely independent of any external libraries. However, most of developers use this or that framework for their JavaScripts. Those framework have some of features already implemented - that Morf-native has to implement. So, if you want to rely on your favourite JS-framework and prefer it over Morf native implementation, you are free to do so.

I have written jQuery and prototype adapters for Morf. Prototype and jQuery versions utilize AJAX, Form-serialization, CSS-classnames manipulation from the corresponding framework. Therefore, Prototype and jQuery versions are a bit smaller in size.

Q: I use a different JS-framework which has AJAX, Form-serialization etc features, too, but it is not on the list of supported adapters. What should I do then?

  1. Download Morf core here.
  2. Download sample adapter here: jQuery, prototype.
  3. Write your own adapter, based on your favourite framework.
  4. Merge the core and the adapter (or, you can include them into your web-page separately). In a Unix shell, I would do it like this:
    $ cat morf.core.js morf.adapter.my-framework.js > morf.my-framework.js
  5. Send me a letter: crocodile2u at yandex dot ru - so that I could publish your adapter here, and your framework users could use it, too.