background preloader

Tutorials

Facebook Twitter

Your One-Stop Guide to Laravel Commands. In this day and age, it's quite normal for a developer to have an understanding of consoles, and how to issue basic commands. But what if you could code your own custom commands to improve your workflow? If we look back to Laravel 3, you might remember that it offered tasks. Tasks were extremely helpful, but still came up short for more complex operations. Thankfully, Laravel 4 packs a beefed up Artisan that will make your life as a developer so much easier! What is Artisan? Artisan is the command line utility that was released in Laravel 3. If you're not familiar with Laravel, then you might not be aware of Artisan. Artisan offers many useful commands that can help you perform various tasks, such as generating migrations or publishing a package's assets. Artisan's Foundations This is where Artisan draws its power.

In Laravel 3, Artisan was written from scratch by Taylor Otwell (Laravel's creator), thus it was quite basic (although still awesome). Common Questions Basics of a Command Options. Concrete5 - Basic Application Development Training - Part Three. A navigation menu that stays on top with jQuery - Web development - Backslash.

Server Management

Stupid htaccess Tricks. Welcome to Perishable Press! This article, Stupid htaccess Tricks, covers just about every htaccess “trick” in the book, and is easily the site’s most popular offering. In addition to this htaccess article, you may also want to explore the rapidly expanding htaccess tag archive. Along with all things htaccess, Perishable Press also focuses on (X)HTML, CSS, PHP, JavaScript, security, and just about every other aspect of web design, blogging, and online success. If these topics are of interest to you, I encourage you to subscribe to Perishable Press for a periodic dose of online enlightenment ;) General Information [ ^ ] .htaccess Definition 1 ^ Apache server software provides distributed (i.e., directory-level) configuration via Hypertext Access files.

Commenting .htaccess Code ^ Comments are essential to maintaining control over any involved portion of code. Important Notes for .htaccess Noobs ^ As a configuration file, .htaccess is very powerful. Performance Issues ^ [S=x] [E=variable:value] Mysterious Image Gaps in Gmail | Email Marketing Best Practices. Have you noticed Gmail ruining your beautiful HTML emails? Are mysterious gaps appearing between your images? Well fear not, there’s an easy fix. Recently, Google made a change to the way Gmail handles images in HTML-formatted emails. I’ll probably never know why they did this, but I’m sure there was a good reason. While both Hotmail and Gmail have the same issue, you’ll need to do some extra work for Gmail since it ignores style definitions that are not “inline”. For example:<img style=”display:block” src=”sample.gif” alt=”sample” /> Also, don’t forget to go back and check any email templates that you created and tested in the past but are still being sent to your subscribers.

If you have any questions for myself or anyone else on our Marketing team, feel free to send an email to askmarketing@icontact.com. Powerful New CSS- and JavaScript-Techniques (2012 Edition) Advertisement Since our last round-up of useful CSS techniques1, we’ve seen a lot of truly remarkable CSS geekery out there.

With CSS3, some of the older techniques now have become obsolete, others have established themselves as standards, and many techniques are still in the “crazy experimentation” stage. Since the release of the previous post, we’ve been collecting, sorting, filtering and preparing a compact overview of powerful new CSS techniques. Today we finally present some of these techniques. Use them right away or save them for future reference. Please note that many techniques are not only CSS-based, but also use HTML5 and JavaScript. Table of Contents CSS Transitions And Animations CSS transitions and animations are often used to make the user experience a bit more smooth and interesting, especially when it comes to interactive effects on hover or on click. CSS3 dodecahedron9 A fancy dodecahedron experiment, created using CSS Transforms and a tiny JavaScript snippet. Last Click. Super Simple CSS Buttons.

While playing around with a few button designs for my latest project, I came up with a simple CSS-only button system that is both lightweight and compatible with nearly all major browsers. Check it out and let me know what you think! Download The zip file below contains the CSS and HTML to create all of the elements in the above example, as well as the image file used.

The HTML I wanted to keep it dead simple to use, enough so that a single class could be added to any element to create a button. The CSS In order to add a subtle gradient effect, I decided to use a single image file. The CSS is pretty self-explanatory, however an interesting point is that I change the padding in the active state (.button:active) while shifting the element up by 1 pixel - this creates a pseudo-3D effect of physically pushing down on it. Compatibility and Final Remarks Play with it and let me know what you guys think! How To Integrate Facebook, Twitter And Google+ In WordPress. Advertisement Integrating social media services in your website design is vital if you want to make it easy for readers to share your content. While some users are happy with the social media buttons that come built into their design template, the majority of WordPress users install a plugin to automatically embed sharing links on their pages.

Many of you will find that a plugin does exactly what you need; others not so much. Some are poorly coded, and most include services that you just don’t need. And while some great social media plugins are out there, they don’t integrate with every WordPress design. If you aren’t comfortable editing your WordPress templates, a plugin is probably the best solution. Today, we’ll show you how to manually integrate the three most popular social media services on your website: Twitter, Facebook and Google+. Please make sure to back up all of your template files before making any changes, so that you can revert back if something goes wrong. 1. 2.

<? (al)