{ Lekker Logic }

Technology Solutions

Quick Intro: Page scroll position indicator gives the user a sense of where they are when scrolling through a page/article.  Working Demo

I’ve been using nProgress.js for years now on AJAX triggered pages/events as it offers some really nice loading effects on dynamic pages.  This gives you a YouTube style loading page indicator on static or AJAX data loads.

(more…)

Lekker Logic 2800 Views
Tags: HTML, Javascript, jQuery, Programming, Tutorials

Quick Intro: Drag and Drop, re-ordering of HTML Table Rows.  Working Demo

I love simple, easy things and love even more when those things involve programming!   When needing to re-arrange table rows in an HTML table via drag & drop UI/UX, it doesn’t get much easier than jQuery UI.  This basic library make this task so quick you can move on to more pressing issues.  Here is the working demo. (more…)

Lekker Logic 30251 Views
Tags: Bootstrap, Javascript, jQuery, Programming, Tutorials

Here is a quick little snippet on refreshing a PHP script into an HTML page element using AJAX and automating it with setInterval:

(more…)

Lekker Logic 7690 Views
Tags: AJAX, functions, HTML, Javascript, PHP, Programming, Tutorials

I picked up a couple Raspberry Pi units recently to mess around with and start working on some automation projects as well as learn more Python programming.  These things are awesome!  One setup I wanted to incorporate was connecting a PIR motion sensor into the Rpi and use it to trigger a text/SMS message to my phone.

(more…)

Lekker Logic 9960 Views
Tags: Automation, GPIO, PIR, Python, Raspberry Pi, SMTP

For a recent project (PeakVibe.com) there was a need to create a tag system to link various data together.  In this case it was event data with various tags associated to each event.  Since each event could have many tags and each tag could have many events a many-to-many relational database schema was needed.
(more…)

Lekker Logic 12208 Views
Tags: Database, Database Design, Many-To-Many Tags Schema, MySQL, Programming

Here is a neat little PHP function that pulls out the most common words from a string and ranks them based on frequency used.  A preset list of words in an external .txt file provide the “skip word” reference, meaning they are not counted as a common occurrence.  This prevents the, a, and etc from showing up.

(more…)

Lekker Logic 5986 Views
Tags: functions, PHP, Programming, Snippet, Web

Finished up a recent project called PeakVibe.com!  This site uses a few technologies but the heart of it is Angular JS and PHP.

PeakVibe’s focus is on things to do and places to go while visiting the mountain towns and resorts of Colorado.

(more…)

Lekker Logic 2636 Views
Tags: AngularJS, API, PHP, Projects

One of the best programming tools I discovered recently was a PHP micro-framework called SLIM.  Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.  I am a sucker when it comes to translating data into usable formats for consumption by great user interfaces. (more…)

Lekker Logic 10432 Views
Tags: API Services, CRUD, Database, MySQL, PHP, Programming, RESTful API, Slim Framework, Tutorials