Coder Social home page Coder Social logo

9ne's Introduction

                                                                      2007-06-05
		                        ____             
		                       / __ \            
		                      ( (__) )___   ____ 
		                       \__  /  _ \ / _  )
		                         / /| | | ( (/ / 
		                        /_/ |_| |_|\____)
		               Copyright (C) 2006-2007 Rob Rohan
		                      http://www.9ne.org

Thanks for playing with 9ne. If you have any questions or comments you can send 
me an email at [email protected]. I'll try to answer as soon as I can.

0. WHAT IS 9NE
1. BUILDING
2. RUNNING
3. CODE LAYOUT
4. DOCUMENTATION

0. WHAT IS 9NE

9ne, pronounced "nine", is an online, dynamically extendable, color coding 
editor.

1. BUILDING

a) Compiling the Compressor

Since this is all javascript, building is kind of a loose term. What building 
means in 9ne is compressing the javascript. 9ne uses the included application
jsmin.c which you will have to compile yourself. It couldn't be eaiser, just do:

$gcc -o jsmin.exe jsmin.c

That command should produce an executable named "jsmin.exe". If you want to use
the build script without modification, it must be named "jsmin.exe". The gcc
compiler should be readily available on Macintosh and Linux systems. If you are
using Windows you'll probably have to use cygiwn. The build script requires a 
bash shell (Macintosh, Linux, and all other Unixy OSs should be fine).

b) Using the build script

To use the build script you'll need to have ant installed. If you use Macintosh
and you have the developer tools installed, just type "ant" from the shell. If
you use Eclipse as your IDE, right click on the build.xml file and choose "run".
If none of those apply to you, download and install ant from Apache 
(http://ant.apache.org/ ; requires Java as well).

When the build script runs, it will create a directory called "bin" and move
all the needed files into that directory.

2. RUNNING

To run it, copy the bin directory to a web server and hit the 9ne.php (or 
9ne.html) file. *IMPORTANT* you'll have to run it from a web server not from the
local hard disk. The reason for this is because 9ne dynamically loads bits of
code after startup, and some browsers security setting wont allow that to 
happen.

3. CODE LAYOUT

Here is the basic layout of what is where. The source tree and the bin tree are
the same (or they should be) after a compile (see the BUILDING section).

/src/
     9ne.html                    Main entry point file
     9ne.php                     Main entry point file
     bindings/                   Keybinding files
     code/                       The javascript source code
     docs/                       The runtime docs (tutorials, keys, etc)
     libs/                       3rd party libraries
     modes/                      Dynamically loaded mode support files
        css/
        xml/
        javascript/
        ...
     style/                      The CSS used to control 9ne
        themes/                  The CSS used to color 9ne - to skin it

4. DOCUMENTATION

The code uses NaturalDocs comments though out. If you'd like to generate the 
documentation you can download and install NaturalDocs, and then run the ant
task to generate documentation. It is also available on line at http://9ne.org.

9ne's People

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.