Knowledge Base

Drupal Module Folder Organization

Submitted by Dan Slater on Mon, 07/28/2014 - 15:16

Organization is important for any Drupal site larger than the simplest of blogs. It is paramount for multi-site installations that are already bulky with numerous site folders, themes and subthemes. I have observed that if I don’t maintain a good organizational format within my multisite structure, I can very quickly become lost locating specific files and lose precious productive time.

Making Vim Syntax Highlighting Work Inside Git Bash

Submitted by Dmitry Boychev on Mon, 07/28/2014 - 11:06

If you have used Git Bash and its Vim, which both come as one package, you have probably stumbled on the issue of making syntax highlighting work.

Whenever you type the command “vi file_name” in Git Bash and type, for example, some php code, you will see the plain white text on the black background. To try and fix the issue, you would just type the command “: syntax on”, because it always worked, right? Well, not so much with the Git Bash Vim scenario.

Creating CSS3 WebKit animations

Submitted by Jordan McLemore on Tue, 07/22/2014 - 13:05

WebKit is a layout engine software component for rendering web pages in the browser. It can easily be used to give HTML elements animations and properties involving movement. In this article I will be explaining some example code I wrote below. No Imports are required to use WebKit.

You begin by declaring the Webkit and the time length -webkit-animation: rotation 1.5s linear 1; . -webkit-animation and -webkit-transform are the only WebKits I am using, although many others exist, such as -webkit-transition.

Creating a responsive webpage

Submitted by Jordan McLemore on Thu, 07/17/2014 - 10:51

Having a responsive website is almost mandatory in modern web development. The way people view websites has changed. People use their phones and tablets almost more than their desktops and laptops. This means people will be viewing your site on mobile devices. Luckily, there are a couple ways to handle this. Javascript and jQuery are likely the most interesting and advanced way of handling this obstacle. However, if you want to keep things nice and simple with full functionality, simply use CSS3 media queries. Here is an example.

 

Easily creating a GUI in Java using Jframe in NetBeans 8.0

Submitted by Jordan McLemore on Tue, 07/15/2014 - 10:33

This guide will show you a quick introduction on using the JFrame tools in NetBeans to easily create a GUI for your java programs. NetBeans provides a user interface that allows you to very easily generate your GUI without having to hand code it yourself. This will organize your code and allows you to easily add logic and operations to your buttons, text fields, and more.

Getting Started with Wordpress Plugin Development

Submitted by Mark Tsibulski on Sat, 06/28/2014 - 21:13

Writing plugins for Wordpress may seem like a daunting task if you're new to Wordpress. But all it takes is a good starting point to get the ball rolling. Today I'll show you how to get started with your first simple Wordpress plugin. For this example, we will be making a plugin that automatically adds an image to all new posts.

First, you will need to make the appropriate directories and files. In your /wp-content/plugins/ directory, make a new folder with your desired plugin name, and a .php file with the same name.

Creating the parallax effect using Javascript and CSS

Submitted by Jordan McLemore on Tue, 06/17/2014 - 12:50

The parallax effect, or scrolling parallax effect, has become popular on modern websites. My favorite example of the parallax effect is implemented on http://boy-coy.com/. You may be thinking to yourself that this looks difficult to implement, but actually it's incredibly easy. The most difficult part will be creating the images and deciding how to make them move and work together.

Integrating Apache Solr with Drupal Autocomplete

Submitted by Sergey Cheban on Fri, 06/07/2013 - 17:00

Although Drupal has a good built-in search functionality that coumes out of the box, sometimes a client wants something more advanced and feature rich that scales well for a quickly growing website.  This is where Apache Solr comes into play.  Apache Solr is an open source project that is used on many high traffic websites like Zappos.com and is well integrated into Drupal.

RESTfully creating a repository in BitBucket.org

Submitted by Jitesh Doshi on Sun, 06/02/2013 - 12:01

Creating a  Git repository is simple, using the excellent BitBucket.org service. It can be a chore to go to the bitbucket website and manually creating new repositories every time, though. Since it is bitbucket, and Atlassian, they have exposed a very nice RESTful API on top their service offering. Below is an example of how to create a new repository from 'curl' command-line ...

Subscribe to Knowledge Base