On Sun, 2008-08-03 at 00:38 +0200, lok wrote:
> Toma wrote:
> > As crazy as it might seem, id like to hear from mekius and devilhorns
> > about how easy and useful embryo was to them in regards to them in
> > various projects in cvs. As an e17 themer, it hasnt proven much use to
> > me, but i consider myself further to the edje when it comes to embryo
> > and edje talk!
> > Toma
> >   
> I don't use embryo in a commercial product, I'm not mekius nor 
> devilhorns. But I do use embryo quite often when making edj. And unlike 
> you I do feel limited currently with embryo.
> 
> Dealing with generic parts inside an edc is a real pain. Imagine for 
> example a bunch of squares aligned from a small one to a bigger one. You 
> need to describe every one of them, which means a macro and a lot of 
> numbers at best, whereas a simple function could do it. Sure it could be 
> done in C, but doing so will restrict the theming possibility for other 
> themers. But this can be solved with the script-only object in any language.
> 
> Handling edje's parts/programs when using embryo calls can't be done 
> dynamically. You need to know which part is to be used, and hardcode 
> it's name. Again, this leads to macro voodoo.
> 
> And finally the language itself is not that pleasant. Having a few 
> things to ease strings manipulation, and anonymous function to shorten 
> some timer call wouldn't hurt. I do like the idea to change for lua or 
> js or whatever for this. But even so, there's quite a few themes which 
> needs embryo. So in case of a change, I think the transition should be 
> as gustavo and raster describe it.
> 
> Samuel
> 
That is a limitation of the exposed API, not embryo's problem
specifically (unless the exposure is a problem for embryo in general).
Although I've had a lot of trouble implementing some random dynamic
animations in a theme, it was all due to the lack of convenient
functions. The same problem might also persist with lua/javascript.

However, I did find the embryo syntax rather strange and cumbersome. And
that comes from someone who has no problem writing in perl.

> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to