Home | Projects | Tutorials | Articles | live chat | Submit Project | Big Vote
 
Ajax Projects
.NET Frameworks
Java Frameworks
PHP Frameworks
Ruby Frameworks
Other Frameworks
Cool AJAX sites
Ajax Resources
Ajax Tools
JavaScript frameworks
Partners
Custom Software Development

High quality software development at low prices. PHP, ASP.NET, AJAX

Ajax Lines

Ajax articles, tutorials, reviews, tips and more..

Stock Exchange Chat

Stock exchange community, chat room for each quote

Web 2.0 Sites

Web 2.0 reviews, articles, cool sites, screenshots, tips...

Brian Tracy Videos

Self help, Self Improvement videos for Brian Tracy

Self Help

Articles for self improvement, self help, communication skills

Facebook Applications

Do you want to know the latest facebook applications?

king bed sheet

Visit Aqttan online store for famous egyptian cotton home textile products.

 Home /  Tutorials / A JavaScript make-like utility

A JavaScript make-like utility





Peter Michaux has created a make, or rake-like utility for JavaScript called xmake. You create a Xmakefile.js such as

Read The Full Tutorial.



Peter Michaux has created a make, or rake-like utility for JavaScript called xmake.

You create a Xmakefile.js such as
PLAIN TEXT
JAVASCRIPT:

   1.
      
   2.
      / defines println
   3.
      require('helpers');
   4.
      
   5.
      xmake.task('low', function() {
   6.
        println('low');
   7.
      });
   8.
      
   9.
      xmake.task('mid1', ['low'], function() {
  10.
        println('mid1');
  11.
      });
  12.
      
  13.
      xmake.task('mid2', ['low'], function() {
  14.
        println('mid2');
  15.
      });
  16.
      
  17.
      xmake.task('high', ['mid1', 'mid2'], function() {
  18.
        println('high');
  19.
      });
  20.
      

And you run it via:

    xmake [-f filename] taskname

This works with xjs, the server side JavaScript framework Peter is building. We are seeing a spur in these types of libraries as people do more on the server-side.

source: ajaxian

Related Tutorials

  • Mastering Ajax Part 4:
    The great divide between programmers (who work with back-end applications) and Web programmers (who spend their time writing HTML, CSS, and JavaScript) is long standing. However, the Document Object Model (DOM) bridges the chasm and makes working with bot
  • Bundled and Ordered Asynchronous AJAX
    Imagine for a moment that you’re building a web application based nearly 100% percent on AJAX. And imagine that you’ll likely need to send bursts of multiple AJAX requests to your server, and you also need all of these requests to be processed in order w
  • JSON tutorials
    This tutorial will walk you through the steps to create an JSON AJAX driven website. This tutorial is very similar to the original AJAX Web Chat tutorial that I wrote back in November of 2005, but instead of passing the message data back as XML, we will
  • Creating Resizeable Buttons in CSS
    Have you ever designed a page for a web application and wanted to make a nice button for the application? You probably opened your photo editor and started working on the button.
  • Google AJAX Language Custom Server Control
    I tried Google AJAX Language API yesterday with a “Hello World” example, today I build an ASP.NET AJAX-enabled custom server control for it. The coding process is fun and it’s way simpler than building Virtual Earth Map AJAX-enabled controls at work.
  • Ajax Tutorial
    Ajax is a catchy name for a type of programming made popular in 2005 by Google and other big web developers. Ajax loosely stands for Asynchronous Javascript And XML, but that just sounds like techno jargon to many people.

Leave Your Comment

Name (Required)
Mail (will not be published) (required)
Website
Top Projects
e-messenger
MSN Web Messenger
ebuddy
MessengerFX
ILoveIM
AJAX file upload
You Tube
KoolIM.com
Ajax.NET Professional
Meebo
Tutorials
File Upload using PHP, Javascript & Iframe
Ajax and XML
Simple AJAX
Self Printing JavaScript Literals
jQuery AJAX PHP chat upgrade
Rasmus 30 second AJAX Tutorial
The problem with innerHTML
Fun with SVG and CSS Animations
URL-identifiable Content with AJAX
ASP.NET MVC and JSON