0.1.1 • Published 12 years ago

psn v0.1.1

Weekly downloads
43
License
-
Repository
github
Last release
12 years ago

PHP style node, psn

Same thing as PHP except you get to use javascript code in place of php code. Code delimiters are <% and %>

Example

<p>
  Here's some html.
  <%= 'Heres some dynamic output'+user.name %>
</p>

Install/Setup/Usage/slash

  • 1: Create new folder and put an empty server.js file in it
  • 3: Put require('psn').startServer() in the file.
  • 4: Open the Terminal or Command Prompt at this directory and run:
    npm install devinrhode2/psn
    //This will fail if you don't have the latest version of node and npm
  • 5: Create a site. Use .ejs files instead of .php. Good luck with databases or doing anything really interesting. I'm sarcastically serious.

  • 2: undefined

Contributing

At this point you should really contribute if you use this, or consider feeding me to enhance it. Please follow the guidelines.

Haters

Should refer to psn as Not PhotoShop the carry on the acronym mis-ordering of php, hypertext pre-processor, this will assure it doesn't become widely known. The meanest way to hate is silently, so this is a compromise to simply aschew and confuse others about the meaning of the acronym psn

Trolling

Issues tab is a fun place for this. However, Hardcore trolling(R) takes in the pull requests tab. Ideally the psn(R) project prefers really useful but sneakily shitty code that will bite people in the ass later. Failing silently, mis-naming functions, and leaking memory are all favorable things with psn. Code that fails to do this will probably not be accepted.

TAKE ME SRSLY, FOLLOW @DEVINRHODE2

0.1.1

12 years ago

0.1.0

12 years ago

0.0.9

12 years ago

0.0.8

12 years ago

0.0.7

12 years ago

0.0.6

12 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago