Knowledge Base

Best approaches to Drupal migration

Submitted by Christian Crawford on Wed, 04/01/2015 - 10:19

Migrating content and its linkages between sites has always been one the more difficult tasks to master in the world of Drupal. In the past, site builders and developers would have to write lots of code to set up the migrations and field mappings. Migrating between Drupal sites is not quite as daunting of a task as migrating a site from another CMS, since many of the entities will be similar across sites, but is challenging none the less.

Getting started with Jython

Submitted by Christian Crawford on Mon, 01/12/2015 - 15:54

As you can guess from the name Jython is an amalgamation of the Python and Java programming languages. It is one of three implementations of the Python language, the other two being CPython and IronPython (.Net). Jython is one of the most mature JVM languages that is available on the Java platform. The language was created in 1997 to replace the C language with Java for performance-intensive code accessed by python programs.

Combining JPA and JAX-RS to create RESTful service

Submitted by Christian Crawford on Sun, 11/30/2014 - 19:45

Java Persistence API (JPA) abstracts the database interactions and treats them as objects rather than simply queries. Since these queries are now objects, the principles of Object-Oriented Programming (OOP) can come into play including, encapsulation, abstraction, inheritance, and polymorphism. Persistence in the java language is actually not a new concept at all. Many implementations have been created in the past including, EDJ, JDO, Hibernate, and Toplink to name a few. JPA was designed with the idea of simplifying the Enterprise JavaBean (EJB) programming model.

Creating a RESTful service with Java and Jersey with Netbeans

Submitted by Mark Tsibulski on Fri, 11/28/2014 - 19:15

There are many ways to implement a RESTful service, but what if you need to do it in Java and you use Netbeans? I recently had a project like this and it was quite an experience to get my enviorment up and working. With Java, there are just so many ways to do it that it starts to look like too much to handle. Well it is actually easier than you think. Let's dive in..

First, fire up Netbeans and create a new Maven Web Application project. Give it a name of you choosing.

Creating a RESTful API using Slim php framework

Submitted by Christian Crawford on Fri, 11/07/2014 - 09:23

Restful architectures are often used to create client/server network environments. REST, which stands for representational state transfer, is a simpler alternative to SOAP and WSDL services, but still maintains great features like platform-independence and language independence. REST services explicitly use HTTP methods when implementing their calls, therefore any good API should support the basic GET, POST, PUT, and DELETE methods. Along with knowing the HTTP methods you must understand the HTTP status codes as well.

Display of different Views depending on the logged in User

Submitted by Mark Tsibulski on Mon, 10/06/2014 - 01:09

Have you ever desired to have display of different View filter criteria depending on the user's role? There are two ways of achieving this, I will explain both the ways in this article. 

In following example, I want to show 4 search criteria to a user with administrator role: Event title, Date of Event, Location, Event status.  Further, I want to show two search criteria to all other roles: Event title and Location (shown in below images) . 

Drupal 7 - Bulk Field Update on Demand

Submitted by Vitaly Muzichuk on Tue, 07/29/2014 - 11:48

While building an event organization website, there was a requirement to have each event approved by a legal department before the organizer was allowed to publish any event.

A custom status field with conditions based on this field was the best approach.

Updating / rewriting a field for multiple nodes on demand can be achieved with Views and Views Bulk Operations.

Migrate/Migrated2d: Linking Migrated Nodes To Non-migrated Terms

Submitted by Raymond Mbuyi on Mon, 07/28/2014 - 22:52

Migrate and Migrate d2d modules expose a powerful API to developers who have the task to migrate a part or an entire website to Drupal 7; these two modules come in handy whenever the migration task is subject to complex business rules. One short article is far from being enough to offer an in-depth look at the countless opportunities offered by these two modules. Therefore, this article will explain how to solve a specific migration issue, hoping in the process, to help  grasp what can be done with these two modules.

Dual DB Schema Setup with Drupal

Submitted by Sergey Cheban on Mon, 07/28/2014 - 20:47

Anyone that has worked on an enterprise level Drupal application knows that having the transactional consumer data separate from your content will save you time and headaches during a release. With Drupal this is very much possible and it's fairly easy to setup. This can be setup with the DB on a separate server or on the same server where you currently have your Drupal DB residing.

The first thing that you will need to do is edit your "settings.php" file for you drupal installation and add the following array block to configure your second schema:

Developing your first iOS Application

Submitted by Christian Crawford on Mon, 07/28/2014 - 16:04

Developing an iOS application may seem like a daunting task for one to complete, especially if you are not familiar with the Objective-C language and its syntax. However it’s actually not all that difficult to create a basic hello world like application with very little knowledge of the language. If you are familiar with the C programming language the code should look somewhat familiar.

Subscribe to Knowledge Base