| 2014-07-29 |
| ← amystephen left | 00:47 |
| → joelclermont joined | 01:36 |
| → pmjones joined | 02:04 |
| → caseysoftware joined | 02:05 |
| ← garethdaine left | 02:09 |
| ← caseysoftware left | 02:39 |
| → netzmacht joined | 05:36 |
| → xyNNN joined | 06:31 |
| → netzmacht1 joined | 07:11 |
| ← netzmacht left | 07:11 |
| → garethdaine joined | 07:22 |
| ← xyNNN left | 07:45 |
| ← garethdaine left | 07:47 |
| → xyNNN joined | 07:47 |
| → garethdaine joined | 08:04 |
| ← joelclermont left | 08:36 |
| → joelclermont joined | 08:37 |
| → wdna_ joined | 08:52 |
|
wdna_
| pmjones, hay, here? | 09:59 |
| ← mfrost503 left | 10:00 |
| ← xyNNN left | 10:45 |
| → amystephen joined | 12:13 |
| → xyNNN joined | 12:33 |
| ← joelclermont left | 12:39 |
| → joelclermont joined | 12:39 |
| → harikt joined | 13:06 |
|
harikt
| Good morning to all | 13:06 |
|
| pmjones, too early to see you :) | 13:07 |
|
| joelclermont, hearing your podcast | 13:07 |
|
| Thank you for the link | 13:07 |
|
joelclermont
| harikt: you’re welcome. | 13:07 |
|
| i was surprised to see it posted already. we just recorded on Saturday | 13:07 |
|
harikt
| :) | 13:07 |
|
| I am there were you introduced aura | 13:08 |
|
| I am done with it . | 13:11 |
|
| Thank you once again for introducing aura | 13:11 |
|
| by the way one of the good thing I noticed is https://github.com/cakephp/cakephp/blob/3.0-i18n-next/composer.json#L27 | 13:12 |
|
| seems aura/intl gets some place. | 13:12 |
|
| by the way good to see you zro , xyNNN | 13:13 |
|
| Welcome to aura. | 13:13 |
| → mfrost503 joined | 13:43 |
| ← wdna_ left | 13:44 |
| ← agentile__ left | 14:21 |
| ← harikt left | 14:36 |
| ← xyNNN left | 15:11 |
|
simensen
| joelclermont: podcast? | 15:24 |
|
joelclermont
| http://voicesoftheelephpant.com/2014/07/29/interview-with-joel-clermont/ | 15:24 |
|
simensen
| ah! cool. | 15:25 |
|
jwoodcock
| hey, so the web.kernal setup has a .htaccess file | 15:27 |
|
| is that product safe? | 15:27 |
|
| s/product/production | 15:27 |
|
| thought you shouldn't use .htaccess in production | 15:27 |
|
joelclermont
| using .htaccess in production is less about security and more about performance | 15:28 |
|
| apache doesn’t have to search and parse them on each request if it’s all baked in to your config | 15:28 |
|
jwoodcock
| okay, got'ca | 15:30 |
| ← garethdaine left | 15:30 |
|
simensen
| joelclermont: nice interview. :) | 15:41 |
|
joelclermont
| thanks | 15:41 |
|
pmjones
| joelclermont: hey, nice interview dude | 16:11 |
|
| and thanks for the plug :-) | 16:11 |
|
joelclermont
| pmjones: :) thanks | 16:11 |
|
pmjones
| you have a very calm baritone on that recording, i think | 16:11 |
|
joelclermont
| ha! | 16:12 |
|
| my talk was done, so i was relaxed | 16:12 |
|
pmjones
| niiice | 16:12 |
| → mfrost504 joined | 16:21 |
| ← mfrost503 left | 16:24 |
| → harikt joined | 16:32 |
|
wdna
| hay | 16:33 |
|
harikt
| Hey wdna | 16:34 |
|
wdna
| i got some of my stuff converted to ADR :) | 16:34 |
|
harikt
| cool . and good to hear. | 16:34 |
|
| anything open-source ? | 16:35 |
|
wdna
| think I get it now, class per action instead controller. | 16:35 |
|
| harikt nods | 16:35 |
|
pmjones
| wdna: exactly | 16:35 |
|
wdna
| but | 16:35 |
|
harikt
| oh pmjones :) | 16:35 |
|
| there is a but | 16:35 |
|
| :) | 16:35 |
|
wdna
| i still have stuff, i rather have as controller methods, i didn't really get how to make this work. | 16:35 |
|
pmjones
| wdna: ah, i suppose i'd need to see it to help you figure it out | 16:36 |
|
wdna
| i'll post some code. | 16:37 |
|
pmjones
| my guess is that the "extra" methods more properly belong in the DOmain or the Responder | 16:37 |
|
| harikt: that was the "but" i guess? ;-) | 16:37 |
|
wdna
| here is example from my Common.php configuration. http://pastebin.com/HFjVejCp , I still didn't convert this part, let's say I want to keep the controller in this case, how can this work? | 16:43 |
|
| Everything works great when it's action class with the __invoke(), but i'm missing something on how that would work with the controller. | 16:45 |
|
harikt
| wdna, remove controller | 16:45 |
|
wdna
| harikt: you mean, I should convert all my controller actions into action classes? | 16:46 |
|
harikt
| wdna, http://pastebin.com/XriEbu9j | 16:46 |
|
| yes | 16:47 |
|
| only one action per class. | 16:47 |
|
| controller is no longer needed | 16:47 |
|
wdna
| does that also true when attaching resources? | 16:48 |
|
harikt
| hm, I may want to look how it will be. | 16:49 |
|
wdna
| well, I guess so =] ok well, time to refactor all! | 16:49 |
|
| harikt nods | 16:49 |
|
wdna
| the code you mean? | 16:50 |
|
pmjones
| wdna: if you are going to do ADR instead of MVC, then yes, you need to convert all controller methods to action classes | 16:50 |
|
| which is a lot of work, i know :-/ | 16:50 |
|
wdna
| well, I don't have too many controllers on this system. lucky. | 16:51 |
|
pmjones
| wdna: and, if you do not specify 'action' => 'whatever', the router will automatically fill it in with the route name | 16:51 |
|
| for example: | 16:51 |
| ← netzmacht1 left | 16:51 |
|
pmjones
| $router->add('structure.delete', '/structure/delete') will automatically call setValues(['action' => 'structure.delete']) | 16:51 |
|
| so that the route name and the action name are identical | 16:52 |
|
wdna
| oh, i see, so I just need to define the right action in dispatcher | 16:52 |
|
pmjones
| correct :-) | 16:52 |
|
wdna
| I, I totally agree this is much better approach. this why controllers get fat. and much more logical for DCI | 16:54 |
|
pmjones
| right on man | 16:54 |
|
wdna
| but | 16:54 |
|
pmjones
| i think it works a *lot* better with DCI, EBI, hexagonal, etc | 16:54 |
|
| but? ;-) | 16:54 |
|
wdna
| but, it would be hard to convince PHP community, lol | 16:55 |
|
pmjones
| yes :-) | 16:55 |
|
| i'm not necessarily interested in "convincing" | 16:55 |
|
wdna
| i mean, people still love codeigniter | 16:55 |
|
pmjones
| i'm interested in talking about what i think is right, and if people self-select on that, i think that's fine | 16:56 |
|
| yeah i know | 16:56 |
|
| and there was a lot to like about CI, honestly | 16:56 |
|
| it's not *my* favorite but then nothing is my favorite | 16:56 |
|
| what i think will happen is that ADR will be used by a very few people on the leading edge, and then it will become well-known from them ... | 16:57 |
|
wdna
| before I left, I used Silex at my workplace, it did couple of stuff nicely, but it was too coupled with Symfony | 16:57 |
|
pmjones
| ... and then someone will write a framework popular with junior-to-mid developers based on ADR and it will become "this is how you do it" for everyone ;-) | 16:58 |
|
| wdna: yes, i agree, too tightly coupled | 16:58 |
|
wdna
| actually | 16:58 |
|
| I used Aura.Http inside it, because it didn't provide a normal HTTP component =] | 16:59 |
|
pmjones
| heh | 16:59 |
|
| and Guzzle, nice as it may be, is just too big for me most of the time | 17:00 |
|
wdna
| ya, used that one too, have lots of cool features, and dependencies | 17:00 |
|
pmjones
| "and depdendencies" exactly | 17:00 |
| ← amystephen left | 17:02 |
|
harikt
| pmjones, so question . | 17:02 |
|
| pmjones waits for it | 17:03 |
|
harikt
| so if we don't add the dispatcher setValues then the same name is taken and injected ? | 17:03 |
|
| from the router . | 17:03 |
|
| that means no more dispatcher http://pastebin.com/9vkxUnPU | 17:04 |
|
| or did I missed to understand something in the conversation. | 17:04 |
|
| pmjones, I was reading http://colabti.org/irclogger/irclogger_log/auraphp?date=2014-07-29#l105 | 17:05 |
|
| oh I think I miss read it. | 17:06 |
|
pmjones
| harikt: yes i think a misread | 17:06 |
|
harikt
| You were telling we don't need to set the action in the router | 17:06 |
|
| :) | 17:06 |
|
pmjones
| correct sir :-) | 17:06 |
|
harikt
| Just thought whether we were having some feature | 17:07 |
|
| which I didn't noticed :) | 17:07 |
|
| pmjones, I know you have a busy time. | 17:08 |
|
| Just curious whether we can push Auth soon for a release | 17:08 |
|
| may be alpha for Auth . | 17:08 |
|
| I love alpha for newly born components other than coming from v1 | 17:09 |
|
pmjones
| you know, a alpha might not be bad | 17:10 |
|
| that's a good call harikt | 17:10 |
|
harikt
| pmjones, the good thing about alpha is you can break things ;) | 17:10 |
|
pmjones
| yes :-) | 17:10 |
|
harikt
| when it comes to beta .. people blame you .. | 17:10 |
|
| see b ;) | 17:10 |
|
pmjones
| and not feel bad about it | 17:10 |
|
| yeah | 17:10 |
|
harikt
| and by the way I did send the Aura.Sql PR | 17:11 |
|
| may be you missed to notice | 17:11 |
|
pmjones
| oh i did not see it | 17:11 |
|
| thank you | 17:11 |
|
wdna
| When I put my action in Module\Action, I name them 'ProcessField' for example, when outside 'ProcessFieldAction', think it's a good idea? or should I stick with 'Action' suffix? | 17:12 |
|
harikt
| https://github.com/auraphp/Aura.Sql/pull/79 | 17:12 |
|
pmjones
| wdna: in my examples i've been keeping the Action suffix | 17:12 |
|
harikt
| wdna, when your class is in Action then probably not needed. | 17:12 |
|
simensen
| pmjones: how was your nomad experience? was that your first as well? | 17:13 |
|
harikt
| but it depends on users convience :) | 17:13 |
|
| simensen, 2nd I guess . | 17:13 |
|
pmjones
| simensen: my first lightning talk; have spoken with them before on N+1 iirc | 17:13 |
|
| simensen: how did you like it? | 17:13 |
|
harikt
| simensen, the virtual one is hard. The person who talks may have a feeling of talking to them selves | 17:14 |
|
| :) | 17:14 |
|
simensen
| pmjones: it was ... interesting. :) first time doing anything like that. the utter lack of feedback was not something i had really experienced before. i think it went well but i really have no idea. :) i have 3 reviews on joind.in so at least there was that, but i didn't have a lot of questions realtime. :) | 17:14 |
|
pmjones
| yes the lack of an audience in front of you makes it ... different | 17:14 |
|
| i suppose it prepares you for radio work ;-) | 17:14 |
|
harikt
| you could not read or change the way you present. | 17:15 |
|
| :) | 17:15 |
|
| I mean "you could not read the user who sits in front of you through their eyes or action" | 17:15 |
|
| Here is the PR https://github.com/auraphp/Aura.Sql/pull/79/files | 17:16 |
|
| I wasn't aware cakephp was founded by Larry E. Masters . Does anyone know what is he doing currently ? | 17:17 |
|
| I am not seeing any changes in his repositories | 17:17 |
|
| https://github.com/phpnut?tab=repositories | 17:17 |
|
simensen
| yep. at least with the podcasting stuff i can see who i'm talking to. | 17:18 |
|
harikt
| simensen, :) | 17:18 |
| ← Davey left | 17:19 |
| → jakefolio joined | 17:19 |
|
pmjones
| harikt: cakephp as an organization, yes | 17:21 |
|
| as a project and codebase, no | 17:21 |
|
| the origins are in cake.sputnik.pl from, like, 2004 | 17:21 |
| → Davey joined | 17:22 |
|
pmjones
| why Davey, nice to see you | 17:22 |
|
harikt
| Thanks pmjones | 17:22 |
|
| You are old in the php . So you have some good knowledge of those days. | 17:22 |
|
| Thanks for the info. | 17:23 |
|
pmjones
| heh | 17:24 |
|
wdna
| I still run a site I made with cake, hehe | 17:24 |
|
pmjones
| one of my "going to do someday" projects is "a timeline of PHP frameworks" | 17:25 |
|
| but that's a pretty heavy-duty project | 17:25 |
|
| i thought about starting with "a history of template systems in php" but even that is a lot of work | 17:25 |
|
| wdna: heh | 17:25 |
|
wdna
| it was the project made me realize I need something better. | 17:26 |
|
pmjones
| niiice | 17:26 |
|
| yes, a lot of frameworks are like that | 17:26 |
|
| they are good introductions, but then you learn enough to know that they are not that great after all | 17:27 |
|
wdna
| yup, the docs were good. | 17:27 |
|
| but it felt like, real programming was missing =] | 17:28 |
|
harikt
| pmjones, :) I push you to do , once you are done with aura ;) | 17:28 |
|
| not now though. | 17:28 |
|
| I want you to push aura now :D | 17:28 |
|
wdna
| but that's also because of PHP back then. | 17:28 |
|
| have you been thinking about pthreads component? | 17:29 |
| ← Davey left | 17:29 |
|
harikt
| that said I am leaving for the day guys! | 17:31 |
|
nateabele
| That guy always took more credit than he earned. | 17:31 |
|
harikt
| Enjoy! | 17:31 |
|
nateabele
| By, like, a lot. | 17:31 |
|
wdna
| bye harikt, tnx for the help! | 17:32 |
|
harikt
| lol nateabele | 17:32 |
|
| :) | 17:32 |
|
| wdna, sure . If I know I will . Even if I don't know I will try :) | 17:32 |
|
| So if something is bad, please ignore my ignorance | 17:32 |
|
| :) | 17:32 |
|
wdna
| everything is good =] got my ganja | 17:33 |
|
harikt
| Good night guys! | 17:33 |
|
| all sleeping :) | 17:33 |
| ← harikt left | 17:33 |
| → netzmacht joined | 17:34 |
|
wdna
| pmjones: should I make more abstract actions for the sake of less common definitions in the configurations? | 17:35 |
|
pmjones
| you can, sure | 17:35 |
|
wdna
| or, maybe put inside COnfig folder would be more wise? | 17:35 |
|
pmjones
| it's not required, but it's one way to make your config files easier to deal with | 17:35 |
|
wdna
| ok. | 17:35 |
|
pmjones
| unfortunately, it all depends on your particular needs | 17:36 |
|
wdna
| they are not 100% clear yet, i'm still testing arch related stuff. | 17:37 |
|
| trying figure out a comforable structure, not all things are implemented yet. | 17:38 |
|
| I can tell, on couple of instances, when had to do refactroing, it was mostly around the Common.php file, that's very good for me. | 17:41 |
| → Davey joined | 17:42 |
|
wdna
| pmjones: here's something that is sloved for me, i had setter defines on controller level, when they were really needed on the action level | 17:46 |
|
pmjones
| wdna: dude, *exactly* | 17:47 |
|
wdna
| because I never pass the $id to the next level | 17:47 |
|
pmjones
| so now all those "optional" setters are now in exactly the right place | 17:47 |
|
wdna
| $id * | 17:47 |
|
| $di* | 17:47 |
|
| lol | 17:47 |
|
| sorry for that. | 17:47 |
|
pmjones
| correct, never pass $di into the objects :-) | 17:47 |
|
| no problem :-) | 17:47 |
|
wdna
| ya, learned this lesson in time. this made stuff more orgenized, and actually more usage of $di | 17:48 |
|
| this config classes at just great. | 17:49 |
| ← netzmacht left | 17:49 |
| ← Davey left | 18:38 |
| → Davey joined | 18:40 |
| pmjones → pmjones_away | 18:43 |
| pmjones_away → pmjones | 19:37 |
| ← jakefolio left | 19:51 |
| → jakefolio joined | 20:06 |
| ← joelclermont left | 20:36 |
| ← jakefolio left | 21:23 |
| → joelclermont joined | 21:47 |
|
joelclermont
| pmjones: saw you got accepted to zendcon. any news on madison php? | 22:10 |
|
simensen
| i thought i heard last night that they were going to announce the schedule for madisonphp today. | 22:20 |
|
| so i imagine it is still coming yet today unless they want to hold off because zendcon beat them to the punch. | 22:20 |
|
pmjones
| joelclermont: i can neither confirm nor deny my attendance at this time ;-) | 22:29 |
|
simensen
| pmjones: nice. | 22:35 |
|
| pmjones: have you been to madison before? | 22:35 |
|
pmjones
| simensen: once, back in '91, visiting a hot babe at the university there 8D | 23:10 |