Website Design and Mobile Application Development in Austin, Texas

PHP

Export to CSV invalidates session on CodeIgniter

Export to CSV invalidates session on CodeIgniter

I ran into an interesting problem I’d never seen before this evening. I’m not sure if this is a problem isolated to the CodeIgniter framework because I’ve seen a few forum posts on Sencha/ExtJS reporting the same type of issue. But this was definitely happening for me on CodeIgniter.

The situation was that every time a user exported some data from one of my web applications to csv in Internet Explorer 8 and then opened that csv file, it would invalidate their session.  So, for example, they were running a report in the administrative console that provided results in an html table.  On all of the web applications that I write, I always give the user the ability to export … Read the rest


Helping a Local Charity to Help the Homeless

Helping a Local Charity to Help the Homeless

Mobile Loaves & Fishes is a local charity here in Austin, Texas, that is working to help the city’s homeless population by developing a series of schemes that bring sustainable, long term changes to their lives in ways that simple hand outs never can.

From the humble beginnings of having one minivan delivering meals to whichever men and women they happened to find on the streets, the charity has grown to now include several ongoing projects that form one whole, bigger picture, with the emphasis on building both a community and a future for Austin’s homeless.

Mobile Loaves & Fishes Projects

Map for tracking daily food deliveries

The list of current projects includes the following:

Community First! – a 27-acre … Read the rest

Posted on March 9th, by Peter in News, Portfolio, Web Applications.

A website for 2bme – team building and much more

A website for 2bme – team building and much more

Halfslide Design was recently tasked with the creation of a website for2bme, a local startup here in Austin, Texas, whose aim is to provide ongoing, online leadership training and team building through type theory.  The site is 2bme.cc

The website offers each user the chance to create a personalized profile, which serves as a hub for them to facilitate their personal development. This process begins with a quick 4-question personality quiz to determine their type, which is key to how the site will interact with them later.

As 2bme’s system requires daily interaction with the site, it had to be both easy and enjoyable to use, and actually provide more than just the stated aim. Customizable soft colors and … Read the rest


PageMill Marketing

PageMill Marketing

Halfslide Design recently partnered with Chris Magdelain at MagDesign to build a new wordpress site for PageMill Marketing. PageMill Marketing is a marketing services and data analytics firm that specializes in helping B2B companies grow their market share. MagDesign completed the design of the site and passed it off to Halfslide Design for implementation. The site uses a custom wordpress theme that is responsive to mobile and tablet layouts. It also includes custom functionality to allow the client to fully control all aspects of the site.

Head over the PageMill and check out the site as well as their services.  We hope to partner with PageMill on future projects as well.… Read the rest


Simple PHP Function for Iterating over Microsoft Excel Column Names

I recently had a need to create a function that iterates over a list of strings and writes them out to a column in a Microsoft Excel spreadsheet that I was creating for a client. In Excel, the columns are labeled A-Z, AA-AZ, BA-BZ, etc… and it continues on.  I couldn’t find any existing functions in PHP that did this, so I wrote my own below:

function column_name($index) {
  if($index<27) {
    $letter = “A”;
    for($i=1; $i<$index; $i++) {
      $letter++;
    }
  } else {
    $div = intval($index / 27);
    $mod = $index % 27;
    $letter = column_name($div);
    $letter.= column_name($mod);
  }
  return $letter;
}

Read the rest

Toyflow

Toyflow

Toyflow.com is a new Canadian-based deal of the day site that sells toys and other children’s products to customers in the United States and Canada. The daily deal site has now been through two phases of development and has been in production selling products for the last month.  The site was designed with some very unique features in addition to the typical features you would see on a deal of the day site.

  • Since the deal of the day site sells its products to customers in the United States and Canada, there were some customizations that needed to happen to accomodate the diverse customer base.
  • The site is fully internationalized when it comes to language and can be configured to
Read the rest

Ranking Teams based on Win/Loss/Tie Record using PHP’s usort()

For a current project I’m working on, I’ve had to rank a list of teams based on their win-loss-tie record within their division acheter viagra en ligne. I searched the web but was unable to find anyone who had done this and posted an example so I figured I’d post my process. If you have corrections or improvements for this, please feel free to comment.

The code assumes that you have an array of team objects that each have a win/loss/tie property. As an example, I’ve got an array of five teams such that:

Array
(
  [0] => stdClass Object
  (
    [id] => 1
    [name] => Team 1
    [wins] => 5
    [losses] => 6
    [ties] => 3
  )

  [1]

Read the rest

Storage Strategies Now

Storage Strategies Now

Storage Strategies Now, an Austin, Texas based storage analyst CALLOS” firm, recently requested Halfslide Design perform a renovation of their website www.ssg-now.com. The stated goal behind the redesign was to both provide cheap jerseys sample content to those who are new to their service as well as provide a protected area for content that requires a subscription to cheap jerseys access. The client also wanted to improve their search Hubert engine optimization by providing more content targeted around their service in html format rather than in pdf or doc attachments.

Halfslide Design redesigned the site to run on a customized WordPress platform similar to what the Halfslide Design site currently runs on.  We had to make several changes based … Read the rest