Questions tagged [hexmachina]
hexMachina is an Haxe framework for building configurable, large scaling modular applications, games, stateful websites and servers, targeting JavaScript, Flash, PHP, Neko platforms.
7
questions
2
votes
1
answer
60
views
StaticCompiler - Run the same application few time in one html page
I'm looking for a solution to allow running multiple time the same compiled DSL in one HTML page.
For now, I use XMLReader and change with preprocessors at runtime the context name. But ...
1
vote
2
answers
105
views
How to use modules in modules
I'd like to have a module which can be developed in isolated envorinment but still remains a module which can be plugged into anoter project.
The idea: Currently I have state machine driven modular ...
1
vote
0
answers
38
views
How to get application domain for registering metadata in AnnotationProvider
How can I get an annotation provider for registering a metadata via annotation provider?
I'm using a top level domain, but need a domain for application:
cast (AnnotationProvider....
1
vote
1
answer
52
views
@Debug metadata crashes with TypeError
I have a problem with working with the automatic logging using @Debug metadata.
I'm receiving following error:
TypeError: Cannot read property 'debug' of null - Which after some digging into ...
1
vote
2
answers
114
views
Use custom annotation in hexMachina
I try to use custom annotation in hexMachina.
In one module, I register my metadata:
this._annotationProvider.registerMetaData("Url", this.urlProviderModel.getUrl)
And in a Command, executed in a ...
0
votes
2
answers
71
views
Different ways to pass request to Macro
Macro can get a request by injection from payloads or directly from the dispatcher. But what if I need to use both ways of passing requests to same Macro? If it contains @Inject flag, and request is ...
3
votes
1
answer
73
views
Use conditional variables define at runtime with XmlCompiler
Quick question about conditional parsing on hexIoC.
As I know, hexIoC support DSL parsing at compile-time and runtime, with multi-pass.
Is there a solution, to use XmlCompiler with conditional ...