Inactive

News

  Analyzed 5 days ago based on code collected 5 days ago.
 
Posted almost 3 years ago by Dieter Adriaenssens
It took some time, but here it is, the first release of FoRMAiD.
The last few months I've been cleaning up code, adding documentation and converting the code to apply with the PEAR coding standard. This is all finished now, so I felt that the FoRMAiD framework was ready for a first beta release.
Posted almost 3 years ago by Dieter Adriaenssens
It took some time, but here it is, the first release of FoRMAiD.
The last few months I've been cleaning up code, adding documentation and converting the code to apply with the PEAR coding standard. This is all finished now, so I felt that the FoRMAiD framework was ready for a first beta release.
Posted about 3 years ago by Dieter Adriaenssens
Preparing for a first bèta release, the code is being converted to comply with PEAR coding style. Applying correct indenting and spacing is finished now, renaming the classes, methods and variables to camelCase is ongoing.

A great help in ... [More] converting to PEAR coding style and in improving the code base in general is using tools like [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer/docs "PHP Code Sniffer") (detecting coding style issues) and [PHP Mess Detector](http://phpmd.org/ "PHP Mess Detector") (looking for unused vars and methods, checking for code complexity).
A [Jenkins](http://jenkins-ci.org/ "Jenkins Continuous Integration Server") service, which runs these checks regularly, makes some nice graphs showing the progress and the work that's still to be done.

![Code quality graph](http://formaid.sourceforge.net/images/codeQualityGraph.png "Coding style improvements graph, generated by Jenkins")

[PhpDocumentor](http://www.phpdoc.org/ "PhpDocumentor 2"), generating [source code documentation](http://formaid.sourceforge.net/docs) from the code, is a great help as well. In combination with Code Sniffer, you get an idea of what's documented already and what still needs some work.
It also provides a nice [class diagram](http://formaid.sourceforge.net/docs/graph_class.html), showing the relation and inheritance between the different classes.

While going through the code, cleaning it up, some possible improvements were spotted. Both in coding style, f.e. making if statements less complex, or class design, refactoring a few methods by moving some common functionality to a parent class or method.
But also in updating the code to implement developments in PHP language, or in general software development practises.

One of the things that needs some reviewing are the access levels (public, protected or private) for class methods and properties. Another example, when the first classes of this project were created way back in 2006, PHP 4.* was still current and abstract classes were not added to the language yet. Nowadays, OOP support in PHP has greatly improved, so the classes need a bit of a overhaul.
Recently I learned about OOP design patterns, so a few classes will be adapted to serve as a singleton, while others already seemed to implement a few patterns in some way.

As the framework is being developed more and used in some of my own applications, I notice that the framework could do with more abstraction. What started first as a small framework to generate web forms and tables will probably shift towards a data abstraction framework in the future that sits between a storage layer (in a database, an xml file, session variables, ...) and the output, being it a web page, a web form or a JSON object serving an AJAX call.

So there is still some work ahead and some plans with the project, but first all hands on deck for the next milestone, a first bèta release. [Less]
Posted about 3 years ago by Dieter Adriaenssens
Preparing for a first bèta release, the code is being converted to comply with PEAR coding style. Applying correct indenting and spacing is finished now, renaming the classes, methods and variables to camelCase is ongoing.

A great help in ... [More] converting to PEAR coding style and in improving the code base in general is using tools like [PHP Code Sniffer](http://pear.php.net/package/PHP_CodeSniffer/docs "PHP Code Sniffer") (detecting coding style issues) and [PHP Mess Detector](http://phpmd.org/ "PHP Mess Detector") (looking for unused vars and methods, checking for code complexity).
A [Jenkins](http://jenkins-ci.org/ "Jenkins Continuous Integration Server") service, which runs these checks regularly, makes some nice graphs showing the progress and the work that's still to be done.

![Code quality graph](http://formaid.sourceforge.net/images/codeQualityGraph.png "Coding style improvements graph, generated by Jenkins")

[PhpDocumentor](http://www.phpdoc.org/ "PhpDocumentor 2"), generating [source code documentation](http://formaid.sourceforge.net/docs) from the code, is a great help as well. In combination with Code Sniffer, you get an idea of what's documented already and what still needs some work.
It also provides a nice [class diagram](http://formaid.sourceforge.net/docs/graph_class.html), showing the relation and inheritance between the different classes.

While going through the code, cleaning it up, some possible improvements were spotted. Both in coding style, f.e. making if statements less complex, or class design, refactoring a few methods by moving some common functionality to a parent class or method.
But also in updating the code to implement developments in PHP language, or in general software development practises.

One of the things that needs some reviewing are the access levels (public, protected or private) for class methods and properties. Another example, when the first classes of this project were created way back in 2006, PHP 4.* was still current and abstract classes were not added to the language yet. Nowadays, OOP support in PHP has greatly improved, so the classes need a bit of a overhaul.
Recently I learned about OOP design patterns, so a few classes will be adapted to serve as a singleton, while others already seemed to implement a few patterns in some way.

As the framework is being developed more and used in some of my own applications, I notice that the framework could do with more abstraction. What started first as a small framework to generate web forms and tables will probably shift towards a data abstraction framework in the future that sits between a storage layer (in a database, an xml file, session variables, ...) and the output, being it a web page, a web form or a JSON object serving an AJAX call.

So there is still some work ahead and some plans with the project, but first all hands on deck for the next milestone, a first bèta release. [Less]
Posted about 3 years ago by Dieter Adriaenssens
After renaming the project to FoRMAiD, some other changes were done :
- convert the Subversion repository to Git
- migrated to the new project layout on Sourceforge
- FoRMAiD has a logo now! And a new website layout : ... [More] http://formaid.sourceforge.net/
- FoRMAiD goes social : it has a page on Facebook and one on Google+
- started with applying PEAR coding style
- Code documentation got updated, phpDocumentor 2.0 is now used to generate it : http://formaid.sourceforge.net/docs/ [Less]
Posted about 3 years ago by Dieter Adriaenssens
After renaming the project to FoRMAiD, some other changes were done :
- convert the Subversion repository to Git
- migrated to the new project layout on Sourceforge
- FoRMAiD has a logo now! And a new website layout : ... [More] http://formaid.sourceforge.net/
- FoRMAiD goes social : it has a page on Facebook and one on Google+
- started with applying PEAR coding style
- Code documentation got updated, phpDocumentor 2.0 is now used to generate it : http://formaid.sourceforge.net/docs/ [Less]
Posted over 3 years ago by Christopher Tsai
I didn't really like the previous name of the framework and I've been thinking about changing it for some time.
The new name covers more what the framework does, while still keeping the original idea in the acronym.
Basically this framework ... [More] helps to create webforms, hence Form Aid. The idea behind it is a framework to manage/maintain/handle data stored in a database using web forms. [Less]
Posted over 3 years ago by Christopher Tsai
Work on the first release continues and also a roadmap was created, defining what will be included in the first beta, and what features will be included in future releases.

These features have to be finished before the first release : ... [More]

* Database class
* Rename some filenames, classes and methodes
* global config file - for database connection, debug and error handling settings, ...
* Create usage example

For an extensive overview of features and their progress you can check the page on the wiki :
https://sourceforge.net/apps/mediawiki/damafra/index.php?title=Roadmap [Less]
Posted over 3 years ago by Christopher Tsai
DaMaFra is a framework for building webforms fast and in a easy way, without having to write the mechanism of submitting data, format checking and inserting (or updating/deleting) into a database, again and again.

It started as a few ... [More] methods used in a dynamic website and when being reused in other projects, these methods became a bit more abstract and reusable and were turned into classes.
To handle the development of the framework better, a SourceForge project was created a few years ago. And now it has evolved enough to get a first public beta release soon.

But a few more things have to be sorted out, like a few changes to the code and some basic documentation on how to use the framework. And that's were this first post is about : a basic website is created!
And there's also a wiki. Both are very basic at the moment, but they will be filled soon.

You can check both out :

website : http://damafra.sourceforge.net/
wiki : https://sourceforge.net/apps/mediawiki/damafra/ [Less]
Posted over 3 years ago by Christopher Tsai
I didn't really like the previous name of the framework and I've been thinking about changing it for some time.
The new name covers more what the framework does, while still keeping the original idea in the acronym.
Basically this framework ... [More] helps to create webforms, hence Form Aid. The idea behind it is a framework to manage/maintain/handle data stored in a database using web forms. [Less]