11 projects tagged "code generation"
EasyCreator is an extension creator for Joomla!. You start by creating a 'frame' for your extension based on predefined templates for components, modules, plugins, and templates. You can also import existing and installed extensions. It also tries to assist with the creation of multilingual extensions by comparing the existing language file and examining the PHP and XML code for appearences of 'JText::***', then providing an overview of untranslated strings and missing and obsolete translations. An interface for creating config XML files is also provided.
PHP 1 Line Enum is a standalone PHP class that allows the creation of enumerations in PHP. Every enumeration has its own class. Type hinting is supported. It can convert to and from strings. It supports bitwise operations and namespaces. It uses a simple syntax. It lets you get instances by name, by key, or by class constant.
Umple can be used for pure UML modeling. Or it can be used to add UML constructs, such as associations and state machines to code written in Java, PHP, or Ruby. It generates code in these languages that can save a large amount of programming effort and result in higher quality. The UmpleOnline tool allows you to edit UML diagrams graphically, and watch the Umple textual code being written in real time. This works the other way too: you can write textual Umple and watch the corresponding UML diagram appear. Umple is being extended to support patterns, tracing, and a variety of other features. Umple is written in itself, which is central to maintaining its quality. Umple can be used today by any programmer or modeler.
Wikitty is a key/value storage and search system. A Java object or a relational table is frozen when writing code or creating a database. To make them evolve, you have to go back into the code, write a migration process, etc. It is also hard to maintain coherent code when you want to develop the same application for similar needs with only small differences. Between the common code and the specific code, it can easily become a real burden. Wikitty tries to answer those problems, bringing a technical solution which is easy to put into place and to use.
Siviglia Templating is a recursive code-generating templating engine for PHP. It allows creation of templates using smaller, reusable bits of code called widgets. Those widgets can, in turn, be based in other widgets. In this way, templates are written using abstract widgets (like "page" or "menu"), which, recursively, resolve to concrete widgets which generate HTML (or any other language). Templates are just plain PHP files with some special tags used in the HTML context, so the syntax is very simple. Templates are parsed to generate a single PHP file, which is cached and served. Plugins are included to ease internationalization support and to keep in a single file the PHP, HTML, CSS, and JavaScript required for a widget.
rough is software to embed macros in PHP code. Add a comment to your code, run the macro command, and rough generates code. The macros are not removed from the source code and can easily be updated. Currently, there are macros to generate get methods, generate set methods, and emulate traits in PHP 5.3.
A PHP script to filter input text for standard, security, and policy compliance.
A light weight API, clean room JCE, JCE/JCA provider for Java cryptography.