不得不说的是:SugarCRM的模块生成器(ModuleBuilder)太有才了,它的底层操作的对象应该是 元数据 ,就像小孩子玩的积木,至于你怎么去拼凑,可以完全根据需求来做了(比如模块、字段...
基于12个网页-相关网页
覆盖文件告诉代码生成器要包括哪些头文件、模块名将是什么等等。
Override files tell the code generator what headers to include, what the name of the module will be, and so on.
模块使用glib和gtk +中的类型,所以我们还必须告诉代码生成器装入这些类型。
Our module USES types from GLib and GTK +, so we must also tell the code generator to load these.
作为结束,让我再介绍一个生成器示例,它来自随python 2.2一同分发的test_generators . py模块。
To close, let me present one more generator example that comes from the test_generators.py module distributed with Python 2.2.
应用推荐