#indiewebcamp 2012-12-09
2012-12-09 UTC
tantek, josephboyle, dascher, dascher_, xtof_fr, andreypopp, lmorchard, barnabywalters, catsup and brennannovak joined the channel
#
brennannovak barnabywalters: howdi good sir!
#
barnabywalters hey brennannovak, how was iceland?

#
brennannovak Iceland was pretty darn neat! I highly suggest visiting someday. In fact I'm actually hoping to move there
#
barnabywalters oh, cool. There’s a chance I might be interning there with brian suda sometime next year

catsup joined the channel
#
brennannovak Yah, awesome! I made friends with him and may work for him, if I move. He told me he met you at Dconstruct
#
barnabywalters briefly, yep. lots of cool discussion was had between him, jeremy keith and myself about abusing custom fonts into displaying text as musical notation!

#
brennannovak Oh really? Neat. I know he's working on some tool turn icons into fonts
#
brennannovak That would be super sweet if we were both there next year!
#
barnabywalters yep, he’s done some amazing stuff to, for example, use ligatures to turn a percentage into a battery icon with that fullness. Musical notation is quite a lot more tricky, but *might* be doable

#
barnabywalters yeah, it’d be great if we were both there next year!

#
brennannovak would that be in the fall of 2013 you are thinking?
catsup joined the channel
#
barnabywalters I’m not really sure yet. We were talking about it just after dConstruct, then he went travelling, so there was a break in communication. If I’m right and fall == autumn, then yes :)

#
brennannovak Awesome! That's when I'm hoping to attend school / work part time there
#
brennannovak So, i'm finally getting back to some IndieWeb / SocialIgniter stuff- I'm curious how you and aaronpk: are doing the "Also posted on" on your sites
catsup joined the channel
#
barnabywalters well I am doing it two ways, differently for twitter and facebook…

jancborchardt joined the channel
#
barnabywalters for twitter, I am using the API to post a truncated version of my content to twitter automatically, and then the response JSON gives me the URL

catsup joined the channel
#
barnabywalters facebook’s API is horrible and I don’t always want to syndicate there anyway, as most of my friends are music friends and I mainly post web stuff

#
brennannovak Twitter gives back the ID not the finished URL tho, yes?
#
barnabywalters they give you the id and the username, from which it’s easy to construct a URL

#
brennannovak Yah, most of your posts only say "On Twitter" but I remember you used to push into Fbook
#
barnabywalters the code for my syndicator is here: https://github.com/barnabywalters/php-helpers/blob/master/BarnabyWalters/Posse/EventListener/TwitterSyndicator.php

#
barnabywalters I do still push to FB sometimes, but I do it manually using one of their dialog boxes and a callback URL which constructs a URL from the post id

#
brennannovak Yah, the Twitter URL is quite simple to construct- I'm trying to create a scalable way to store / retrieve differing URL structures
#
barnabywalters I am going to write a post about exactly how I do it as it took me some time to figure out

#
brennannovak Ah, cool cakes
#
barnabywalters I started off storing both the URLs of copies and their domain-specific IDs

#
barnabywalters now I don’t bother, and just construct URLs

#
barnabywalters I did dump a little bit of the info, and some of the URLs on http://indiewebcamp.com/POSSE though

#
brennannovak That is the solution I'm leaning towards- but trying to do some relational DB join magic, just the trick being writing the lib to properly thread it all together
catsup joined the channel
#
brennannovak who spearheaded the POSSE implementation?
catsup joined the channel
#
brennannovak @t ?
#
barnabywalters we’ve all been making our own

#
barnabywalters I was using a client library, but ended up just using Guzzle — one less dependency to manage, as I use Guzzle elsewhere

catsup joined the channel
#
brennannovak interesting
#
brennannovak what PHP framework (or lack thereof) are you getting busy with these days?
#
barnabywalters right now I am using the Symfony components to roll my own. Using them has taught me loads about software development

#
brennannovak beyond Guzzle, that is
#
brennannovak Have you played with Laravel at all?
#
barnabywalters I’ve heard of it, not played with it

#
barnabywalters looks it up

#
brennannovak it's supposed to be one of the hot new things
#
barnabywalters actually one interesting framework I came across recently is phpalcon

#
barnabywalters it’s like the symfony components, but written as C extensions, so blazingly fast

#
barnabywalters problem is, it ties your code to environments where you can control which extensions are installed :/

catsup joined the channel
#
brennannovak ah, yah that negates many of my reasons for using PHP at all
#
barnabywalters what would be great would be if someone made a C version of something which *already exists*, so it could be dropped in as required

catsup joined the channel
#
brennannovak heh
catsup joined the channel
#
barnabywalters so laravel looks like a nice enough framework

catsup joined the channel
#
barnabywalters personally I prefer packages which use composer for dependency management and autoloading, as that fixes a lot of what is wrong with "old" PHP

#
barnabywalters it looks like laravel can use composer, and is including more support for it in the next version though

#
brennannovak So you've been using composer?
#
brennannovak I've been meaning to use it- sounds like a dream come true
#
barnabywalters yep, looks like laravel 4 is doing what symfony 2 did and is splitting into standalong components. Yay! this is very good for the community

#
barnabywalters yep, I am a convert

#
barnabywalters all of the PHP I share on github is in composer packages

#
barnabywalters it is a great tool. I find it to be better than python’s package management and on a par with node.js, not that I’ve used npm much

#
brennannovak Awesome!
#
brennannovak Methinks I need to check that out- stat
catsup joined the channel
#
brennannovak barnabywalters: so you've pretty much abandoned working with CodeIgniter yes?
catsup joined the channel
#
barnabywalters brennannovak: pretty much. I have a certain fondness for it as it was the first PHP framework I used, but I find it constrictive

catsup joined the channel
#
brennannovak what was the biggest restriction which annoyed you?
catsup joined the channel
#
barnabywalters it’s a mixture of things, but the biggest thing is the overuse of a global $this (which has namespace pollution issues) and overuse of $this->load to create instances of libraries

#
brennannovak lol, I was *just* typing $this->load->model and $this->load->library and thought- that's kinda annoying
#
barnabywalters yeah, what’s wrong with new XLibrary?! I never really understood what the advantage of using the global $this

catsup joined the channel
#
brennannovak Hrm, my guess is- it harkened back from PHP4.* days when things weren't truly object oriented
#
barnabywalters that’s probably it. The current version of CodeIgniter is very much a procedural framework

#
barnabywalters CI sparks is not a bad package management system, but it perpetuates framework-specific code :/

#
brennannovak right- the seemingly wide adoption of Composer is making me think might be time to jump CI ship
catsup joined the channel
#
barnabywalters have you read Fabien Potencier’s roll-your-own-framework series?

#
barnabywalters I found it hugely informative

#
barnabywalters off to eat tea now. great to catch up :) bye for the mo

#
brennannovak cheers
catsup, zztr, Nadreck, friedcell, tommorris_ and andreypopp joined the channel
#
aaronpk just launched a new URL scheme on my site http://aaronparecki.com/notes/2012/12/06/20-paris Post about it forthcoming

catsup, tilgovi and andreypopp joined the channel