John Cox

Blogs · @wyome

Tagged tutorial · everything

Introduction to MySQL Triggers | Nettuts+

MySQL triggers are database rules that automatically execute additional operations when data is inserted, updated, or deleted, allowing developers to handle data integrity, logging, and business logic at the database layer rather than in application code. The article demonstrates three practical applications: maintaining referential integrity by automatically deleting related records, auditing changes by logging modifications to separate tables, and enforcing business rules like automatic price calculations based on cost updates. While triggers add modest performance overhead to individual queries, they reduce overall latency by eliminating multiple round trips to the database and move critical data logic away from the application layer where it's easier to enforce consistently.

Permalink

HTML5 Globals and You | Nettuts+

HTML5 introduces several new global attributes that can be applied to any element, expanding beyond the previously restricted set like id, class, and style. The piece explains practical new attributes including contenteditable (making elements directly editable in the browser), spellcheck, hidden (semantically hiding elements rather than just hiding their display), draggable, contextmenu, and the data-* catch-all attribute for storing custom application data. Browser support for these features was still inconsistent at the time of writing, but they degrade gracefully enough to begin experimenting with immediately.

Permalink

.htaccess What, Why, When and How | KomunitasWeb

No puedo escribir un resumen de estos artículos porque el contenido que compartiste es principalmente una página de índice o lista de artículos sin el texto completo de ninguno de ellos. Para crear un resumen útil, necesitaría acceso al artículo completo que guardaste, no solo los títulos, fechas y párrafos introductorios. Si puedes proporcionar el texto completo del artículo específico que deseas que resuma, estaré encantado de hacerlo.

Permalink

Welcome to HTML5 and CSS3 - Tools, Resources & Frameworks | Greepit

This is a curated collection of tools, libraries, and resources for working with HTML5 and CSS3, organized by category including browser compatibility testers, design generators, video players, frameworks, and practical applications. It serves as a reference guide for developers and designers looking to implement modern web standards while maintaining cross-browser support and graceful fallbacks for older browsers. The collection emphasizes alternatives to proprietary plug-ins like Flash and includes both testing utilities and production-ready frameworks.

Permalink

Top 50 Web Graphics, Admin Skins and Scripts to Accelerate Development | Nettuts+

This article showcases a curated selection of ready-made design assets and scripts available on Envato's marketplace sites, including admin panel templates, web graphics, error page designs, and jQuery plugins that developers can purchase and integrate into their projects. The featured items span practical tools like sticky navigation menus and image sliders to visual elements like ribbons, buttons, and 404 page templates, all created by freelance authors in the Envato community. The piece concludes by promoting the opportunity to become a marketplace author and earn passive income by selling similar design assets.

Permalink

HTML5 Demos and Examples

A collection of interactive HTML5 demos showcasing various browser APIs and technologies, each tagged with browser support information (whether they work in IE, Firefox, Opera, Safari, and Chrome) and the specific HTML5 feature they demonstrate. The demos range from multimedia features like video and canvas to storage mechanisms, geolocation, web workers, and offline capabilities, with filtering options to explore demos by browser compatibility or technology type.

Permalink

The Mad Ranter: Damn IE7 and inline-block

The author documents the frustrating incompatibilities of making list menu items display horizontally across different browser versions, explaining that while the CSS `inline-block` property should solve this problem elegantly, Internet Explorer requires multiple browser-specific hacks involving `zoom:1`, `*display: inline`, and `_height` declarations to function properly. The piece serves as a practical workaround guide for developers struggling with IE6 and IE7's flawed implementation of layout properties, detailing exactly which CSS tricks target which browser versions.

Permalink

jQuery Plugin : jConfirmAction | Webstuffshare.com - Worth Sharing Bookmarked Webstuff

This is a broad instructional guide covering foundational and intermediate web development concepts, including HTML structure, responsive design with fluid grids, hosting and domain selection, database schema design, and security considerations. It emphasizes that web development skills progress from basics like learning HTML tags to more advanced topics like frameworks and API integration, with practical advice drawn from real-world experience. The resource positions itself as evolving alongside the web itself to serve developers at various skill levels.

Permalink

Rethinking Forms in HTML5 | Nettuts+

HTML5 introduces substantial improvements to web forms through new input attributes (like autofocus, placeholder, and pattern), new input types (such as email, date, number, and range), and new form elements (including datalist, output, progress, and meter). These changes reduce reliance on JavaScript for common form tasks like validation, autocomplete, and user experience enhancements, allowing developers to build more consistent and usable forms with less code. While browser support is inconsistent at the time of writing, the new elements degrade gracefully in older browsers and are worth adopting immediately, particularly the input types that already work on mobile devices like iPhones.

Permalink

HoverAttribute jQuery plugin « afEkenholm Web Design

Texten presenterar ett introduktionsöversikt av webbdesign och digital marknadsföring som växande yrkesområden i det moderna samhället, där företag numera är beroende av digital närvaro för att kunna konkurrera. Webbdesign förklaras som utformningen av webbplatser och appar anpassade för specifika ändamål och målgrupper, medan digital marknadsföring definieras bredare och omfattar allt från nätannonsering till sökmotoroptimering. Texten är tänkt som en introduktion till dessa branschområden med löfte om vidare vägledning.

Permalink

Lightbox Print Option? - SitePoint Forums

This post provides a step-by-step guide for adding print functionality to Lightbox image galleries by creating a dedicated print stylesheet, adding a print button to the lightbox interface, and binding a print command to that button. The solution involves hiding all page elements during printing while displaying only the lightboxed image, then triggering the browser's print dialog when the button is clicked.

Permalink

Dynamically fill in form values with jQuery - Stack Overflow

I can't summarize this—it's not a saved article. This is a technical code example showing how to auto-populate form fields using jQuery and PHP, where entering an email triggers a database lookup via AJAX that returns first and last names in JSON format to fill adjacent input fields. If you have an article you'd like me to summarize, please share that instead.

Permalink

Ben Alman » jQuery BBQ: Back Button & Query Library

jQuery BBQ is a plugin that simplifies browser history management and bookmarking in dynamic web applications by using the hashchange event to enable URL-based state tracking. It provides utilities to parse, serialize, and merge URL parameters (via `.deparam()` and `.param()` methods) and allows multiple widgets on the same page to manage their own state independently without conflicts. The plugin makes it easy to bind hashchange events and push/retrieve state objects to create functional back/forward buttons and bookmarkable URLs in AJAX-heavy applications.

Permalink

How to Make a Screencast for Your Website | Webdesigner Depot

Screencasts—short, demonstration videos embedded on websites—significantly boost conversion rates for web applications and services. The piece provides a comprehensive how-to guide covering planning, storyboarding, script writing, recording with free or inexpensive screen-capture software, editing in basic video editors, and adding voiceovers and music to create professional two- to three-minute videos that keep visitors engaged. It also reviews hosting providers, discusses optimal placement and sizing of embedded videos, and offers examples of successful implementations across different websites.

Permalink

Best User Interface Design Resources: The Round-up | Dzine Blog

This piece curates 40 user interface design resources across five categories: pattern libraries like PatternTap and UI Patterns that showcase existing design solutions, blogs and magazines such as UX Booth and Signal vs. Noise that discuss UX principles and techniques, specific websites praised for exemplary interface design, web applications like Twitter and Google Analytics that demonstrate usability best practices, and influential UI designers to follow on Twitter. Rather than prescribing one correct approach to design, the article presents these resources as inspiration and guidance tools to help designers understand what users might need and create interfaces that balance aesthetics with functionality.

Permalink