Company - Blog

July 20, 2010

Filed under: K-fx² News — jenn @ 2:45 pm

K-fx², Inc. Builds Web Site for New Orleans Company’s International Expansion

BATON ROUGE, LA (Date) – K-fx², Inc., a Baton Rouge-based new media design firm, continued exceeding client expectations with several additions to the SBS Migration web site, www.sbsmigration.com.  SBS Migration, a New Orleans-based small business server upgrade firm, recently offered their services internationally. The web site currently allows SBS Migration to extend their services to more than 85 countries and looks to expand even further into the global market.

June 23, 2010

Your Contract With Objective-C

Filed under: Software Development — Tags: , — Travis Boudreaux @ 6:56 am

Here’s a simple “contract” that I learned at iPhone Bootcamp from Nathan Eror.

If you get an object from alloc, copy or new, you must autorelease or release it when you’re done.

• If you retain something, you must autorelease or release it when you’re done.

• If you get an object from anywhere else, DO NOT release or autorelease it.

June 16, 2010

iPhone Application Development

Filed under: K-fx² News, Software Development, Uncategorized — Travis Boudreaux @ 7:11 am

At K-fx2, we’re committed to growing with technology to meet our clients needs. We’ve stayed on the edge of emerging technologies, and we strongly believe in the groundswell that is building around mobile platforms.

So a few weeks ago I embarked on a trip to Houston to learn from an expert in the iPhone developer community.  I had the opportunity to be trained for a weekend by Nathan Eror, of Free Time Studios. The opportunity, was worth it’s weight in proverbial gold.

Having tried to learn Objective-C on my own in the past, I found it frustrating, and not worth the energy.  It was disappointing, because I’ve had 5 years of C++ in a Unix environment in college, but found the differences in syntax with Objective-C to be too frustrating.

After the Friday session with Nathan though, which he devoted entirely to language review and XCode power tips, I felt like a renewed man.  It’s amazing what kind of progress someone can make, when they have a knowledgeable teacher, great presentations, and large chunks of time to focus on learning.

Nathan’s explanations on memory management, and the differences between bracket notation and dot notation in Objective-C clicked immediately, where reading documentation behind the late night glow of my Macbook Pro made little progress.

Over the next two days we pushed out 10 exercise apps, and learned the basic concepts that go into developing useable applications. The final exercise app was a culmination of all of our learning, and resulted in an app that communicated with a remote API and displayed that data graphically on a Map using Map Kit.

I personally learned alot that weekend, and I’m excited about the future possibilites of developing iPhone apps.  I’ve grown to appreciate compiled languages again, and enjoy working on such a revolutionary platform.

So what are you waiting for?  Get in touch with us and let’s build the next great app!

November 11, 2009

Smile Stars Pediatric Dentistry Web Site Enhanced by K-fx², Inc.

Filed under: Uncategorized — jenn @ 12:51 pm

Smile Stars Pediatric Dentistry and K-fx², Inc., a local web design firm, launched an enhanced
version of www.smilestars.com, a dedicated group of individuals who trust in the benefits of teamwork
and are proud to consider themselves a “Patient - Centered Practice”. The newly redesigned site
provides great information about the dentistry office, information and pictures of the team and the
doctors that will be caring for your child. There is also a photo gallery of their community involvement.
One of the ways Smile Stars makes things easier for you on your first visit with your child is that you
have the ability to print out your forms and fill them out prior to your visit. Also, you can meet
Jeremiah the frog, by going to the No Cavity Club section on the site; this is a great section for kids.
They can read about Jeremiah, play games and do activities, and most importantly read letters from
the Tooth Fairy. Your child will be asking you to go to the dentist.

August 25, 2009

A Baton Rouge Tradition®, Pastime® Restaurant, Makes its Appearance on the Web with the Help of K-fx², Inc.

After 65 plus years in downtown Baton Rouge, the Pastime® Restaurant makes its presence known on the web at www.PastimeRestaurant.com.  The site tells the story of Pastime’s rich history and even has a photo gallery of past and present customers and friends.  In collaboration with K-fx², Inc., the Pastime® Restaurant web site was created to enable patrons to easily keep up with bands performing and other events happening at both Pastime Restaurants.  Fans of the restaurant can browse the Pastime menus, download them and even place orders online.  Most apparent throughout the site is the traditional Pastime motto…Good food, great atmosphere, good friends and great history.

In October of 2007, the Pastime was officially declared a Historical Landmark based upon the cultural contribution to the area.  In what began as a small grocery store in the 1920s, Pastime Restaurant has sustained its presence and grown into two successful locations.  The original Pastime Restaurant is located on South Blvd. in downtown Baton Rouge and Pastime Junior on Drusilla Lane in the Drusilla Shopping Center.

August 21, 2009

The Port of Greater Baton Rouge Enlists the Innovative Expertise of two Louisiana companies, K-fx², Inc. and Diane Allen and Associates

K-fx², Inc. and Diane Allen and Associates, a full service marketing and advertising agency, have teamed up with the Port of Greater Baton Rouge to improve the Port ‘s current site, www.PortGBR.com.  The Port of Greater Baton Rouge wants the new site to be a valuable source of information to its employees, partners, customers and the community.   As a leader among U.S. ports, the Port’s objective is to emphasize its importance to the economic development of Louisiana through its strategic location, versatile transportation offerings and shipping possibilities and excellent infrastructure. 

