psn

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i psn

Weekly Downloads

3

Version

0.1.1

License

none

Last publish

Collaborators

  • devinrhode2-personal