Archive for January, 2008

moo.rd: all the new enanchements

January 28th, 2008 | written by RD

In this last period i spent a lot of my free time to adjust the performance of moo.rd, first of all in the webiste: i developed a new and fresh template called “Sparking Milk”, a new download builder, a new forum approach, new documentation features, a new engine for contributing on the developing, and finally, i created this blog.

The new download builder

First of all i want to speak about the new and powerful download builder. Now you can download moo.rd in a totally relaxing way: the engine choose all the components needed by the component you choose. For example, if you choose the toggle_extend.js file, the toggle.js file required will be automatically choosed. And if you deselect the …

The moo.rd system

January 25th, 2008 | written by RD

moord_system.gif

When i decided to build a moo.rd system, i wanted to have a Javascript file as modular as possible. Because of this, i created the constructors.js core file, which contains all the “core” moo.rd constructors, as the name says.The core constructors are wrappers whose properties represent the “extended” moo.rd constructors. For example the Custom object is a core constructor, while the Custom.Alert and Custom.Confirm classes are extended constructors. In this way you can choose the Custom.Alert without Custom.Confirm and vice-versa.

There are some others core constructors besides Custom: for example:

  • Table, which allows you to download table_rows.js, table_cols.js or table_cells.js , indipendent of each other
  • Make, which allows you to download make_table.js, make_list.js or make_select.js

How to use moo.rd

January 25th, 2008 | written by RD

Using moo.rd is really easy. Obviously, if you want to use moo.rd, first you have to have a MooTools copy on your Javascript root.

These are the simply three steps required:

  1. Go to download page and choose the components you want
  2. Now choose the compression type
  3. Type the download button and you’re ready

Now, put into your project the either the MooTools and moo.rd files:

1
2
3
4
5
6
7
<script src="js/mootools.v1.1.js" type="text/javascript"></script>
<script src="js/moo.rd_v1.3.js" type="text/javascript"></script>
<script type="text/javascript">
  window.addEvent("domready", function() {
    // do your application
  });
</script>

You’re ready to work with moo.rd.