Published 2008-06-11 00:00:00


[UPDATE]  = Roo's build scrips now use gnome seed.

As I mentioned before, I've been busy getting the Ext Fork usable. still not quite there, but it's beginning to take shape.

RooScript

The fork I did of dmdscript (initially for gtk bindings) is being used as the core for all the build tools I'm working on for RooJS, so I though in honour of it's main use, I'll rename it rooscript (as it's a lot easier to google for than gtkDjs or whatever I came up with before..)

So here's a quick howto for building and testing the kit so far.

Rooscript building

First install gdc and subversion (I prefer it to dmd, as it's easier and quicker to set up and use)

#apt-get install gdc 
#apt-get install subversion

decide where you want your code checked out to.

#cd /usr/src 
#svn co http://www.akbkhome.com/svn/rooscript
#cd rooscript
#sh roo.lite.gdc.sh

you should hopefully now have /usr/bin/roolite

getting roojs1

#cd /usr/src
#svn co http://www.akbkhome.com/svn/roojs1

building the docs

The code is based on jsdoctoolkit, and modified to make better sense of RooJS's code. I did look at the Ext version of it, but they had used what looked like and older version of the jsdoctoolkit, so I just took some of the ideas from it.

You can see a preview of the current roojs1 docs here

#cd roojs1
#roolite   ../rooscript/examples/jstoolkit2/run.js \
-- Array.js Date.js Function.js Number.js Roo.js String.js \
-r Roo -t=../rooscript/examples/jstoolkit2/templates/jsdoc/ \
-d=docs/

building the js code (still under testing)

#roolite   buildSDK/bundle_build.js  -L../rooscript/examples/jstoolkit2  

Ok, where is the project now.

  • CSS/images have been recovered from an BSD licenced yui-ext-0.40 snapshot from here
    http://demo.xteconline.com/system/js/builds/yui-ext.0.40.alpha1/
    Most of the changes for 1.0.0 are just renaming the prefixes
  • The doc build is close, although still needs tweaking and checking
  • The code builder is basic, (no variable replacement), but we do strip down close to dojo's hack to rhino, and I'm looking at yui's compresser for ideas on the variable stuff which should be quite simple.
  • The css compresser has been ported to Javascript/rooscript, and should work, although I've not tested it yet..
  • I'm pretty close to testing it by replacing the doc's backend to use Roo, rather than Ext.1.1.1
Mentioned By:
google.com : RooJS (305 referals)
www.prowiki.org : Wiki4D: DMDScript (237 referals)
google.com : RooScript (47 referals)
www.planet-php.net : Planet PHP (32 referals)
www.cnzxh.net : CNZXH.NET 关注基于Linux的开源应用 - RooScript and RooJS v1 building - Alan Knowles (32 referals)
google.com : december (28 referals)
www.phpeye.com : RooScript and RooJS v1 building - Alan Knowles-- 专业PHP社区|论坛|PHP5|教程|源码|下载|框架|手册|类库|PEAR - Po (23 referals)
www.bumpzee.com : RooScript and RooJS v1 building - Alan Knowles | Discussion @ BUMPzee.com (11 referals)
google.com : roolite (5 referals)
computer-internet.marc8.com : RooScript and RooJS v1 building - Alan Knowles | Computer & Internet (5 referals)
www.urlfan.com : RooScript and RooJS v1 building (://URLFAN) (4 referals)
google.com : november (4 referals)
google.com : Roojs javascript (4 referals)
blog.astrumfutura.com : Maugrim The Reaper's Blog - Entries from Wednesday, June 4. 2008 (3 referals)
www.debian.org.hk : Debian HK | Debian @ Hong Kong (2 referals)
www.bumpzee.com : BUMPzee Programming community New Entries (2 referals)
google.com : demo.xteconline.com (2 referals)
google.com : Google Reader -Smoking toooooo much PHP (2 referals)
google.com : roojc (2 referals)
google.com : roojs-all.js (2 referals)

Add Your Comment

Follow us on