David Bisset: Web Designer, Coder, Wordpress Guru

Web 2.0, Php, MySQL, HTML, CSS, Wordpress, Javascript, iTouch iPod, iPhone, Adobe…

Archive for the ‘Coding’ Category

Pagination Styles using CSS

If you need quick access to html/css for pagination then check out this good tutorial at woork. Digg and Flickr styles provided.

  • 0 Comments
  • Filed under: Coding
  • CodeIgniter, Digg API, and PHP

    If are trying to get somewhere with the Digg API, I highly recommend this tutorial on accessing the Digg API with PHP. Remember to save the php files as a CodeIgniter library so that you can call it like this:

    $this->load->library('diggclass');
  • 0 Comments
  • Filed under: Coding
  • List of Top 240 jQuery Plugins

    A nice list to have and refer to if you desire some functionality and don’t want to reinvent the wheel. I found jCarousel Lite and jCarousel via this page.

  • 1 Comment
  • Filed under: Coding
  • GridFox - Cool Tool For Developers

    GridFox is a Firefox extension that overlays a grid on any website. Easy to customize, allowing you to create the exact grid you designed your layout around. I just downloaded this and i instantly love it. Can see how i can adjust my css instead of having to go back to Photoshop.

  • 0 Comments
  • Filed under: Coding, Design / UI
  • jQuery Spy

    jQuery Spy is a very cool “Digg spy” clone that uses jQuery. Easy to use and customizable. Currently working with this on a client project.

  • 0 Comments
  • Filed under: Coding
  • Subversion How-To for Designers

    Vitamin has an excellant walk-through setting up Subversion focused for designers. Includes setting up the server (Beanstalk is plugged, but that’s ok since I was looking at it for an online solution anyway), setting up the client, and some examples of basic Subversion usage. Easy to follow, even for me. Designers need to realize how important version tracking is.

  • 0 Comments
  • Filed under: Coding
  • FancyBox - Lightbox For jQuery

    FancyBox is another lightbox solution using jQuery. Not too impressed - i don’t like the way the photos disappeared as you “scroll” through them but does hold out some promise as something to consider. According to the site, looks like it’s also going to be reworked in the near future.

  • 0 Comments
  • Filed under: Coding
  • Setting Up Subversion on Windows

    Although i’m favoring online solutions at the moment, I can’t ignore these instructions on how to setup Subversion on Windows by Jeff. Doesn’t look like a breeze to setup (hence why the online solutions look great at the moment) but worthy of keeping around.

  • 2 Comments
  • Filed under: Coding
  • PHP Widget For Mac OS X

    Andrew Hegdes created a PHP Function reference widget that provides fast lookup of information about the PHP web programming language. Just turned version one, and he’s looking for a little feedback. Haven’t seen anything like this yet, so bookmarking when i switch full time to Mac.

  • 0 Comments
  • Filed under: Apple, Coding
  • Advanced MYSQL Search in PHP

    If you are building search functionality for a site and want something beyond “simple matches” where your MySQL code ends up using the LIKE keywords, then check out how to use regexp with php and MySQL to get better search results from those using quotes in the search results (”glass windows”) when looking for an exact statement.

  • 0 Comments
  • Filed under: Coding
  • Tooltip Fader for Images

    MooFilm is a Mootools-Based Tooltip Fader for Images. Nice addition to MooTools bookmarks I guess.

  • 0 Comments
  • Filed under: Coding
  • Easy CSS Tooltip

    Easy CSS Tooltip: “A really simple and basic Crossbrowser Tooltip on your website.”

  • 0 Comments
  • Filed under: Coding
  • 9 Rich Text Editors

    The title is actually “9 of the best Rich Text editors reviewed” although these aren’t reviews… more like descriptions and links. Which is ok, but a little misleading.

  • 0 Comments
  • Filed under: Coding
  • PHP error_reporting() Cheat Sheet

    PHP error_reporting() Cheat Sheet

  • 0 Comments
  • Filed under: Coding, Sideblog
  • Mediatyping Your Site With PHP

    Dave over at mezzoblue tells us his method of giving users a choice if they are viewing a site on a mobile device or tv (Wii, Playstation, etc.). This is a useful tip, even for those with iPhones and iPod Touchs (iTouch).

  • 0 Comments
  • Filed under: Coding
  • jQuery Tutorials for Designers

    webdesignerwall.com has shows up some great, straightforward jQuery Tutorials for Designers. Starts with the basics.

  • 0 Comments
  • Filed under: Coding
  • Yahoo Answers Clones (PHP)

    Before considering building my own, I’m looking for php/mysql implentations of Yahoo Answers. So far, the best examples is Askeet built by the symfony Web PHP Framework. I’m going to give it a try, but always looking for alternatives.

  • 0 Comments
  • Filed under: Coding
  • Akismet CodeIgniter Library

    I can’t wait to get my hands on the Akismet CodeIgniter Library. Elliot Haughin has hit another home run. It looks simple enough to use… just load the library, pass it a comment object (name, email, website, and the actual comment itself), and you’ll get a is_spam flag.

  • 0 Comments
  • Filed under: Coding
  • ExpressionEngine 2.0 is now fully “CodeIgnited”. This is probably one of the most exciting things i’ve read coding-wise in weeks. I haven’t had much experience with ExpressionEngine, but now I think myself and anyone else who hasn’t (but had hands in CodeIgniter) is going to be giving it more thought. I’m still reading and digesting the information but it appears you can build a CodeIgniter site and then (perhaps?) slap ExpressionEngine on top of it as a pre-made CMS. Gotta confirm that, but if that’s even remotely possible then that blows my current custom-built CMS (built in CodeIgniter as well) right out of the water.

    I agree with Derek. Certainly a great time to be a CodeIgniter “nerd”. This gives me alot more confidence to look for CodeIgniter updates and enhancements down the line.

  • 0 Comments
  • Filed under: Coding
  • PHP Smart Image Resizer

    Smart Image Resizer - Done in PHP. I’m usually not a fan of activating a script through an image tag:

    <img src="/image.php/coffee-bean.jpg?width=200&amp;height=200&amp;image=/wp-content/uploads/2008/03/coffee-bean.jpg" alt="Coffee Bean" />

    But the author claims “Built-in caching keeps image variations for optimal performance” and there is cropping, so I think this might be useful. Worth a look. [ via David W ]

  • 0 Comments
  • Filed under: Coding
  • Although there appears to be a minor issue in Safari 2, this method of howto “spruce up your search box with CSS and a background image” worked well for me in a recent project.

  • 0 Comments
  • Filed under: Coding
  • 8 Premium One Line Css Tips

    8 Premium One Line Css Tips - I’m humbled by the fact that these short and sweet lists of code every once in a while contain a tidbit of new or forgotten information.

  • 0 Comments
  • Filed under: Coding
  • ProtoFlow

    ProtoFlow is a coverflow effect written in Javascript. It uses Prototype and Scriptaculous to do bulk of the work and it uses Reflection.js to do all the image reflections.

  • 0 Comments
  • Filed under: Coding
  • Javascript Mac OS X-Style Dock

    This Mac OS X-style Dock In JavaScript seems a little “rough” or not smooth when the icons are small but it does work on the big browsers and it’s simple/easy to install if you need this sort of thing.

  • 0 Comments
  • Filed under: Coding
  • Force A Secure Page Using PHP

    Probably a no-brainer, but still I just saw this on a client site another night and thought how to Force A Secure Page Using PHP was a good tip.

    if($_SERVER['SERVER_PORT'] != '443') { header('Location: https://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); exit(); }  
    
  • 0 Comments
  • Filed under: Coding
  • Saw this on Ajaxian - apparently Google has just come out with Javascript API for YouTube that will allow you to develop “the flexibility to customize the YouTube player with their own controls, player ‘chrome’, and even behaviors like custom playlists and menus.”. The YouTube Chromeless Player Reference is certainly interested and it looks like Christian Heilmann has written a video captioning system that lets you annotate as you pause. My spidey sense tells me this has BIG potential and some awesome stuff should be appearing over the next few weeks.

  • 0 Comments
  • Filed under: Coding, Web 2.0
  • MooTools Zebra Tables Class

    MooTools Zebra Tables Class

  • 0 Comments
  • Filed under: Coding, Sideblog
  • Execute a HTTP POST Using PHP CURL

    Here’s how you execute a POST using the PHP CURL library.

  • 0 Comments
  • Filed under: Coding
  • I’m pretty sure i bookmarked this at some point, but since IE6 is *STILL* king it’s still handy to hang onto. I cringe when i still IE6’s browser share. [ via 31three ]

  • 0 Comments
  • Filed under: Coding
  • PHP Client Library for our Address Book API. Seems practical for social networking applications.

    The Address Book API allows for a user to import their email contact list (from Gmail, Yahoo!, AOL, and Hotmail) into any site. Our API is used on dozens of sites and applications, and is a way for users to invite friends to a site, share content with people in their address book, and import their social relationships.

  • 0 Comments
  • Filed under: Coding, Web 2.0
  • Select Boxes: jQuery & AJAX

    Auto-populating Select Boxes using jQuery & AJAX is a great tutorial on working with jQuery, Ajax, and JSON… with select boxes. I was able to recently complete some client functionality thanks to this.

  • 0 Comments
  • Filed under: Coding
  • jQuery Select Box Plugin

    This select box manipulation jQuery plugin came up in my research. Bookmarking for later use, since there doesn’t seem to be anything else simliar for jQuery that i could find.

  • 0 Comments
  • Filed under: Coding
  • How to recreate Silverback’s Parallax

  • 0 Comments
  • Filed under: Coding, Sideblog
  • Just caught this nice code example from Eric Wendelin. Looks great, bookmarking for future reference.

  • 0 Comments
  • Filed under: Coding
  • AJAX File Upload Tutorial

    An AJAX file upload tutorial that doesn’t really use 100% AJAX, but instead a solution which imitates the AJAX process, but uses a normal upload process and iFrames.

  • 1 Comment
  • Filed under: Coding
  • Twitter Updates

    Random Tidbits