COMM :: Google Group F3
=====================
[Subject]
-------------
[job] F3 Templates Generator please
[MSG]
--------
Hi all F3 experts ,
__this is a posted job for you__
we use GrapeJS for scaffolding of F3 templates
thanks to a plugin that write the {{F3::Template Engine VARiables}} into the HTML blocks
The job is to finish to write that plugin
The skeleton of that plugin already displays a drop-down SELECT in the GrapeJS UI so we can already at this point pick-up a predefined F3 ALL-CAPS inner variables as declared in the doc or here at bootstraping time:
(\F3::VARS.PREDEFINED.[])
_Your job_ is to invent a way to include those {@variables} straight into the F3 templates' snippet being currently designed with GrapeJS.
So _your job_ is to code how to retrieve the F3 variables existing in the current code source at the time we are scaffolding. Sync'hd by nature.
Back to the GrapeJS UI :
Scenario:
Offer a drop-down SELECT populate In order to insert the USER(DEV) custom variables in another very similar drop-down SELECT in the GrapeJS UI
so we/then can pick-up {@variables) defined by the coder hence we can find them in source code right?
Hence.....
**** RegExp GURU HELP required then ;)
+ parse all source files (o.c. without F3 self code)
+ RegExp'em ALL to extract those defined
+ populate a drop-down < html >< select > in the GrapeJS UI
+ upon selection , paste it into the currently scaffolded/designed
+ that's it :)
Who's on?
Agile, ok?
((Version 0 : Controller CRUD as provided by F3::$f3::Base->ORM->map() So ok.))
==> Version 1.0 : You, now : populate views in the GrapeJS UI
Version 2 : [extra job afterwards] generate Models for F3 as well
Thanks in advance ,
Reto
P. P.S.
Not sure right place to post this kind request?
couldn-t find F3 developers on Fiverr henre we try here