The php-js-webedit editor is a tool for editing and building HTML pages (relatively complex) from a browser, so you can edit without the composer or the frontpage. You can easily transfer the content directly to the server by submiting a form or in the URL. Using this you can easily store in a database the pages you have built.
It can be used as an application itself or embedded in any web page, and it is completely configurable by the programmer who is embedding it in one of his pages.
The php-js-webedit editor is written in HTML and Javascript, and it uses PHP as a server-side language.( Thoguh there is a vrsion written exclusively in Javascript and HTML. See chapter 6.- of the document Readme_english.txt for further information).
User's interface consists in a HTML page which includes some buttons and Javascript functions which act on a textarea to help the user to build the page in a user friendly way. Hence the HTML source is generated in the textarea, and user is assisted by Javascript functions which ask for attributes values, options, values, etc. Whenever he or she wants to, the user can see the preview of the document.
Editor's page is dinamically built in the server, and it can be absolutely personalized just indicating the values for the parameters. For further information about parametrization see chapter 1.- of the document Readme_english.txt. To implement this, PHP has been used as a server-side language.
Here it is an example of how it can look like:
And another example of how the preview is shown:
The editor supports simultaneous multitextarea edition. (See chapter 4.- of the document Readme_english.txt for further information). An example could look like this:
Once you have built and transferred the page which contains the editor, the client can use all the functions. When the page is finished, 'Save' button can be clicked and then the editor will do what the programmer has specified in the function 'funcio_save' which is a parameter of the configuration. For instance, you can transfer the page to the server and then store the HTML source in a database. This makes php-js-webedit a powerful tool to be integrated in another applications, as an online-web-site-builder, or announcements pannel manager.
LIST OF FEATURES
Until now, php-js-webedit includes the following features:
Page Preview.
Generation of document anchors.
Generation of Links.
Generation of tables.
Insert images in the document.
Change document's title.
Change document's background colour.
Consultation of a basic colours palette.
New document (blank one).
Styles use and management.
New line.
Blank space insertion.
Formatted text: font face, size, color, bold, italic, underlined.
Bold text.
Italic text.
Underlined text.
Horizontal line.
Left alignment.
Center alignment.
Right alignment.
Generation of numbered lists.
Generation of not numbered lists.
Block quoting.
Two modes of user-assistance: guided and direct.
Php-js-webedit editor has been tested under Netscape 4.05 and higher, and Explorer 5.0
The module is available in three languages: cathalan, spanish and english.
The following example shows how it looks to embed the php-js-webedit in a "messages forum" application:
For any doubt or suggestion you can contact gabi@unica.edu.