Code Generation with AjGenesisNode
I updated and published new versions of my projects:
Now, there are new functions to manage the model directory in AjGenesis. That directory contains the JSON files that represent the model, ie entities, project settings, db settings, etc. It resides in “./ajgenesis/models”.
The code generation for Sinatra and Express was improved. Instead of create a project and then, generate a “build” subdirectory in project directory, now the code generation acts over the current project directory. This way is more straighforward, and more aligned with other projects that generates code: there is no “build” subdirectory.
I added the preserve of code regions by name. If a generated file has a code region delimited with special text, that region is preserved even when the file is regenerated.
My Dylan language interpreted in C#
I added more binary operations. I should add type support, but in the current use cases, the untyped evaluation is OK.
My Mule-like simple service bus in C#
I added message transformers, message processors, instead of play payload transformers and processors. And I added a Router object. So, the implementation has/will have:
- Lambdas that operates on payload (processors, transformers, outputs, routers)
- Lambdas that operatos on message (processors, transformers, outputs, routers)
- Objects that operates on payload (processors, transformers, outputs, routers)
- Objects that operates on messages (processors, transformers, outputs, routers)
A payload is an untyped object. A message has a payload and additional properties (by name/value).
I wrote my first AngularJS samples
Dynamic Site in Express 4
Based on JSON definitions
I added the support of https://github.com/ajlopez/LoadJsons to load JSON files that have references to other JSON files. The site is a prototype based on pages defined in JSON files. So you can easy change the JSON data to alter the prototyped site. Next steps: add lists based on MongoDB collections, with views. Then, code generation for differents targets (Express 4? Laravel?)
I changed https://github.com/ajlopez/SharpGo with minor improvements. I also worked on three non-public projects. More fun is coming.