 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Script-Tutorials.com: Creating Your Own Commenting System from Scratch
by Chris Cornutt October 17, 2011 @ 11:30:02
Script-Tutorials.com has a new article posted today showing you how to combine PHP, some CSS, a dash of SQL and some HTML (oh, and jQuery) to create your own commenting system from scratch that could be used anywhere from a simple blog to a more complex social site.
Today I prepared new interesting article - I will tell how you can create own commenting system (AJAX) for your items (any units at your website) with PHP. For our demonstration - I prepared two SQL tables: first table will keep records of our items. It contain several fields: title, description, time of adding and comments count. Another table will keep records of comments. We will use jQuery too (for better interface behavior). One of features will spam protection (we can post no more than one comment every 10 minutes)!
The tutorial includes all of the code, markup and styling you'll need to make the system work. If you'd like to get right into the code you can download it as a package or you can try out their demo.
voice your opinion now!
commenting system tutorial html mysql jquery css demo
NETTUTS.com: Creating a Twitter OAuth Application
by Chris Cornutt December 02, 2010 @ 08:49:29
In a recent post to NETTUTS.com, there's a new tutorial that will walk you through the creation of a basic Twitter client that uses their OAuth system for authentication. All of the code is provided so you can follow along.
OAuth can be a tricky concept to wrap your head around at first, but with the Twitter API now requiring its use, it is something you need to understand before creating a Twitter application. This tutorial will introduce you to OAuth, and walk you through the process of creating a basic application.
They show you how to register your application, where to grab the OAuth library from and the code you'll need to make the connection and send tweets. There's also a few other code snippets showing profile image downloading, updating and cached version generation. You can see a demo of the application in action here.
voice your opinion now!
twitter tutorial oauth demo tmhoauth github
9Lessons.info: Facebook Style Tag Friends with Jquery, Ajax and PHP
by Chris Cornutt August 26, 2010 @ 09:58:49
On 9Lessons.info today there's a tutorial posted by Srinivas Tamada about creating a simple "tag my friends" system (like Facebook's) with PHP, jQuery and a bit of Ajax magic.
I received a request from my reader that asked to me how to implement Facebook like tag friends in your status or update box. It is great feature to adding friends start with @ symbol. I had tried this with Jquery, Ajax and PHP, it's simple just collaboration of my previous posts.
If you want to skip to the good part, there's a demo and code download otherwise you can follow along with his code that creates a database table, includes the HTML for the interface, a backend PHP script to connect to and some CSS to make it all look a bit nicer.
voice your opinion now!
facebook friends tutorial jquery ajax demo
ParticleTree Blog: PHP Quick Profiler
by Chris Cornutt April 24, 2009 @ 07:57:01
Debugging resources being used by your script has always been a pain, and many developers have come up with their own libraries to handle the process. Ryan Campbell has his own entry in the category - the PHP Quick Profiler.
In our company, code reviews play an integral part in the development process for making quality software. We opt for a mentor style approach with Wufoo, where a developer works on a segment for a period of time and then passes it up to a more experienced developer for review.
[...] To reduce this repetition of checking the same requirements over and over], we invested some time creating something we've called the PHP Quick Profiler-we call it PQP for short. It's a small tool (think Firebug for PHP) to provide profiling and debugging related information to developers without needing them to add a lot of programmatic overhead to their code.
The post gives several screenshots of the tool in action and code to get you up and running quickly. The Profiler can keep track of memory usage, "runaway" includes, execution time and database activity. There's also an online demo so you can try it out yourself.
Here's the link to the latest version's download.
voice your opinion now!
demo time execution include database usage memory profile
Christoph Dorn's Blog: Integrating FirePHP for Ajax Development
by Chris Cornutt April 06, 2009 @ 09:35:02
Christoph Dorn has posted a guide to integrating the FirePHP tool into your application to aid in Ajax debugging.
My purpose in this column is to introduce you to FirePHP, the problem it solves, and how it is intended to work within your application for maximum benefit. I will present some useful high-level knowledge to make it easier for you to integrate FirePHP into your application. This is not a step-by-step tutorial. I have made a complete demo available for download, along with some useful libraries illustrating all the concepts covered here. I want to emphasize that the demo is only one possible implementation. There are many other possibilities.
He sets up his problem - figuring out a good way to debug Ajax applications without resorting to alert boxes - and the solution he found worked best for him. By using the FirePHP library he could send back the results (or any other information) from the backend call without needing to go through any more hassle than installing Firebug and the FirePHP tool. (Obviously, this only works in Firefox. Internet Explorer users might want to try out Fiddler.)
voice your opinion now!
firephp ajax development integrate tutorial demo debug
|
Community Events
Don't see your event here? Let us know!
|