Frequently Asked Questions

What is the www.jsphp.com website?

The www.jsphp.com website is a web-based Integrated Development Environment (IDE) and Content Management System (CMS) that enables the collaborative development and distribution of a JavaScript library called JsPHP.

What is available on the www.jsphp.com website?

If you're an unregistered user you will have access to browse the JsPHP library and to download functions that you'd like to use in your own projects. As a registered user you can be involved in the development of the JsPHP library. That is, you can edit code for functions, unit tests or benchmarks; leave comments; and edit function dependencies. To get started learning about what's available on the www.jsphp.com website head over to the demo page.

Who pays for the www.jsphp.com website?

The www.jsphp.com website is a ProgClub project. ProgClub is a free international club for computer programmers, and ProgClub is sponsored by an Australian software development company, Blackbrick. So it is essentially Blackbrick who pays to develop and host the www.jsphp.com website.

Who runs the www.jsphp.com website?

As mentioned above the www.jsphp.com website is a ProgClub project. John Elliot is in charge of the www.jsphp.com project at ProgClub. Checkout the contact page if you need to get in touch.

Who develops the www.jsphp.com website?

The www.jsphp.com website is developed by ProgClub. It's another one of ProgClub's open-source computer programming projects. The www.jsphp.com website runs a customised Content Managemnt System (CMS) and Integrated Development Environment (IDE) that is made available through the Pcphpjs software. The Pcphpjs software is developed by ProgClub members on a volunteer and paid basis. Generally Pcphpjs is a volunteer project, but Blackbrick has employed programmers to work on some of the more involved features.

What is the JsPHP library?

The JsPHP library is an open-source JavaScript library that aims to deliver the PHP API. This means that the functions available in a PHP programming environment have been implemented as JavaScript functions so you can use similar functions in a JavaScript environment. The library is particularly useful when you are porting algorithms that have been written in PHP to JavaScript environments (such as web-browsers).

Can you explain the function statuses 'Ported', 'Unported', etc?

Functions at JsPHP are classified with one of the following statuses: Ported, Unported, Not-porting, Experimental, or Workbench. The idea of this classification is to let you know what the plans are for a function and where it is at in terms of development. An explanation of the various function statuses follows.

Ported
Ported functions are the PHP functions which have been successfully ported to JavaScript and are available in the JsPHP library.
Unported
Unported functions are the PHP functions which we would like to include in the JsPHP JavaScript library but which have not yet been ported.
Not-porting
Not-porting functions are PHP functions which are available in PHP but which will not be being made available in JsPHP for some reason. For example, perhaps the function cannot be implemented usefully in a JavaScript environment for a technical or practical reason.
Experimental
Experimental functions are PHP functions which may be ported to the JsPHP JavaScript library, but it's too early to say for sure. If a function has an experimental JavaScript implementation it carries this status.
Workbench
Workbench functions are PHP functions which will be ported to the JsPHP JavaScript library, but which haven't been completely ported yet. While work is proceeding on such functions they carry a Workbench status.

What is the Pcphpjs project?

The Pcphpjs project is a ProgClub project, and it is the software that provides the www.jsphp.com website. You can learn more on the Pcphpjs project page.

What is the history of the JsPHP library?

The JsPHP library started life as php.js, initially released as an open-source library by Kevin van Zonneveld in 2008. Kevin's php.js project evolved to phpjs.org, where the upstream library continues to be developed and made available today. In December 2011 John Elliot forked the phpjs.org codebase into a new ProgClub project at www.jsphp.com where the code is made available, with some improvements and modifications, as the JsPHP library.

Why did you fork code already available at phpjs.org?

John had a fix for one of the phpjs.org functions that didn't get applied. You can read more about it on his blog. Apart from being annoyed that his fix didn't make it into the production release at phpjs.org he figured he could do a better job. At www.jsphp.com there are version control, public authoring, dependency management, unit tests and benchmarking facilities in addition the other features available at both sites such as attribution and comments. So the idea was basically to try and make a better CMS tool (an entire web-based IDE in the end), learn a thing or two about PHP and JavaScript, and fix that bug.

[top]

Comments

There are no comments yet, be the first!

Please Login or Register to post comments.

ProgClub

ProgClub is a club for computer programmers, and we created the www.jsphp.com website. Come hang out with us if you'd like. :)

phpjs.org

phpjs.org is the upstream source for the JsPHP JavaScript library that provides the PHP API.

Blackbrick

Blackbrick is an Australian technology company that graciously pays to host www.jsphp.com. If you're looking to employ expert JavaScript programmers to help you with your project feel free to get in contact with Blackbrick who may be able to help you out.