Evan Tishuk wrote on Wednesday 15th of June 2011:However, there's a debate in my office regarding how best to integrate with Parser. Should it remain as I describe above, or should a stand-alone Jade package be created that extends Parser? The existence of the various view classes (/packages/parser/classes/view/*.php) implies that I'm doing it correctly, but I wanted to make sure because the instructions on installing new parsers (https://github.com/fuel/parser/blob/develop/README.md) isn't real explicit about this. Plus it's unclear if there might be issues (copyright or convention or cleanliness) with bundling these things altogether.
Davide Bellini wrote on Wednesday 15th of June 2011:Why you don't fork Parser project and commit your work? Someone can take a look on your code and can help you
Davide Bellini wrote on Wednesday 15th of June 2011:Personally I think that create a Jade driver for Parser package is the right way.
Davide Bellini wrote on Wednesday 15th of June 2011:I've checked the licence of libraries you have linked :
https://github.com/jeremyf76/jade.ko3/blob/kohana3/LICENSE
https://github.com/everzet/jade.php/blob/master/LICENSE And all uses a MIT License ... the license is the same of Fuel ( http://fuelphp.com/docs/license.html )
So I think there isn't any problem.
Evan Tishuk wrote on Thursday 16th of June 2011:I wonder if there's a good way to avoid the need to put an autoloader into the library? Would be nice to just wget and edit some configs.
Calvin Froedge wrote on Friday 17th of June 2011:No dice. ErrorException [ Error ]: Class 'View_Jade' not found. Any idea what I'm missing?
'Parser\\View_Jade' => __DIR__.'/classes/view/jade.php',
It looks like you're new here. If you want to get involved, click one of these buttons!