| 2013-09-30 |
| → Burnsy joined | 00:30 |
| ← Burnsy left | 00:39 |
| → harikt joined | 11:39 |
| → brandonsavage joined | 13:05 |
| ← harikt left | 13:09 |
| ← brandonsavage left | 14:58 |
| → brandonsavage joined | 14:58 |
| → MaddinXx joined | 15:06 |
| → MaddinX__ joined | 15:56 |
| ← MaddinXx left | 15:58 |
| → pmjones joined | 18:27 |
| ← brandonsavage left | 18:36 |
| → brandonsavage joined | 18:36 |
| ← brandonsavage left | 18:48 |
| → thedigital joined | 19:12 |
|
thedigital
| hi everyone | 19:13 |
|
| i'm starting a new project with auraphp | 19:13 |
|
| and i'm a bit confused | 19:13 |
|
| I cant get Template to work | 19:14 |
|
| is there anypiece of an existing project that uses Template that could help me ? | 19:14 |
|
| some github project maybe ? | 19:14 |
|
pmjones
| well hi thedigital | 19:17 |
|
| what is it that's going wrong? | 19:17 |
|
thedigital
| one main problem : i dont really know how to 'plug' it in the project | 19:19 |
|
| right now i put some code in config/default.php to load a template instance and setPaths | 19:20 |
|
| i'm not sure that the good place to do that | 19:20 |
|
| and then | 19:21 |
|
| i tried many paths to load a test template | 19:21 |
|
| but none of them work | 19:21 |
|
| I cant get where the path "begins" at (in the system directory) | 19:21 |
|
| => Uncaught exception 'Aura\View\Exception\TemplateNotFound' with message 'default.php' | 19:21 |
|
| default.php being the name of my test template | 19:22 |
|
| dont know if i'm clear :s (i'm not english btw:p ) | 19:22 |
|
| http://pastebin.com/jxwum0j4 | 19:27 |
|
| some infos if it can help you see what i've done so far | 19:28 |
| ← thedigital left | 19:30 |
| → thedigital joined | 19:31 |
|
thedigital
| oops, got disconnected | 19:31 |
|
| did you get what i wrote ? and the pastebin link ? | 19:31 |
| → guillaum1 joined | 19:34 |
| ← guillaum1 left | 19:35 |
| ← thedigital left | 19:35 |
| → thedigital joined | 19:35 |
| → brandonsavage joined | 19:36 |
|
pmjones
| thedigital: looking now | 19:54 |
|
| fwiw you may wish also to try the mailing list; your problem will be there for other people to look at later | 19:55 |
|
| mailing list is at http://groups.google.com/group/auraphp | 19:55 |
|
| thedigital: in the finder i believe you want to give the full path to the templates directory | 19:56 |
|
| so not just "my path" but "/path/to/my/templates/" | 19:56 |
| ← MaddinX__ left | 19:56 |
|
pmjones
| you might wish also to look at the "tests" directory, which could give you some hints as well | 19:56 |
|
thedigital
| okay thank you | 20:03 |
|
| i also found https://github.com/harikt/Hari.Sample | 20:03 |
|
| which has some pretty intersting stuff | 20:04 |
|
pmjones
| yes, hari does good work :-) | 20:05 |
|
thedigital
| it's getting pretty clear | 20:17 |
|
| though i still need an advice | 20:17 |
|
| i'd like to use one main layout for most of pages | 20:18 |
|
| but maybe i'll need a different template for some specific pages | 20:18 |
|
pmjones
| sure -- in those cases, you can point to a different layout() but use the same view() | 20:19 |
|
thedigital
| what would you recommend concerning where to put all this ? | 20:19 |
|
pmjones
| depending on your architecture, i would recommend separate layout and view directories | 20:19 |
|
| the view directories can be tied to your controllers, but the layouts can be nearer the "top" of your application, where they can be shared | 20:19 |
|
thedigital
| ok that's what i was thinking | 20:20 |
|
pmjones
| indeed, you can decompose your layouts into separate files, then override some parts of the layout as you need | 20:20 |
|
thedigital
| sure | 20:20 |
|
pmjones
| but that might be somewhat advanced -- give it a week and you'll see what i'm getting at | 20:20 |
|
| or less ;-) | 20:20 |
|
thedigital
| hehe | 20:20 |
|
| :D | 20:20 |
|
| since you are here | 20:20 |
|
| i have to say thank you | 20:21 |
|
| for all this stuff | 20:21 |
|
| pmjones bows | 20:21 |
|
pmjones
| you are very welcome :-) | 20:21 |
|
thedigital
| cause i've been working a while on Zend_Framework | 20:21 |
|
pmjones
| heh | 20:21 |
|
thedigital
| which is... BIG STUFF | 20:21 |
|
| too big :) | 20:21 |
|
pmjones
| you can blame me for parts of that; i worked at zend for a while and did the original Zend_Db, Zend_Db_Table, Zend_View | 20:21 |
|
thedigital
| and auraphp is exactly the kind of librairies/framework i was loking for | 20:21 |
|
| you did some great stuff there | 20:22 |
|
pmjones
| they have since then gotten a lot bigger :-/ | 20:22 |
|
| oh man i'm so glad to hear that; thank you :-) | 20:22 |
|
thedigital
| oh very nice | 20:22 |
|
| well ZF is a nice project | 20:22 |
|
| but that's overfat | 20:22 |
|
pmjones
| yeah it's ok but it's *huge* | 20:22 |
|
thedigital
| i was using ZF like 2% :) | 20:22 |
|
pmjones
| yeah, you and a lot of other people | 20:22 |
|
| well, tell everyone about aura ;-) | 20:22 |
|
thedigital
| and in fact i was looking for light frameowrk | 20:23 |
|
| and auraphp is exactly what i was looking for | 20:23 |
|
pmjones
| right on :-) | 20:23 |
|
thedigital
| i will ;) | 20:23 |
|
| already did at work lol :) | 20:23 |
|
pmjones
| good man! | 20:23 |
| ← brandonsavage left | 21:20 |
|
thedigital
| gn guys | 21:30 |
| ← thedigital left | 21:30 |
| → brandonsavage joined | 21:53 |
| → brandons_ joined | 23:27 |
| ← brandonsavage left | 23:27 |
| ← pmjones left | 23:48 |