Migrating from MySQL Workbench to ORM Designer
As you probably know, we use(d) MySQL Workbench for all our database design needs. We used the PropelExport Plugin to export the schema to a Propel-compatible schema representation. Unfortunatly our plugin could only export the basic tables and relations, but since Workbench does not know anything about Propel behaviors etc. we had an additional php-script that would patch (merge) the schema.xml generated from our plugin with some additional tags and attributes that PropelExport-Plugin did not support.
Since we started development on DiLoc 2.0 we wanted to refactor some parts of our database-propel layer and ExtJS integration. For this to work we needed some additional custom fields in schema.xml (because we generate ExtJS Frontend Models automatically from schema.xml). Putting even more stuff (like validations which we wanted to define only once in schema.xml in our updated framework) into into our schema_addon.xml felt more and more wrong. As I heard of ORM Designer before, it was time to evaluate if ORM Designer could replace MySQL Workbench in our workflow.
ExtJS4: Form validation via Model binding
Some days ago Sencha released ExtJS 4, so it’s a good time to think about the whole programming of your application and maybe do a rewrite to get your application to a higher level.
At least thats what happened in our company. Well, the reflection about what’s good and what’s not so good on DiLoc|Rail started a while ago and we had many ideas for improvements.
One of them is to use the new model-classes of ExtJS.
There is a possibility to load model-records in forms but we thought would be nice to validate the forms also with the model validations and not by the vtypes. With the first release of ExtJS 4.0.0 this isn’t really supported out of the box so we decided to implement our own ux extensions:
the Ext.ux.form.ModelValidatedPanel and Ext.ux.form.ModelValidatedBasic.

Here is some example code:
ExtDocSuite 3.3.0 released
After some work of porting the current documentation to Adobe AIR (again), doing some cosmetic changes, fixing some ext-bugs we now released ExtDocSuite 3.3.0 including the latest documentation from Sencha. It even includes documentation for the new Calendar components released with Ext 3.3.0. So go ahead, read the detailed changelog, grab your copy. – Enjoy!
Previous Articles
Welcome to the DiLoc-Blog
We as the software development team of DiLoc, are always trying to bend technology to its maximum. Here we write about the things we experience during this journey.
We also hope to provide some useful information on webtechnologies, browsers, javascript, extjs and programming in general.
We're always interested in your opinion, so don't hesitate to comment on our posts!


