2017 © Pedro Peláez
 

library wcommon

Useful PHP functions and classes

image

wevrem/wcommon

Useful PHP functions and classes

  • Saturday, July 28, 2018
  • by wevrem
  • Repository
  • 1 Watchers
  • 0 Stars
  • 66 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

wCommon

Common code for templates, forms, and page elements., (*1)

wStandard

Functions for handling errors, managing URL's, string and date manipulations, and custom HTML elements., (*2)

HTMLComposer

An object for constructing HTML, keeping track of and closing elements as they are added to the pile., (*3)

Template

Subclass of HTML_Template_Sigma that adds useful features., (*4)

FormBuilder

Class for handling the building and processing of HTML forms., (*5)

Using wCommon—A very quick guide

The following are very high level steps (read: bare minimum steps) to setting up a simple blog-like website that uses wCommon and dStruct., (*6)

  1. Set up a server with Apache, PHP and MySQL. Using PEAR, install HTML_Template_Sigma.
  2. Install wCommon and dStruct on your server, typically in /usr/share/php. Adjust PHP's include_path to point to this location.
  3. Copy the files from the sample folder to some location reachable by Apache and set the DocumentRoot to the www folder.
  4. Create a database and run the statements in struct.sql to create the proper dStruct tables.
  5. Create a user with permissions for that database, and capture those credentials inside inc-standard.php.
  6. After editing some internal parameters, run the script create-user.php to create an admin user.
  7. At this point you should have a working website that displays posts. You can log in as the admin and create, edit, and delete posts and also upload images and other documents.

The Versions

28/07 2018

dev-master

9999999-dev

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

28/07 2018

v1.1.5

1.1.5.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

21/07 2018

v1.1.4

1.1.4.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

21/07 2018

v1.1.3

1.1.3.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

17/07 2018

v1.1.2

1.1.2.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

14/07 2018

v1.1.1

1.1.1.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

13/07 2018

v1.1.0

1.1.0.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

09/07 2018

v1.0.5

1.0.5.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

09/07 2018

v1.0.4

1.0.4.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

09/07 2018

v1.0.3

1.0.3.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

09/07 2018

v1.0.2

1.0.2.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver

09/07 2018

v1.0.1

1.0.1.0

Useful PHP functions and classes

  Sources   Download

MIT

The Requires

 

by Mike Weaver