IRCloggy #auraphp 2013-09-30

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2013-09-30

Burnsy joined00:30
Burnsy left00:39
harikt joined11:39
brandonsavage joined13:05
harikt left13:09
brandonsavage left14:58
brandonsavage joined14:58
MaddinXx joined15:06
MaddinX__ joined15:56
MaddinXx left15:58
pmjones joined18:27
brandonsavage left18:36
brandonsavage joined18:36
brandonsavage left18:48
thedigital joined19:12
thedigital hi everyone19:13
i'm starting a new project with auraphp19:13
and i'm a bit confused19:13
I cant get Template to work19: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 thedigital19:17
what is it that's going wrong?19:17
thedigital one main problem : i dont really know how to 'plug' it in the project19:19
right now i put some code in config/default.php to load a template instance and setPaths19:20
i'm not sure that the good place to do that19:20
and then19:21
i tried many paths to load a test template19:21
but none of them work19: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 template19:22
dont know if i'm clear :s (i'm not english btw:p )19:22
http://pastebin.com/jxwum0j419:27
some infos if it can help you see what i've done so far19:28
thedigital left19:30
thedigital joined19:31
thedigital oops, got disconnected19:31
did you get what i wrote ? and the pastebin link ?19:31
guillaum1 joined19:34
guillaum1 left19:35
thedigital left19:35
thedigital joined19:35
brandonsavage joined19:36
pmjones thedigital: looking now19:54
fwiw you may wish also to try the mailing list; your problem will be there for other people to look at later19:55
mailing list is at http://groups.google.com/group/auraphp19:55
thedigital: in the finder i believe you want to give the full path to the templates directory19:56
so not just "my path" but "/path/to/my/templates/"19:56
MaddinX__ left19:56
pmjones you might wish also to look at the "tests" directory, which could give you some hints as well19:56
thedigital okay thank you20:03
i also found https://github.com/harikt/Hari.Sample20:03
which has some pretty intersting stuff20:04
pmjones yes, hari does good work :-)20:05
thedigital it's getting pretty clear20:17
though i still need an advice20:17
i'd like to use one main layout for most of pages20:18
but maybe i'll need a different template for some specific pages20: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 directories20: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 shared20:19
thedigital ok that's what i was thinking20:20
pmjones indeed, you can decompose your layouts into separate files, then override some parts of the layout as you need20:20
thedigital sure20:20
pmjones but that might be somewhat advanced -- give it a week and you'll see what i'm getting at20:20
or less ;-)20:20
thedigital hehe20:20
:D20:20
since you are here20:20
i have to say thank you20:21
for all this stuff20:21
pmjones bows20:21
pmjones you are very welcome :-)20:21
thedigital cause i've been working a while on Zend_Framework20:21
pmjones heh20:21
thedigital which is... BIG STUFF20: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_View20:21
thedigital and auraphp is exactly the kind of librairies/framework i was loking for20:21
you did some great stuff there20: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 nice20:22
well ZF is a nice project20:22
but that's overfat20: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 people20:22
well, tell everyone about aura ;-)20:22
thedigital and in fact i was looking for light frameowrk20:23
and auraphp is exactly what i was looking for20:23
pmjones right on :-)20:23
thedigital i will ;)20:23
already did at work lol :)20:23
pmjones good man!20:23
brandonsavage left21:20
thedigital gn guys21:30
thedigital left21:30
brandonsavage joined21:53
brandons_ joined23:27
brandonsavage left23:27
pmjones left23:48

Logs Search ←Prev date Next date→ Channels Documentation