JsPHP
   HOME

TheInfoList



OR:

JsPHP is a
cross-browser Cross-browser compatibility is the ability of a website or web application to function across different browsers and degrade gracefully when browser features are absent or lacking. History Background The history of cross-browser is involved ...
JavaScript library A JavaScript library is a library of pre-written JavaScript code that allows for easier development of JavaScript-based applications, especially for AJAX and other web-centric technologies. Libraries With the expanded demands for JavaScript, an ea ...
designed to make the
PHP PHP is a general-purpose scripting language geared toward web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementation is now produced by The PHP Group ...
application programming interface An application programming interface (API) is a way for two or more computer programs to communicate with each other. It is a type of software interface, offering a service to other pieces of software. A document or standard that describes how t ...
(API) available in JavaScript environments. It was started by Kevin van Zonneveld as php.js and released as an open-source project in 2008. In late 2011 John Elliot forked the php.js project to JsPHP and released a web-based collaborative
integrated development environment An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of at least a source code editor, build automation tools a ...
(IDE) at www.jsphp.com in an effort to rejuvenate and breathe new life into the project, and as an excuse to develop a
content management system A content management system (CMS) is computer software used to manage the creation and modification of digital content (content management).''Managing Enterprise Content: A Unified Content Strategy''. Ann Rockley, Pamela Kostur, Steve Manning. New ...
(CMS) with features for software developers, such as
unit testing In computer programming, unit testing is a software testing method by which individual units of source code—sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures&md ...
and
benchmarking Benchmarking is the practice of comparing business processes and performance metrics to industry bests and best practices from other companies. Dimensions typically measured are quality, time and cost. Benchmarking is used to measure performan ...
. JsPHP is free, open source software, dual-licensed under the
MIT License The MIT License is a permissive free software license originating at the Massachusetts Institute of Technology (MIT) in the late 1980s. As a permissive license, it puts only very limited restriction on reuse and has, therefore, high license comp ...
or the GNU General Public License, Version 2. JsPHP is designed to provide a familiar and powerful programming interface for JavaScript programmers with a background in, or integrating with, PHP. JsPHP is a useful supplement to other JavaScript libraries and can be used in Ajax applications and
dynamic web page A server-side dynamic web page is a web page whose construction is controlled by an application server processing server-side scripts. In server-side scripting, parameters determine how the assembly of every new web page proceeds, and includin ...
s and web applications.


Etymology

The 'js' in JsPHP is short for
JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. As of 2022, 98% of Website, websites use JavaScript on the Client (computing), client side ...
and the 'PHP' stands for
PHP PHP is a general-purpose scripting language geared toward web development. It was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1993 and released in 1995. The PHP reference implementation is now produced by The PHP Group ...
: Hypertext Preprocessor. As with many software projects (click on the "Show Comments" link at the bottom of the cited page) the name JsPHP was taken because a domain name, www.jsphp.com, was available; and the name is otherwise concise and descriptive.


Features

JsPHP has support for the vast majority of the PHP API, including functions for array, math, class/object manipulation, date and time, error handling and logging, filesystem, function handling,
JSON JSON (JavaScript Object Notation, pronounced ; also ) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of attribute–value pairs and arrays (or other ser ...
,
regular expressions A regular expression (shortened as regex or regexp; sometimes referred to as rational expression) is a sequence of characters that specifies a search pattern in text. Usually such patterns are used by string-searching algorithms for "find" or ...
, streams, strings, tokenization, URLs and XML.


Including the library

The JsPHP library is only available in custom packages. This means a software developer selects the functions they need and a JsPHP library file is compiled with the selected functions and their dependencies. Functions are also available for individual download. Downloads can be in one of two classes, either "production code" (which has been specifically flagged as fit for release) and "development code" (which is the latest available code in the repository).


Developing at www.jsphp.com

The JsPHP library is developed at www.jsphp.com, which provides a CMS and IDE for development and testing of the software. Of particular note are the built-in code editing,
unit testing In computer programming, unit testing is a software testing method by which individual units of source code—sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures&md ...
and
benchmarking Benchmarking is the practice of comparing business processes and performance metrics to industry bests and best practices from other companies. Dimensions typically measured are quality, time and cost. Benchmarking is used to measure performan ...
facilities. The unit testing facility is built on the
QUnit QUnit is a JavaScript unit testing framework. Originally developed for testing jQuery, jQuery UI and jQuery Mobile, it is a generic framework for testing any JavaScript code. It supports client-side environments in web browsers, and server-sid ...
library, part of the
jQuery jQuery is a JavaScript library designed to simplify HTML DOM tree traversal and manipulation, as well as event handling, CSS animation, and Ajax. It is free, open-source software using the permissive MIT License. As of Aug 2022, jQuery is used ...
project.


See also

*
Comparison of JavaScript frameworks This is a comparison of web frameworks for front-end web development that are heavily reliant on JavaScript JavaScript (), often abbreviated as JS, is a programming language that is one of the core technologies of the World W ...
*
jQuery UI jQuery UI is a collection of GUI widgets, animated visual effects, and themes implemented with jQuery (a JavaScript library), Cascading Style Sheets, and HTML. Using the Shodan search engine query term cpe:"cpe:/a:jquery/jquery_ui" we can dete ...
*
jQuery Mobile jQuery Mobile is a touch-optimized web framework (also known as a mobile framework), specifically a JavaScript library, developed by the jQuery project team. The development focuses on creating a framework compatible with many smartphones and ta ...


References


External links

*
Upstream source

ProgClub
the project administrators {{DEFAULTSORT:Jquery JavaScript libraries Ajax (programming) Software using the MIT license 2011 software