HybridAuth – A PHP Library For Authenticating With Social Services
HybridAuth is an open source PHP library for authenticating through multiple social services and ID providers.
The services supported include OpenID,Facebook,…
HybridAuth is an open source PHP library for authenticating through multiple social services and ID providers.
The services supported include OpenID,Facebook,…
A quick 365 days after we launched the project, the community finished up 2.0 today! Briefly, what’s new:
Seems like a pretty damn good css-layout system. Very easy (unlike grids, which i find annoying) and have cross-browser support.
What are your thoughts? Comments in the post.
Some nice tips when you are working with OOPHP
During a couple of weeks i have been developing an issue tracking system. We decided to build it with HTML5, CSS3 and AJAX since it’s a in-house only product. Basically, in comes down to nothing fancier than jQuery-magic.
Eventually, i started to notice a bug, where everything kind of crashed after leaving the page idle for a while. After refreshing the page, everything worked. I’ve spent approximately a week on debugging this issue, due to interference from some other bugs. The Console said: Object [Object object] is not a reference to a function - when trying to execute a jQuery Plugin. After tinkering with the plugin, jQuery and a lot of other javascript it finally hit me.
It wasn’t javascript the screwed me over (actually, well yeah, it kinda was) - my session simply timed out. My Ajax call were redirected to the login page, whom recognized my cookie and signed me back in. The login page contained additional jQuery instances and javascript - so my javascript backfired.
Solution:
How did i solve it? Since my server side session would be refreshed by simply interacting with the page, i.ex. by making a GET request i decided to do exactly that.
I made sure i was polling my server after 5 minutes idle time and reload the list of current issues to see any updates. Which was nice, since auto refreshing was on my todo-list.
The polling is a simple setTimeout(fn, interval) plus a clearTimout which was triggered on user interaction.
…. And me and my code lived happily forever on!
A new version of Google Web Fonts have been released with 100+ new fonts to browse and use! Now where is Comic Sans?
A very interesting article about Google+
Google hopes that its slow rollout will encourage a steady momentum, and in the early stages Google will provide enough value to keep the early adopters engaged, and that it will motivate them to invite their contacts.
The differences between “NoSQL” databases are much bigger than it ever was between one SQL database and another. This means that it is a bigger responsibility on software architects to choose the appropriate one for a project right at the beginning. Take a quick look on this article to see the difference between NoSQL DB.