IRCloggy #auraphp 2014-07-29

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.

2014-07-29

amystephen left00:47
joelclermont joined01:36
pmjones joined02:04
caseysoftware joined02:05
garethdaine left02:09
caseysoftware left02:39
netzmacht joined05:36
xyNNN joined06:31
netzmacht1 joined07:11
netzmacht left07:11
garethdaine joined07:22
xyNNN left07:45
garethdaine left07:47
xyNNN joined07:47
garethdaine joined08:04
joelclermont left08:36
joelclermont joined08:37
wdna_ joined08:52
wdna_ pmjones, hay, here?09:59
mfrost503 left10:00
xyNNN left10:45
amystephen joined12:13
xyNNN joined12:33
joelclermont left12:39
joelclermont joined12:39
harikt joined13:06
harikt Good morning to all13:06
pmjones, too early to see you :)13:07
joelclermont, hearing your podcast13:07
Thank you for the link13:07
joelclermont harikt: you’re welcome.13:07
i was surprised to see it posted already. we just recorded on Saturday13:07
harikt :)13:07
I am there were you introduced aura13:08
I am done with it .13:11
Thank you once again for introducing aura13:11
by the way one of the good thing I noticed is https://github.com/cakephp/cakephp/blob/3.0-i18n-next/composer.json#L2713:12
seems aura/intl gets some place.13:12
by the way good to see you zro , xyNNN13:13
Welcome to aura.13:13
mfrost503 joined13:43
wdna_ left13:44
agentile__ left14:21
harikt left14:36
xyNNN left15: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 file15:27
is that product safe?15:27
s/product/production15:27
thought you shouldn't use .htaccess in production15:27
joelclermont using .htaccess in production is less about security and more about performance15:28
apache doesn’t have to search and parse them on each request if it’s all baked in to your config15:28
jwoodcock okay, got'ca15:30
garethdaine left15:30
simensen joelclermont: nice interview. :)15:41
joelclermont thanks15:41
pmjones joelclermont: hey, nice interview dude16:11
and thanks for the plug :-)16:11
joelclermont pmjones: :) thanks16:11
pmjones you have a very calm baritone on that recording, i think16:11
joelclermont ha!16:12
my talk was done, so i was relaxed16:12
pmjones niiice16:12
mfrost504 joined16:21
mfrost503 left16:24
harikt joined16:32
wdna hay16:33
harikt Hey wdna16: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 nods16:35
pmjones wdna: exactly16:35
wdna but16:35
harikt oh pmjones :)16:35
there is a but16: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 out16: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 Responder16: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 controller16:45
wdna harikt: you mean, I should convert all my controller actions into action classes?16:46
harikt wdna, http://pastebin.com/XriEbu9j16:46
yes16:47
only one action per class.16:47
controller is no longer needed16: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 nods16: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 classes16: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 name16:51
for example:16:51
netzmacht1 left16: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 identical16:52
wdna oh, i see, so I just need to define the right action in dispatcher16: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 DCI16:54
pmjones right on man16:54
wdna but16:54
pmjones i think it works a *lot* better with DCI, EBI, hexagonal, etc16:54
but? ;-)16:54
wdna but, it would be hard to convince PHP community, lol16:55
pmjones yes :-)16:55
i'm not necessarily interested in "convincing"16:55
wdna i mean, people still love codeigniter16:55
pmjones i'm interested in talking about what i think is right, and if people self-select on that, i think that's fine16:56
yeah i know16:56
and there was a lot to like about CI, honestly16:56
it's not *my* favorite but then nothing is my favorite16: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 Symfony16: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 coupled16:58
wdna actually16:58
I used Aura.Http inside it, because it didn't provide a normal HTTP component =]16:59
pmjones heh16:59
and Guzzle, nice as it may be, is just too big for me most of the time17:00
wdna ya, used that one too, have lots of cool features, and dependencies17:00
pmjones "and depdendencies" exactly17:00
amystephen left17:02
harikt pmjones, so question .17:02
pmjones waits for it17: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/9vkxUnPU17: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#l10517:05
oh I think I miss read it.17:06
pmjones harikt: yes i think a misread17:06
harikt You were telling we don't need to set the action in the router17:06
:)17:06
pmjones correct sir :-)17:06
harikt Just thought whether we were having some feature17: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 release17:08
may be alpha for Auth .17:08
I love alpha for newly born components other than coming from v117:09
pmjones you know, a alpha might not be bad17:10
that's a good call harikt17: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 it17:10
yeah17:10
harikt and by the way I did send the Aura.Sql PR17:11
may be you missed to notice17:11
pmjones oh i did not see it17:11
thank you17: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/7917:12
pmjones wdna: in my examples i've been keeping the Action suffix17: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 iirc17: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 selves17: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 ... different17: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/files17: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 repositories17:17
https://github.com/phpnut?tab=repositories17:17
simensen yep. at least with the podcasting stuff i can see who i'm talking to.17:18
harikt simensen, :)17:18
Davey left17:19
jakefolio joined17:19
pmjones harikt: cakephp as an organization, yes17:21
as a project and codebase, no17:21
the origins are in cake.sputnik.pl from, like, 200417:21
Davey joined17:22
pmjones why Davey, nice to see you17:22
harikt Thanks pmjones17: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 heh17:24
wdna I still run a site I made with cake, hehe17: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 project17:25
i thought about starting with "a history of template systems in php" but even that is a lot of work17:25
wdna: heh17:25
wdna it was the project made me realize I need something better.17:26
pmjones niiice17:26
yes, a lot of frameworks are like that17:26
they are good introductions, but then you learn enough to know that they are not that great after all17: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 :D17:28
wdna but that's also because of PHP back then.17:28
have you been thinking about pthreads component?17:29
Davey left17: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 nateabele17: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 ignorance17:32
:)17:32
wdna everything is good =] got my ganja17:33
harikt Good night guys!17:33
all sleeping :)17:33
harikt left17:33
netzmacht joined17:34
wdna pmjones: should I make more abstract actions for the sake of less common definitions in the configurations?17:35
pmjones you can, sure17: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 with17:35
wdna ok.17:35
pmjones unfortunately, it all depends on your particular needs17: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 joined17: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 level17:46
pmjones wdna: dude, *exactly*17:47
wdna because I never pass the $id to the next level17:47
pmjones so now all those "optional" setters are now in exactly the right place17:47
wdna $id *17:47
$di*17:47
lol17: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 $di17:48
this config classes at just great.17:49
netzmacht left17:49
Davey left18:38
Davey joined18:40
pmjonespmjones_away18:43
pmjones_awaypmjones19:37
jakefolio left19:51
jakefolio joined20:06
joelclermont left20:36
jakefolio left21:23
joelclermont joined21: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 8D23:10

Logs Search ←Prev date Next date→ Channels Documentation