2017 © Pedro Peláez
 

library mutil

image

magnafacta/mutil

  • Tuesday, July 31, 2018
  • by mennodekker
  • Repository
  • 3 Watchers
  • 0 Stars
  • 193 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 56 Versions
  • 24 % Grown

The README.md

MUtil

MUtil is a collection of PHP library classes that extend the Zend Framework for web developement., (*1)

The collection contains a number of simple utility classes as well as containing an alternative framework for creating Html using the MVC extentions described next., (*2)

Model

The Model classes implement not just storage models (reading and writing to files and databases) but also meta data about the data like labels, constraints and value options., (*3)

This meta information allows generic code to be used for standard views for browsing, viewing, editing and deleting., (*4)

Lazy / Late execution

The Lazy classes allow "late execution". Late execution means the code is not executed where it is specified in the code, but at a later moment, usually the moment when the output of the page is rendered., (*5)

This allows a programmer to state e.g. that the colspan attribute of a cell object in a table object should have the value of the highest number of columns of each of the table rows. If extra columns are added to the table at a later stage (but before rendering) then the colspan value will still be correct., (*6)

The most common use is in combination with repetition. Instead of looping through table data and adding a row each time, we just create a row and a repeater object. The row is the filled with objects that will read the data from the repeater object at rendering time. When rendering the table the row is rendered again and again, as long as the repeater object has row data. The output is the same as we would have had we looped through the data, but the code looks more elegant (in my opinion) and usually creates less objects (if the output contains more than two rows)., (*7)

Html

The html classes allow you to create HTML using object oriented notation, using an array-like object. String elements are attributes (except when a different interpretation makes more sense), numeric items fill the content. You create sub-elements throug functions calls. If you have an html object and want to create a DIV element with the class attribute 'Hhllo' and World as the content you just call:, (*8)

$html->div(array('class' => 'hello'), 'World');

The Html classes understand late execution., (*9)

Snippets

Snippets are html objects with routing added. E.g. a Form snippet usually displays an Html form, but if the form data is saved the snippet redirect the output e.g. to a detailed view., (*10)

Snippets combine the Model and the Html classes. There are standard snippets to create forms for editing, detail view pages and paginated browse pages; all using the meta data in the model. (Of course the browse pages use the Lazy classes for creation.), (*11)

Build Status, (*12)

The Versions

31/07 2018

1.6.1.x-dev

1.6.1.9999999-dev

  Sources   Download

31/07 2018

1.7.0.x-dev

1.7.0.9999999-dev

  Sources   Download

31/07 2018

1.7.1.x-dev

1.7.1.9999999-dev

  Sources   Download

31/07 2018

dev-autotracks

dev-autotracks

  Sources   Download

31/07 2018

dev-composer-setup

dev-composer-setup

  Sources   Download

31/07 2018

1.5.x-dev

1.5.9999999.9999999-dev

  Sources   Download

31/07 2018

dev-mail

dev-mail

  Sources   Download

31/07 2018

dev-receptioncodes

dev-receptioncodes

  Sources   Download

31/07 2018

dev-respondent_relations

dev-respondent_relations

  Sources   Download

31/07 2018

dev-serializeiterator

dev-serializeiterator

  Sources   Download

30/07 2018

dev-master

9999999-dev http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

17/07 2018

dev-r1.8.4

dev-r1.8.4 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

17/07 2018

1.8.4

1.8.4.0 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

05/06 2018

dev-api-changes

dev-api-changes http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

05/03 2018

1.5.0

1.5.0.0

  Sources   Download

05/03 2018

1.5.1

1.5.1.0

  Sources   Download

05/03 2018

1.7.0p1

1.7.0.0-patch1

  Sources   Download

05/03 2018

1.7.0p2

1.7.0.0-patch2

  Sources   Download

05/03 2018

1.4.2

1.4.2.0

  Sources   Download

05/03 2018

1.4.3

1.4.3.0

  Sources   Download

05/03 2018

1.6.4

1.6.4.0

  Sources   Download

05/03 2018

1.7.0

1.7.0.0

  Sources   Download

05/03 2018

1.6

1.6.0.0

  Sources   Download

05/03 2018

1.6.1

1.6.1.0

  Sources   Download

05/03 2018

1.6.2

1.6.2.0

  Sources   Download

05/03 2018

1.6.3

1.6.3.0

  Sources   Download

05/03 2018

1.5.6

1.5.6.0

  Sources   Download

05/03 2018

1.5.7

1.5.7.0

  Sources   Download

05/03 2018

1.7.1p2

1.7.1.0-patch2

  Sources   Download

05/03 2018

1.7.1p3

1.7.1.0-patch3

  Sources   Download

05/03 2018

1.7.1p4

1.7.1.0-patch4

  Sources   Download

05/03 2018

1.5.4

1.5.4.0

  Sources   Download

05/03 2018

1.5.5

1.5.5.0

  Sources   Download

05/03 2018

1.7.1

1.7.1.0

  Sources   Download

05/03 2018

1.7.1p1

1.7.1.0-patch1

  Sources   Download

05/03 2018

1.5.2

1.5.2.0

  Sources   Download

05/03 2018

1.5.3

1.5.3.0

  Sources   Download

05/03 2018

1.7.0p3

1.7.0.0-patch3

  Sources   Download

05/03 2018

1.7.0p4

1.7.0.0-patch4

  Sources   Download

07/12 2017

1.8.3-p1

1.8.3.0-patch1 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

06/12 2017

1.8.3

1.8.3.0 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

05/09 2017

dev-r1.8.2

dev-r1.8.2 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

05/09 2017

1.8.2-p1

1.8.2.0-patch1 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

24/08 2017

dev-prepare-release-1.8.3

dev-prepare-release-1.8.3 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

31/07 2017

1.8.2

1.8.2.0 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

10/05 2017

1.8.2-rc1

1.8.2.0-RC1 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

05/01 2017

dev-r1.8.1

dev-r1.8.1 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

05/01 2017

1.8.1-p4

1.8.1.0-patch4 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

25/11 2016

1.8.1-p3

1.8.1.0-patch3 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

24/08 2016

1.8.1-p1

1.8.1.0-patch1 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

08/08 2016

1.8.1

1.8.1.0 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

08/08 2016

1.8.1-RC3

1.8.1.0-RC3 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

03/08 2016

1.8.1-RC2

1.8.1.0-RC2 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

29/07 2016

1.8.1-RC1

1.8.1.0-RC1 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

30/03 2016

1.7.2.x-dev

1.7.2.9999999-dev http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber

30/03 2016

1.7.2

1.7.2.0 http://magnafacta.info/

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Michiel Rook
by Matijs de Jong
by Menno Dekker
by Jasper van Gestel
by Frank Santegoets
by Roel Faber