John Cox

Blogs · @wyome

Tagged development · everything

Image CRUD for Codeigniter | WEB and DEVELOPMENT;

Image CRUD is a CodeIgniter library that simplifies multiple image uploads with automatic thumbnail generation, resizing, and reordering capabilities. It follows the same minimal-code philosophy as Grocery CRUD, allowing developers to implement complex image management functionality with just a few lines of code while handling tasks like special character renaming and relational database integration automatically.

Permalink

Advanced CodeIgniter Profiling With XHProf | Nettuts+

This tutorial explains how to install Facebook's XHProf profiler on a production server and integrate it with CodeIgniter applications using hooks to monitor real-world performance. XHProf provides hierarchical function-level profiling with minimal overhead, showing wall time, CPU usage, and memory consumption, and includes features like call graphs, run comparisons, and aggregated analysis across multiple page loads. The guide covers installation from source on Ubuntu, CodeIgniter integration setup, and interpretation of profiling results to identify bottlenecks in database calls and external service requests.

Permalink

MiniJs - jQuery Plugins made easy

This is a promotional website for Senggol138, an online slot gambling platform targeting Indonesian players, claiming to offer high win rates (98.5%), frequent "Zeus scatter" symbols, multipliers up to 1000x, and an RTP of 96.8%. The site emphasizes fast deposits/withdrawals (under 3 minutes), 24/7 customer service, generous bonuses (100% new member bonus, daily rolling bonuses, weekly cashback), and partnerships with major game providers like Pragmatic Play and PG Soft, while claiming to operate under international licensing and encryption security standards.

Permalink

RequireJS

RequireJS is a module loader for JavaScript that works in browsers and other environments, enabling developers to organize code into modular dependencies rather than managing multiple script tags. The tool offers broad browser compatibility and improves code speed and maintainability through its modular architecture. It provides an API for defining and loading dependencies asynchronously.

Permalink

5 Lightweight jQuery Alternatives for Mobile Development | Tutorialzine

jQuery's cross-browser compatibility and size make it inefficient for mobile development, where older IE support is unnecessary and download/parsing time matters significantly. The piece surveys five lightweight alternatives—Zepto.js (8kb, jQuery-like with touch support), Snack.js (3kb, non-jQuery API), $dom (2kb, animations-included), xui.js (4kb, multi-device framework), and 140medley (0.5kb, minimal)—each optimized for mobile by using hardware-accelerated CSS animations instead of jQuery's CPU-intensive style modifications and eliminating unnecessary features.

Permalink

DocBlox

DocBlox, a PHP API documentation generator compatible with PHP 5.3, announced its merger with the original phpDocumentor project to create phpDocumentor 2.0. The new unified tool features an improved responsive template and commits to monthly releases while retiring the legacy phpDocumentor 1.x branch, with existing DocBlox resources being rebranded to facilitate the transition for current users and contributors.

Permalink

CodeIgniter Language File Translator

Owen Christian and the author developed a CodeIgniter administration tool that lets translators manage language files through a web interface rather than editing them manually. The tool synchronizes translation keys across multiple language files, supports UTF-8 and embedded PHP code, and includes syntax checking to catch errors before they break the application. It requires setting up a master language file and corresponding empty slave files, then making them writable so the web interface can manage translations.

Permalink