Shane Becker yeah, where are all these #ruby apps consuming µf2?! My fairly complete #php µf2 parser has had 55 installs so far, probably mainly me updating it :)
Shane Becker yeah, where are all these #ruby apps consuming µf2?! My fairly complete #php µf2 parser has had 55 installs so far, probably mainly me updating it :)
aral hideous. That makes me more embarrassed to be a PHP dev than all the bad rep it has as a language. And they're teaching SVN! It gets worse :(
I love that #php now has shiny namespacing and a thriving code sharing community, but I think the heavily hierarchical namespacing practises used by some of the community (e.g. symfony components) are unhealthy.
They are difficult to memorise, relying on (often slow) IDE autocomplete, and encourage a use
statement for each class. That’s pretty much a scoped equivalent of from x import *
in python — not a good practise! It’s still namespace pollution, it just takes longer to write.
I am trying to use a more python–like, package-centred approach with much fewer subnamespaces. The outcome of this should be that you use
the package name:
use BarnabyWalters
osse;
…and then using all the classes/subnamespaces from that root, e.g: $t = Posse\Helpers::convertHtmlToTwitterFormat($s);
Created this evening: a partial parser for ABC notation. It currently only handles headers, including ones within the music, but not inline headers. For the #taproot tunes module
Brennan Novak great to see you auto–POSSEing! And pleased that you found the truncenator useful. Also check out the stuff in BarnabyWaltersPosse, there’s a more up to date version of the truncenator as well as some other syndication helpers.
Just some simple performance–enhancing on #taproot these last few evenings — cached and parallelised pingbacks and identengine.com requests.
Doing a mass find-and-replace operation on the Perch Blog app so I can have more than one running at the same time. If you want to do something similar, here are the strings you need to replace:
blog
⇒ yourName
Blog
⇒ YourName
perch_blog
⇒ yourPrefix_yourName
PerchBlog
⇒ YourName
And then obviously rename the .class.php
files and activate as you would any other app.
Great to see that Zend Framework implements a PuSH publisher and client, with Hub “coming soon” #indieweb
Researching #wordpress plugin API as prior art for my activitystreams events framework. Yuk. Yuk yuk yuk.
I added some HTML→Twitter microsyntax routines to my #POSSE helpers library: https://github.com/barnabywalters/php-helpers #indieweb
Updates to #php-mf2: vastly improved handling of combined microformats. http://waterpigs.co.uk/php-mf2
I updated the #php-mf2 web demo again, now you can try out the classic microformats compatibility. http://waterpigs.co.uk/php-mf2/
Updated php-mf2 with improved handling of children keys, updated the demo to output JSON and time taken;
#symfony2 Security component is a beast. Once I’ve got it sorted, there’s a BIG tutorial on it’s way. The symfony components have taught me a huge amount, so improving their documentation the least I can do.
Tom Morris just tried it, and I can hack offline, with inline docs and code completion for both language functions, imported packages and my own classes. PHP+Netbeans.