 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
PHPBuilder.com: Oauth Authentication for Social Apps in PHP
by Chris Cornutt February 08, 2013 @ 10:27:18
On PHPBuilder.com today there's a tutorial introducing you to OAuth and how to use it in your PHP applications.
Oauth is an open standard for authorization that allows secure authorization from web, mobile and desktop applications. This standard allows a third-party application to gain access to a HTTP service, i.e. it enables users to share their resources from one website with another website without having to give out their credentials (usually username and password). [...] Oauth authorization is carried out in 3 steps: obtain a request token, authorize request token and exchange request token for an access token.
They introduce you to some of the basic concepts behind OAuth and how the process works (complete with a handy graphic). They then show how to use OAuth to connect to the Facebook API, both in Javascript then PHP. This is followed with two other examples referencing popular social sites Twitter and Foursquare, hitting their APIs with simple authentication requests.
voice your opinion now!
oauth authentication social application twitter facebook foursquare tutorial
PHPBuilder.com: Talking to Facebook's Social Graph with PHP
by Chris Cornutt November 21, 2011 @ 11:26:54
On PHPBuilder.com there's a recent post showing you how to connect your application with Facebook's graph API and grabbing the current user's public profile information.
In recent years, [Facebook's] influence has dramatically grown thanks to the Facebook Platform, a set of APIs which third-parties can use to create or extend applications which tightly integrate with Facebook.com's features and users. [...] PHP-minded developers are particularly fortunate, as the Facebook PHP SDK doesn't only provide users a powerful solution for interacting with the social graph, but because it's actively maintained by the Facebook development team is often the first of several available APIs to offer the latest features and bug fixes.
He points out the github repostory for grabbing the Facebook SDK, the information you'd get (at a minimum) from the API and the sort of detail you can expect from a user logged into your application. Sample code is included for this last example.
voice your opinion now!
facebook social graph api tutorial public information
Timothy Boronczyk's Blog: Spaghetti Code Considered Harmful
by Chris Cornutt May 20, 2011 @ 10:50:46
Timothy Boronczyk has a new post to his blog proposing something that any veteran developer already knows - "spaghetti code" is harmful to the health of your application. He's done a little research, though, and tried to explore what this "bad code" really is.
The phrase "spaghetti code" is an all-too-common pejorative we programmers use to describe horrible code, whether it's difficult to understand, poorly organized, or just plain long-winded. And there-in lays the problem. What really constitutes spaghetti code is subjective; I've yet to hear a concrete definition or standard metric that measures it. [...] Everyone has his or her own opinion as to what aspects would make them label it spaghetti.
Suggested definitions include: quickly written, non-standardized, beginner-level quality and any code that makes use of "goto". He suggests that applying the term to someone's code is less about the real quality of the code and more about social aspects of not wanting to upset the other developer over its quality.
But besides negatively affecting others, our complaining about spaghetti code hurts ourselves too. It's easier to motivate ourselves when tasked with fixing a bug when we're not dreading having to trudge through spaghetti. When we label code as spaghetti code, we are actually creating roadblocks that hamper ourselves and artificially increase the difficulty of the task at hand.
voice your opinion now!
spaghetti code harmful social standards quality
Community News: Dutch PHP Conference - Updates to the site and the schedule
by Chris Cornutt February 24, 2011 @ 13:49:39
The Dutch PHP Conference has posted an update about the conference today including changes to the schedule and how its represented on the site.
t has been about two weeks since the schedule was published and ticket sales started, but that doesn't mean we haven't done anything in the meantime! There have been a number of updates on both the site and the schedule.
There's five new talks that've been added to the schedule including Paul Matthews' presentation on Solr, Chris Jones talking about high performance PHP apps and David Soria Parra on git. The site updates mainly revolve around the classification of the different sessions - icons added to show skill level and scope of the presentation. There's also an update about the unconfernece and official conference social.
voice your opinion now!
dutch conference dpc11 speaker classification skill scope unconference social
Chris Hartjes' Blog: Book Review PHP 5 Social Networking
by Chris Cornutt February 02, 2011 @ 09:29:25
Chris Hartjes has posted his review of the Packt Publishing book "PHP 5 Social Networking" they had asked him to review.
I'm glad I decided to take a look at this book. It's pretty dense at 450+ pages, but it really does work you through from start to finish how to build a small social networking site in PHP. Okay, it's about dinosaurs, but let's not quibble. I'm not into long-depth book reviews, so we can talk about what I liked about this book.
He likes the consistency of the book's approach to the subject and points out that it promotes refactoring and improving code over striking out and using something new and trendy. He also mentions their emphasis on security. The one thing he didn't like about the book was a simple one - there were no unit tests to back up any of the code in the book.
voice your opinion now!
packt book review social networking
Lorna Mitchell's Blog: Tips for Event Hosting Content, Feedback and Socials
by Chris Cornutt September 20, 2010 @ 11:20:46
Lorna Mitchell has posted the last of three articles with tips for those hosting tech events out there from her past experiences with conferences like the Dutch PHP Conference.
This is the final post in a short series about hosting events, based purely on my own experience and no specific expertise, in the hope that they will be useful to others doing similar things. If you are interested, you can read the first two posts, about preparing for the event and what to do on the day. This post is about some of the additional things about an event; sharing the content afterwards, getting feedback from attendees, and the most important bit - the social event.
She talks about the importance of getting slides (and recordings, if possible) from each of the sessions as this can add to the post-event experience, especially for those that weren't able to attend. She notes that feedback during and after the conference is key and has a few tips for the social events that might happen in the evenings for the attendees.
voice your opinion now!
feedback content social event tip conference
|
Community Events
Don't see your event here? Let us know!
|