Difference between revisions of "JsPHP"

From ProgClub
Jump to: navigation, search
 
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Jsphp is the ProgClub project to implement PHP functions in JavaScript. It's a fork of [http://phpjs.org/ phpjs] with some planned bug fixes and improvements. The content management system used by Jsphp is provided by the [[Pcphpjs]] project and available in production at [http://jsphp.co/ jsphp.co]. For other projects see [[Projects]].
+
JsPHP is the ProgClub project to implement PHP functions in JavaScript. It's a fork of [http://phpjs.org/ phpjs] with some planned bug fixes and improvements. The content management system used by JsPHP is provided by the [[pcphpjs]] project and available in production at [http://www.jsphp.com/ jsphp.com]. Visit [http://www.jsphp.com/ jsphp.com] for access to the JavaScript library and development features. For other projects see [[Projects]].
  
 
== Project status ==
 
== Project status ==
  
Under way. Not released yet, there's stuff [[Jsphp#TODO|TODO]].
+
Released.
  
 
== Contributors ==
 
== Contributors ==
Line 15: Line 15:
 
Upstream contributors:
 
Upstream contributors:
  
 +
* [http://www.jsphp.com/javascript/php/contributor/list jsphp.com contributors]
 
* [http://phpjs.org/authors/index phpjs contributors]
 
* [http://phpjs.org/authors/index phpjs contributors]
  
 
== Copyright ==
 
== Copyright ==
  
Copyright 2011, [[Jsphp#Contributors|Contributors]]. Dual licensed under the [[MIT license|MIT]] or [[GPL]] licenses.
+
Copyright 2011-2012, [[#Contributors|Contributors]].
 +
 
 +
== License ==
 +
 
 +
Dual licensed under the [[MIT license|MIT]] or [[GPL]] licenses.
  
 
== Source code ==
 
== Source code ==
  
The source code is available for editing and management via [http://jsphp.co jsphp.co].
+
The source code is available for editing and management via [http://www.jsphp.com jsphp.com].
  
 
== Links ==
 
== Links ==
  
* [http://jsphp.co jsphp.co]
+
* [http://www.jsphp.com jsphp.com]
* [http://jsphp.co/jsphp-dev jsphp.co development snapshot]
+
* [http://www.jsphp.com/jsphp-dev jsphp.com development snapshot]
  
 
== TODO ==
 
== TODO ==
Line 34: Line 39:
 
Things to do, in rough order of priority:
 
Things to do, in rough order of priority:
  
* Put in unit tests for array class
+
* Write unit tests and benchmarks for all functions.
* Try changing array class to get versions to benchmark
 
* Develop the content management system [[Pcphpjs]]
 
* Port functions from phpjs.org
 
 
 
[[Category:TODO]]
 
  
 
== Done ==
 
== Done ==
Line 45: Line 45:
 
Stuff that's done. Latest stuff on top.
 
Stuff that's done. Latest stuff on top.
  
 +
* [[User:John|JE]] 2011-12-30: Functions imported, upstream developers imported, and dependencies imported.
 +
* [[User:John|JE]] 2011-12-30: Put in unit tests for array class
 +
* [[User:John|JE]] 2011-12-30: Try changing array class to get versions to benchmark
 +
* [[User:John|JE]] 2011-12-30: Develop the content management system [[Pcphpjs]]
 +
* [[User:John|JE]] 2011-12-30: Import functions from phpjs.org
 
* [[User:John|JE]] 2011-09-21: created project page
 
* [[User:John|JE]] 2011-09-21: created project page
  
 
== Notes for implementers ==
 
== Notes for implementers ==
  
If you are interested in incorporating the ProgClub Jsphp into your project, here's what you need to know:
+
If you are interested in incorporating the ProgClub JsPHP into your project, here's what you need to know:
  
Well this is all still under development, but when it's ready you will be able to request a download of the javascript file containing your functions from jsphp.co.
+
Go to [http://www.jsphp.com/ jsphp.com] and click on the [http://www.jsphp.com/jsphp/fn/list Functions] tab. Select the functions you want to have access to from JavaScript, and then choose a download type. Download types are either Production or Development. Choose Production if you want the latest production verified code, or Development if you want the absolute latest version, and then click Download. You will then have a php.js file with your functions in it that you can include from your own project. If you need the php.js file packaged in a different format then get in contact with [[User:John|John]] and let him know and he can look at fixing up the packaging system for you.

Latest revision as of 16:14, 11 December 2017

JsPHP is the ProgClub project to implement PHP functions in JavaScript. It's a fork of phpjs with some planned bug fixes and improvements. The content management system used by JsPHP is provided by the pcphpjs project and available in production at jsphp.com. Visit jsphp.com for access to the JavaScript library and development features. For other projects see Projects.

Project status

Released.

Contributors

Members who have contributed to this project. Newest on top.

All contributors have agreed to the terms of the Contributor License Agreement. This excludes any upstream contributors who tend to have different administrative frameworks.

Upstream contributors:

Copyright

Copyright 2011-2012, Contributors.

License

Dual licensed under the MIT or GPL licenses.

Source code

The source code is available for editing and management via jsphp.com.

Links

TODO

Things to do, in rough order of priority:

  • Write unit tests and benchmarks for all functions.

Done

Stuff that's done. Latest stuff on top.

  • JE 2011-12-30: Functions imported, upstream developers imported, and dependencies imported.
  • JE 2011-12-30: Put in unit tests for array class
  • JE 2011-12-30: Try changing array class to get versions to benchmark
  • JE 2011-12-30: Develop the content management system Pcphpjs
  • JE 2011-12-30: Import functions from phpjs.org
  • JE 2011-09-21: created project page

Notes for implementers

If you are interested in incorporating the ProgClub JsPHP into your project, here's what you need to know:

Go to jsphp.com and click on the Functions tab. Select the functions you want to have access to from JavaScript, and then choose a download type. Download types are either Production or Development. Choose Production if you want the latest production verified code, or Development if you want the absolute latest version, and then click Download. You will then have a php.js file with your functions in it that you can include from your own project. If you need the php.js file packaged in a different format then get in contact with John and let him know and he can look at fixing up the packaging system for you.