[Sugar-devel] Karma: bundle layout improve

Bryan Berry bryan at olenepal.org
Sat Aug 15 11:29:27 EDT 2009


On Fri, 2009-08-14 at 19:10 -0500, Felipe López Toledo wrote:
> yes, I'm aware, but at the end it's an advantage to separate the content:
> 
> with the current design and common assets, if the coder is writing the
> "game" an try to get an image from "exercise" will need to  access
> "assets / {lag-code | generic} / images/ exercise/ {imageFile}",
> now... let's think, what if I want to take the "game" and merge it
> with other lesson:
> I will need to look inside the code and look for the common assets (in
> order to copy them and move them).
> and what if the {imageFile} already exists inside the common destiny
> (exercise) folder?
> need to rename some image and fix some code :S

> I think keeping things in different folders will bring clearness of
> what are we coding and where are the files stored. So, we will be able
> to copy and just paste the whole file and everything will be working.
> 

Let's follow your suggestion then. At this point it is better to make
things easier for developers than to optimize for a problem we haven't
actually encountered yet.

Can you update the wiki to reflect this new structure?

-- 
Bryan W. Berry
Technology Director
OLE Nepal, http://www.olenepal.org



More information about the Sugar-devel mailing list