| 2014-10-24 |
| ← hcl2 left | 03:24 |
| ← D-Boy left | 03:38 |
| → D-Boy joined | 03:42 |
| ← beakman left | 04:28 |
| → beakman joined | 05:02 |
| ← beakman left | 05:27 |
| → netzmacht joined | 06:33 |
| ← netzmacht left | 06:51 |
| ← andrerav_ left | 06:51 |
| ← davedevelopment left | 06:51 |
| ← mgdm left | 06:51 |
| ← Jakey69 left | 06:51 |
| ← jwoodcock_ left | 06:51 |
| ← Whoop left | 06:51 |
| ← simensen left | 06:51 |
| ← feketegy- left | 06:51 |
| ← digitalfiz left | 06:51 |
| ← Davey left | 06:51 |
| ← dragonmantank left | 06:51 |
| ← D-Boy left | 06:51 |
| ← mbrevda left | 06:51 |
| ← RJD22 left | 06:51 |
| ← ChanServ left | 06:51 |
| ← Websoftwarez left | 06:51 |
| ← agentile_ left | 06:51 |
| → agentile_ joined | 07:02 |
| → netzmacht joined | 07:17 |
| → andrerav_ joined | 07:17 |
| → mgdm joined | 07:17 |
| → davedevelopment joined | 07:17 |
| → Jakey69 joined | 07:17 |
| → jwoodcock_ joined | 07:17 |
| → Whoop joined | 07:17 |
| → simensen joined | 07:17 |
| → feketegy- joined | 07:17 |
| → mbrevda joined | 07:17 |
| → digitalfiz joined | 07:17 |
| → RJD22 joined | 07:17 |
| → Davey joined | 07:17 |
| → dragonmantank joined | 07:17 |
| → Websoftwarez joined | 07:17 |
| → ChanServ joined | 07:17 |
| asimov.freenode.net set mode: +o | 07:17 |
| ← agentile_ left | 07:34 |
| ← netzmacht left | 07:34 |
| ← andrerav_ left | 07:34 |
| ← davedevelopment left | 07:34 |
| ← mgdm left | 07:34 |
| ← Jakey69 left | 07:34 |
| ← jwoodcock_ left | 07:34 |
| ← Whoop left | 07:34 |
| ← simensen left | 07:34 |
| ← feketegy- left | 07:34 |
| ← digitalfiz left | 07:34 |
| ← Davey left | 07:34 |
| ← dragonmantank left | 07:34 |
| ← mbrevda left | 07:34 |
| ← RJD22 left | 07:34 |
| ← ChanServ left | 07:35 |
| ← Websoftwarez left | 07:35 |
| ← mfrost503 left | 07:35 |
| ← rafi left | 07:35 |
| → ChanServ joined | 07:37 |
| → Websoftwarez joined | 07:37 |
| → dragonmantank joined | 07:37 |
| → Davey joined | 07:37 |
| → RJD22 joined | 07:37 |
| → digitalfiz joined | 07:37 |
| → mbrevda joined | 07:37 |
| → feketegy- joined | 07:37 |
| → simensen joined | 07:37 |
| → Whoop joined | 07:37 |
| → jwoodcock_ joined | 07:37 |
| → Jakey69 joined | 07:37 |
| → davedevelopment joined | 07:37 |
| → mgdm joined | 07:37 |
| → andrerav_ joined | 07:37 |
| → netzmacht joined | 07:37 |
| → Grummfy joined | 07:37 |
| → D-Boy joined | 07:37 |
| → agentile_ joined | 07:37 |
| asimov.freenode.net set mode: +o | 07:37 |
| → mfrost503 joined | 07:40 |
| → rafi joined | 07:40 |
| ← rafi left | 07:40 |
| → rafi joined | 07:41 |
| → lenton joined | 09:00 |
| ← mfrost503 left | 09:55 |
| → mfrost503 joined | 09:56 |
| ← dragonmantank left | 09:58 |
| → dragonmantank joined | 09:59 |
| → hcl2 joined | 12:31 |
| → tommy_ joined | 12:33 |
|
tommy_
| Hi, | 12:33 |
|
Grummfy
| hello | 12:33 |
|
tommy_
| I just started working with aurasql and it is actually the best sql builder I found so far and I used a lot :-) | 12:34 |
|
| But I would like to know if it is possible to add raw expression to the query somehow? | 12:34 |
|
Grummfy
| yes | 12:36 |
|
| I suppose you speak about sqlquery project instead of auraphp sql ? sqlquery is the builder, sql is a layer on top of pdo to execute the query | 12:37 |
|
tommy_
| Ohh, yes I think so. I'm talking about the Aura.Sql package especially about the sql query builder | 12:38 |
|
Grummfy
| https://github.com/auraphp/Aura.SqlQuery => ""->set('ts', 'NOW()') // raw value as "(ts) VALUES (NOW())" "" | 12:38 |
|
| if you look (still in the documentation given in the repository) in the select => " 'COUNT(foo) AS foo_count' // embed calculations directly" | 12:40 |
|
tommy_
| That's fine but I thought more about adding a complete sql select query expression instead of following the syntax of sqlQuery | 12:41 |
|
Grummfy
| if you want something like this 'select * from toto' | 12:42 |
|
| you can skip sqlquery layer | 12:42 |
|
| I don't know if it's helping you? | 12:43 |
|
| perhaps with an example of what you want to do... | 12:44 |
|
tommy_
| Yeah, that would help me definitely | 12:44 |
|
| Of course | 12:44 |
|
| I would like to add ;WITH test as ( SELECT 1 ) at the front of the query. Another example would be to join the result of a subquery. | 12:45 |
|
Grummfy
| with could be add after the query builder (it's a very particular command) .Subquery is sql builded and injected in antoher sql builded so it should be easy to do. | 12:48 |
|
| well I don't have the time to do it right now, but it's possible | 12:48 |
|
tommy_
| So I would need to adapt the sqlQuery library or is there a standard way already? | 12:49 |
|
Grummfy
| subquery => standard (but there is not method called subquery, it's simply injecting another queyr in it) | 12:51 |
|
| with perhaps need to adapt, but for me can be easyly done with a wrapper around other queries | 12:51 |
|
tommy_
| Ahhh, I got it now! | 12:51 |
|
Grummfy
| oki, if it's help I'm happy. | 12:52 |
|
| don't heasite to use a gist (github snippetof code) to post an exemplte when harikt or pmjones will be there | 12:55 |
| → harikt joined | 12:55 |
|
Grummfy
| well tommy_ you can ask to harikt if you still have question (but with code snippset it's better) | 12:57 |
|
harikt
| Hi there Grummfy | 12:57 |
|
| How can I help ? | 12:57 |
|
tommy_
| Wow, thanks a lot for your help. You are awesome. | 12:58 |
|
Grummfy
| harikt: tommy_ ask question about the query builder (with oracle I presume ) about subquery and with command | 12:58 |
|
| see logs for more details | 12:59 |
|
harikt
| tommy_, sure will check in a few minutes. | 13:00 |
|
mbrevda
| hey harikt | 13:04 |
|
| how's it going? | 13:04 |
| → joelclermont joined | 13:04 |
|
harikt
| Hi there mbrevda | 13:07 |
|
| I am doing good, and you ? | 13:07 |
|
mbrevda
| great, thank you! | 13:09 |
|
| I was reading here to try and learn more about using more Aura components in my framework: https://leanpub.com/aurav2/read#full-stack. First of all, nice job on the documentation! | 13:09 |
|
| I was reading here to try and learn more about using more Aura components in my framework: https://leanpub.com/aurav2/read#full-stack. First of all, nice job on the documentation! | 13:09 |
|
| Second, I was wondering if you had a more modular example of routing? Putting ALL routes in a single file can become a bit messy... | 13:09 |
|
harikt
| mbrevda, that doc is now moved to website . | 13:10 |
|
| auraphp.com/manuals/2.0/en/ | 13:10 |
|
| You can also read from there. | 13:10 |
|
mbrevda
| Are they the same | 13:10 |
|
harikt
| Yes. | 13:10 |
|
mbrevda
| ? | 13:10 |
|
| ok | 13:10 |
|
harikt
| I changed a bit . | 13:10 |
|
mbrevda
| Are you aware of a more modular example? | 13:11 |
|
harikt
| nope. | 13:11 |
|
mbrevda
| ok, thanks | 13:11 |
|
harikt
| currently the only way .. but mostly when you think you have a compoent coming along you can push to another repo. | 13:11 |
|
| see Aura.Blog which have its own config. | 13:12 |
|
| so you can move this like a module. | 13:12 |
|
| so not all config files will lie on the project folder. | 13:12 |
|
| mbrevda, did you get what I mean ? | 13:12 |
|
mbrevda
| no, Im afraid not | 13:12 |
|
harikt
| see github.com/harikt/Aura.Blog/ | 13:13 |
|
| It can be plugged into the aura framework as a package.. | 13:13 |
|
| so this package can be used in any projects! | 13:13 |
|
| there is a bundle which can currently render the css / js github.com/harikt/Aura.Asset_Bundle | 13:14 |
|
mbrevda
| Are you saying that I should design each module as its own project? | 13:14 |
|
harikt
| there needs a way to cache it . | 13:14 |
|
| yes | 13:14 |
|
| exactly if you need . | 13:14 |
|
| not project but as a module is the correct sense | 13:14 |
|
| if you think it is reusable. | 13:15 |
|
| so just can plug and play. | 13:15 |
|
mbrevda
| the modules are mostly project specifc | 13:15 |
|
harikt
| ok, in that case then you don't need to do anything | 13:15 |
|
| can lie on config/Common.php | 13:15 |
|
| tommy_, so for your question. | 13:15 |
|
| I am not sure whether it is helpful . But may be ->fromSubselect( // FROM sub-select AS my_sub | 13:16 |
|
| 'SELECT ...', | 13:16 |
|
| 'my_sub' | 13:16 |
|
| ) will help ? | 13:16 |
|
tommy_
| harikt, yeah I came to that conclusion some seconds ago. Works like a charm. | 13:17 |
|
harikt
| aah thanks. | 13:18 |
|
| sorry for the delay. | 13:18 |
|
| I was looking and writing something. | 13:18 |
|
tommy_
| harikt, no problem. You guys are a great help. :-) | 13:18 |
|
harikt
| tommy_, if you didn't find anyone shoot a mail to the google groups also. | 13:19 |
|
tommy_
| harikt, I'm currently working with a microsoft sql server database. As there is no appropriate pdo driver what is the best way to manage placeholders? | 13:19 |
|
mbrevda
| harikt: whats the official party line regarding middleware? I.e. where do I implement authentication? | 13:19 |
|
harikt
| mbrevda, good question :-) . | 13:20 |
|
| I don't know. If I get pmjones correctly he feels it is to the abstract action . | 13:21 |
|
| not middleware . | 13:21 |
|
mbrevda
| but... authentication can be route specific. In order to authenticate, we need to route first. The only step (in Aura) after routing is dispatch. Dose that mean that authentication needs to go in the domain? | 13:22 |
|
harikt
| tommy_, placeholders are mostly put like :name . rather than ? | 13:23 |
|
| mbrevda, ie what Paul was mentioning | 13:23 |
|
| if I understand him correctly. | 13:23 |
|
| So I was pushing my own kernel http://cocoframework.com | 13:24 |
|
| It have signal in core. | 13:24 |
|
tommy_
| harikt, sorry, I won't bother you anymore. Just looked through the code and it is actually perfectly commented. Already found my answer: $query->getBindValues(); All query builders should be structured that well *thumbs up* | 13:24 |
|
harikt
| tommy_, sorry then. my answer would be wrong :) | 13:25 |
|
mbrevda
| ah, I see harikt. Basically, take care of business before calling dispatch | 13:25 |
|
tommy_
| harikt, but it seems I was too lazy to read some lines. Thanks anyway ;-) | 13:26 |
|
harikt
| sure. | 13:26 |
|
| want to move a bit out | 13:26 |
| ← Grummfy left | 14:01 |
| → beakman joined | 14:16 |
|
harikt
| back | 14:22 |
|
| mbrevda, I have a question where I moved away. | 14:26 |
|
| "I see harikt. Basically, take care of business before calling dispatch" | 14:26 |
|
| did you mean you need signals or no signals ? | 14:26 |
| → devmn joined | 14:30 |
|
mbrevda
| Regardless of how, it would seem that all middleware-like activities need to be manually calls after calling router, before calling dispatche | 14:38 |
|
harikt
| mbrevda, not sure I get you :( | 14:39 |
| → pmjones joined | 14:40 |
|
mbrevda
| Nm, next week | 14:40 |
| ← pmjones left | 14:41 |
| → pmjones joined | 14:41 |
|
harikt
| mbrevda, Nm mean .. not now I guess. | 14:59 |
|
| Good day pmjones :) | 15:07 |
|
| meet tommy_ who was praising the sqlquery builder. | 15:08 |
|
pmjones
| good day all | 15:13 |
|
| hi there harikt | 15:13 |
|
harikt
| Hey Paul :) | 15:13 |
|
pmjones
| and hi tommy_ ! glad you like the query builder :-) | 15:13 |
|
tommy_
| Hi pmjones :-) | 15:14 |
|
pmjones
| are you in the us, europe, somewhere else? | 15:14 |
|
tommy_
| It is really a nice piece of software. Made my php application way more readable in no time ;-) | 15:14 |
|
pmjones
| (I like to keep track of our worldwide membership ;-) | 15:14 |
|
harikt
| cool :) | 15:14 |
|
pmjones
| ah i'm so glad :-0 | 15:14 |
|
| :-) | 15:14 |
|
harikt
| yey ... party time. | 15:14 |
|
| pmjones, you are keeping the worldwide record to make a movable conference of aura ;) | 15:15 |
|
tommy_
| I'm from europe (Austria) | 15:15 |
|
pmjones
| tommy_: nice | 15:15 |
|
harikt
| may be you should try some funding.. | 15:15 |
|
| ;) | 15:15 |
|
pmjones
| i spent some some in germany years and years ago (bitburg area) | 15:15 |
|
| harikt: yes, that would be cool | 15:16 |
|
tommy_
| Ohh, sounds nice. Are you from the us? | 15:16 |
|
harikt
| :) | 15:16 |
|
pmjones
| but organizing a conference is *so* much work | 15:16 |
|
harikt
| mm | 15:16 |
|
pmjones
| tommy_: yes, i'm in nashville tennessee these days | 15:16 |
|
harikt
| I heard from Ivan Hoa do have some funding | 15:16 |
|
| pmjones nods | 15:16 |
|
harikt
| you didn't approached anyone ? | 15:16 |
|
| or don't like ;) | 15:16 |
|
pmjones
| harikt: the people who use aura, in general, don | 15:17 |
|
| 't seem to be interested in conferences so much as just getting their work done | 15:17 |
|
| but i might be projecting my own biases :-) | 15:17 |
|
harikt
| :( | 15:17 |
|
pmjones
| harikt: tell you what | 15:17 |
|
harikt
| pmjones, I wonder whether you could share the list with me . | 15:17 |
|
| so I know them ;) | 15:17 |
|
pmjones
| list? | 15:17 |
|
| oh, it | 15:17 |
|
harikt
| yes id you have the people who use aura. | 15:18 |
|
pmjones
| 's everybody here in irc, and everybody on the mailing list | 15:18 |
|
| that's all | 15:18 |
|
harikt
| if I am missing some | 15:18 |
|
| aah ok :) | 15:18 |
|
pmjones
| no other secret list or anything | 15:18 |
|
harikt
| I thought some people who use | 15:18 |
|
| ok. | 15:18 |
|
tommy_
| We are currently not using auraphp as a whole but only the sqlbuilder. We are currently working with slimphp but maybe we have a look at the whole auraphp package | 15:18 |
|
pmjones
| tommy_: sure | 15:18 |
|
| pick and choose, use what you like and discard the rest | 15:18 |
|
| and slim is quite nice | 15:19 |
|
harikt
| by the way Paul you will hear this more .. For the record mbrevda already asked the same question I asked you http://colabti.org/irclogger/irclogger_log/auraphp?date=2014-10-24#l179 | 15:19 |
|
pmjones
| harikt, mbrevda : ah so | 15:19 |
|
harikt
| pmjones, praising slim :) | 15:19 |
|
pmjones
| hey, i give credit where it is due | 15:19 |
|
harikt
| :) nice. | 15:20 |
|
tommy_
| pmjones, I really admire open source projects which are that modular :-) | 15:20 |
|
pmjones
| i don't like the service-locator aspects of slim but aside from that bit of OCD on my part it seems pretty clean | 15:20 |
|
harikt
| pmjones, I was mentioning that is why i have the signal kernel . | 15:20 |
|
| We will be talking more next week. | 15:20 |
|
| will see | 15:20 |
|
| OCD ? | 15:21 |
|
pmjones
| harikt, mbrevda : regarding authentication, i'd argue it goes in 2 places. 1 in the router, as a preliminary check, and 2 in the domain layer, as a"real" check to see if the user is authorized | 15:21 |
|
harikt
| pmjones, so what do you do preliminary check ? | 15:22 |
|
pmjones
| harikt: OCD "obsessive-compulsive disorder" | 15:22 |
|
harikt
| I wonder how you will build a preliminary check though in the current way | 15:22 |
|
| may be I am missing. | 15:22 |
|
pmjones
| i am using the term loosely, to mean that i am habitually prejudiced against service locators in general these days | 15:22 |
|
| harikt: as for the preliminary check, i don't know yet :-) | 15:23 |
|
harikt
| he he he :) | 15:23 |
|
pmjones
| it strikes me as similar to checking Accept headers | 15:23 |
|
| a preliminary check in the Router to pre-empt dispatching to an action that cannot provide an acceptable type | 15:23 |
|
harikt
| pmjones, I noticed one router.. don't recall which one. they have something like filters | 15:23 |
|
pmjones
| and then in the responder, to do the actual negotiation | 15:24 |
|
harikt
| aah yes pmjones https://github.com/mrjgreen/phroute#filters | 15:25 |
|
pmjones
| harikt: interesting, i'll look at that later -- thanks for that | 15:25 |
|
harikt
| sure. | 15:25 |
| ← netzmacht left | 15:26 |
|
harikt
| Enjoy your work Paul. | 15:29 |
|
| I know you are busy, and will be trying to finish up the weekend. | 15:29 |
|
| Enjoy your work. I will be around here :) | 15:29 |
|
pmjones
| harikt: thanks man | 15:32 |
|
harikt
| you are welcome. | 15:32 |
|
pmjones
| yes, this weekend is finishing up the last of my slides for zendcon, and then of course zendcon itself all next week | 15:32 |
|
harikt
| oh is it zendcon next week. | 15:33 |
|
| wooo... | 15:33 |
|
pmjones
| yes and i am disappointed that you are not going to be there :-/ | 15:33 |
|
harikt
| do push aura, if you can :) | 15:33 |
|
pmjones
| oh i will :-) | 15:33 |
|
harikt
| no issues Paul. | 15:33 |
|
| I will one day, and mostly I got lost to attend conferences though | 15:33 |
|
| the spirit to attend. | 15:34 |
|
| seems I am getting backwards.. | 15:34 |
|
| :) | 15:34 |
|
pmjones
| ha! | 15:34 |
|
| you want to start a conference, but not attend one ;-) | 15:34 |
|
harikt
| hm. not much people here. | 15:35 |
|
| pmjones nods | 15:35 |
|
harikt
| or I didn't find them. | 15:35 |
|
| so :/ | 15:35 |
| ← tommy_ left | 15:36 |
|
harikt
| Hi lenton | 15:42 |
|
| noticied you now only. | 15:43 |
|
| In case if you need any help don't hesitate to ping me or someone. | 15:43 |
|
| Just wanted to make sure you all know each other and don't look strangers. | 15:43 |
|
| Enjoy your day guys! | 15:44 |
|
| and Paul the internet is back after 14 days. | 15:44 |
|
| Hope it will not get me into trouble soon. | 15:44 |
|
lenton
| harikt: Hi :) | 15:44 |
|
harikt
| :) | 15:44 |
|
| which part of the world are you ? | 15:45 |
|
lenton
| England | 15:45 |
|
harikt
| oh we have davedevelopment from there :) | 15:45 |
|
| and not sure I recall others :( | 15:45 |
| ← harikt left | 15:52 |
| → ralphschindler joined | 15:53 |
| → mapthegod joined | 16:19 |
|
mapthegod
| hi everyone | 16:19 |
| ← lenton left | 16:46 |
| ← beakman left | 17:24 |
| → beakman joined | 17:32 |
| → slawrence00 joined | 17:39 |
| ← ralphschindler left | 17:49 |
| ← rafi left | 18:32 |
| ← beakman left | 19:59 |
| ← devmn left | 20:02 |
| → beakman joined | 20:02 |
| → ralphschindler joined | 20:14 |
| ← pmjones left | 20:59 |
| ← ralphschindler left | 21:18 |
| → ralphschindler joined | 21:33 |
| ← ralphschindler left | 21:45 |
| → jakefolio joined | 22:11 |
| → ralphschindler joined | 22:31 |
| ← beakman left | 22:36 |
| ← jakefolio left | 22:48 |
| ← slawrence00 left | 23:35 |
| → beakman joined | 23:40 |