With a combination of innovative and creative design, the Port’s new site will be enhanced by providing a more user-friendly layout, quick informative links, current announcements and more interactive features, such as eNews for registered users.  The web site will also include improved features like aerial overviews of the facilities and current meteorological data.  The Port of Greater Baton Rouge is expected to unveil its new web site this Fall 2009.

 

 

August 18, 2009

Securing a URL with Zend Framework

Filed under: Web Development — Tags: , , , , , — Travis Boudreaux @ 9:14 am

We’ve been making a big push lately to standard a code base for our cms. One of the things I’ve been trying to tackle was an easy way to secure urls without having to make alot of modifications to our code. Here’s a perfect example:

Let’s assume we have a Zend Module for donations in our base, that allows a non-profit organization to accept donations via Authorize.net. Obviously we want the urls for the donations module to be secure. But what if our client also wanted to accept payments for event registrations. Do we want to hardcode certain urls with https://? No. Do we want to duplicate the code we use in php to redirect the donations module to a secure url? No.

So what’s the solution? A Custom Controller Plugin and the standard application.ini file in a Zend_Framework Application that allows us to define modules, controllers, and actions to require ssl.

An Example application.ini file

  modules.donations.require_ssl = true
  modules.events.registrations.require_ssl = true

The above example shows a snippet of our configuration file. There are three formats that we will use to enforce ssl :

modules.module_name.require_ssl = true

modules.module_name.controller_name.require_ssl = true

modules.module_name.controller_name.action_name.require_ssl = true

Now for the second part, we’ll load this Controller Plugin, that will check if any combination of module, controller and action require an ssl redirect. If we detect a redirect setting in the application.ini for any combination, we’ll rebuild the url with an https:// prefix, and redirect to that url and exit the execution stack.

Custom SSL Plugin

class Custom_Controller_Plugin_Ssl extends Zend_Controller_Plugin_Abstract {

	/**
	 * Check the application.ini file for security settings.
	 * If the url requires being secured, r ebuild a secure url
	 * and redirect.
	 *
	 * @param Zend_Controller_Request_Abstract $request
	 * @return void
	 * @author Travis Boudreaux
	 */
	public function preDispatch(Zend_Controller_Request_Abstract $request) {

		$shouldSecureUrl = false;

                $options = Zend_Registry::getInstance()->get('options');

		if (APPLICATION_ENVIRONMENT == ENV_PRODUCTION ) {

			//check configuration file for one of three require_ssl directives
			//secure an entire module with modules.module_name.require_ssl = true
			//secure an entire controller with modules.module_name.controller_name.require_ssl = true
			//secure an action with modules.module_name.controller_name.action_name.require_ssl = true
			if ($options['modules'][$request->module]['require_ssl'] ||
					$options['modules'][$request->module][$request->controller]['require_ssl'] ||
					$options['modules'][$request->module][$request->controller][$request->action]['require_ssl'] ){

				$shouldSecureUrl = true;

			}

			if ($shouldSecureUrl)	{

				$this->_secureUrl($request);

			}
		}
	}

	/**
	 * Check the request to see if it is secure.  If it isn't
	 * rebuild a secure url, redirect and exit.
	 *
	 * @param Zend_Controller_Request_Abstract $request
	 * @return void
	 * @author Travis Boudreaux
	 */
	protected function _secureUrl( Zend_Controller_Request_Abstract $request){

		$server = $request->getServer();
                $hostname = $server['HTTP_HOST'];

		if (!$request->isSecure()) {
			//url scheme is not secure so we rebuild url with secureScheme
			$url = Zend_Controller_Request_Http::SCHEME_HTTPS . "://" . $hostname . $request->getPathInfo();

			$redirector = Zend_Controller_Action_HelperBroker::getStaticHelper('redirector');
	  	$redirector->setGoToUrl($url);
	  	$redirector->redirectAndExit();
	  }
	}
}

Hopefully this has been helpful. Feel free to reuse part or all of this code in your application, though we do not take any responsibilities of its use. We’d love to hear your comments and get some feedback.

July 28, 2009

Louisiana Association of Museums Launches New Site Developed by K-fx², Inc.

Filed under: Featured Clients, K-fx² News — muriel @ 5:50 am

Louisiana Association of Museums (LAM) recently launched its new web site, www.LouisianaMuseums.org.  This interactive resource, designed by K-fx², Inc., compiles a comprehensive directory of the museums and historic sites in Louisiana for local residents, tourists, and for museum professionals.

 

LAM’s web site showcases the K-fx² team’s creativity and innovation through its unique features, such as the interactive map of Louisiana, which allows you to plan a trip by clicking on different areas of the state to see all of the museums and historic sites within your desired radius. The web site also provides news and professional development opportunities to the museum community, hosts classifieds and forums for its members, and is the hub for museum events and exhibits.

July 17, 2009

K-fx², inc. – Employee Promotion

Filed under: K-fx² News — muriel @ 7:36 am

Wes Ratcliff was recently promoted to IT manager for K-fx², inc.  Ratcliff has 12 years of programming experience and previously served as lead programmer.

July 14, 2009

Ready…Set…Click to Olympic hurdler Lolo Jones’ Web Site

Filed under: Featured Clients, K-fx² News — muriel @ 6:03 am

K-fx², inc. was exclusively selected to design the web site for Olympic hurdler, Lolo Jones.  Keep up with her quest to become the greatest female hurdler of all time at www.runlolorun.com.  Learn about the track and field star’s background, accomplishments, goals and dreams.  Sponsorship information is also available on the site.

Older Posts »