Skip to content

Commit 1f7f0e9

Browse files
committed
Renamed to fire.js. New CLI is firejs, new file extensions are .fjs and .fjson. Manifest file are now called ignition.manifest.json
1 parent 5549b57 commit 1f7f0e9

File tree

113 files changed

+288
-285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+288
-285
lines changed

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
all: run-tests
22

3-
install-dev-dependencies:
4-
npm install vows
5-
6-
remove-dev-dependencies:
7-
npm uninstall vows
8-
93
run-tests:
104
node_modules/.bin/vows test/*.js
115

README.md

Lines changed: 44 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,70 @@
1-
# priest.js
1+
# fire.js
22

3-
priest.js is a programming language embedded in JSON as a set of special 'keys' which aims to make ridiculously easy the creation of Javascript objects from asynchronous sources in node.js.
3+
fire.js is an experimental Framework that uses JSON structures to simplify the definition of complex behaviors from asynchronous sources in Node.js.
44

5-
The Runtime takes a JSON document and compiles it for asynchronous Javascript execution:
5+
The goal is to reuse "building blocks" called "expressions" so you can define behavior on the server side without dealing with the infamous *Javascript asynchronous spaghetti code*.
66

7-
JSON Document -> Deserialization -> Compilation to Javascript -> Execution
8-
9-
## More Info
10-
11-
+ [Tutorials](https://github.com/firebaseco/priest/wiki/Tutorials)
7+
The Runtime takes a JSON document and compiles it to asynchronous Javascript:
128

13-
+ [Wiki](https://github.com/firebaseco/priest/wiki)
9+
JSON Document -> Deserialization -> Compilation to Javascript -> Execution
1410

15-
## FAQ
11+
### Example
12+
13+
Example JSON Structure using a [MongoDB](http://www.mongodb.org/) database:
14+
15+
{
16+
"enabledEmails": {
17+
"@Mongo.Find(users)": {
18+
"enabled": true
19+
},
20+
"@each": {
21+
"@get(CurrentItem.email)": null
22+
}
23+
},
24+
"disabledEmails": {
25+
"@Mongo.Find(users)": {
26+
"enabled": false
27+
},
28+
"@each": {
29+
"@get(CurrentItem.email)": null
30+
}
31+
}
32+
}
33+
34+
The result will be:
35+
36+
{
37+
"enabledEmails": [...],
38+
"disabledEmails": [...]
39+
}
1640

1741
### Is it a replacement for Javascript in Node.js?
1842

19-
Definitely no. The goal of priest.js is to reuse "building blocks" so you can write node.js applications without dealing with the infamous *Javascript asynchronous spaghetti code*.
20-
21-
### Why JSON?
22-
23-
Because JSON Documents are a serialized representation of Javascript Objects. This makes it easier for the Runtime to understand and humans to edit.
43+
Definitely no. In fact, fire.js is itself written in Javascript, you can define your own expressions in Javascript and the runtime will compile all the JSON source code to Javascript, Node.JS will do the rest.
44+
45+
## More Information
2446

25-
### Why "priest"?
47+
+ [Tutorials](https://github.com/firejs/firejs/wiki/Tutorials)
2648

27-
[here](http://en.wikipedia.org/wiki/Judas_Priest)... I was thinking of calling it "judas.js" but I rather keep Lady Gaga out of my mind(this is the part when you laugh).
49+
+ [Wiki](https://github.com/firejs/firejs/wiki)
2850

2951

3052
## Cloning the Repository
3153

32-
git clone https://github.com/firebaseco/priest.git
54+
git clone https://github.com/firejs/firejs.git
3355

3456

35-
### Preparing your Development Environment and running the Tests
36-
37-
priest depends on [vows](http://vowsjs.org/) and other development tools, you can install all of them by simply running:
38-
39-
make install-dev-dependencies
40-
41-
Once it's finished then you can run the tests:
57+
### Tests
4258

4359
make run-tests
4460

45-
There is also:
46-
47-
make remove-dev-dependencies
48-
49-
### Collaborating
61+
### Contributors
5062

51-
* Johan (author). Email: *[email protected]*, Skype: *thepumpkin1979*
63+
* Johan (author). Email: *[email protected]*
5264

5365
## MIT License
5466

55-
Copyright (c) 2011 Firebase.co - http://www.firebase.co
67+
Copyright (c) 2011 Firebase.co and Contributors - http://www.firebase.co
5668

5769
Permission is hereby granted, free of charge, to any person obtaining a copy
5870
of this software and associated documentation files (the "Software"), to deal

bin/priest renamed to bin/firejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
// THE SOFTWARE.
2121

2222
var path = require('path')
23-
var priest = require('../index.js')
24-
priest.executeApplication(process.argv.slice(2))
23+
var fire = require('../index.js')
24+
fire.executeApplication(process.argv.slice(2))
File renamed without changes.

0 commit comments

Comments
 (0)