Is there any reference which can explain that how oAW (OpenArchitectureWare) generating 开发者_Go百科php code with Xpand?oAW is using GMF Editor or something else?
The openArchitectureWare manual is pretty good at describing how to implement an EMF to PHP through Xpand code generator. There are plenty of real-world example implementation references, for example my project IAML.
- There needs to be a model (made out from your input data base) for The oAW (script code you write) to operate on.
- Once the model is available, the generation can be invoked by a workflow file (.oaw/.mwe) which will invoke the model via the eclipse class (inbuilt)
- Then in the workflow file, you call an Xpand DEFINE, wherein you have the code written.
I hope this is clear.
精彩评论