|
Written by Todd Nestor
|
|
Thursday, 21 July 2011 04:53 |
|
So in web development it is the most effective to separate design elements (XHTML, CSS, XML, etc.) from the programming (PHP, JavaScript, Perl, etc.). Typically you use some sort of template to do this, there are a variety of free ones out there (most popular probably being smarty for PHP programming). I use PHP for most of my web applications and I came across a free templater years ago (htmltmpl created by Tomas Styblo http://htmltmpl.sourceforge.net/index.htm) that I use.
I took this templater and added into HerculesCore, a framework I have been working on for several years now, originally inspired by a former boss Alma Tuck that I worked for at Core Logic Systems. He had created it, although the version I just released includes almost none of the original framework. So to follow this tutorial you are first going to need to download and install the framework. So if you haven’t done that yet, you’ll need to go follow that tutorial first, its called Installing up and Getting started with HerculesCore, it’s a short tutorial, you should be able to knock it out in 10-15 minutes.
|
|
Last Updated on Thursday, 21 July 2011 05:07 |
|
Read more...
|
|
|
Installing and Getting Started with HerculesCore |
|
|
|
|
Written by Todd Nestor
|
|
Thursday, 21 July 2011 03:07 |
|
Installing and Getting Started with HerculesCore
HerculesCore is a framework I developed that originally started when I worked for Core Logic Systems (no longer in business). My boss there had developed what he called core, and he had been planning to release it open source, when the company went out of business I started changing core into what it is today, a fairly straightforward, easy-to-use framework that allows web developers, experienced and inexperienced alike to program faster and more efficiently. There is very little of the original framework left other than the “using” function, but we’ll get to that later.
First thing you need to do is download HerculesCore. Next unzip it and place core in the folder you are going to use it in.
|
|
Last Updated on Thursday, 21 July 2011 03:22 |
|
Read more...
|
|
HOW TO CREATE A PIVOT TABLE IN MS EXCEL |
|
|
|
|
Written by The APPS GUY
|
|
Thursday, 26 May 2011 06:17 |
|
I know there are a few people out there that would like to get the most out of their MS Excel without a lot of work. One of the features that I have found easy to use and very helpful in performing data analysis and displaying it in a non-cluttered manor is to insert a PIVOT TABLE. A PIVOT TABLE is a data summarization tool….it allows you to reorganize and display data in different ways.
Creating a Pivot Table is a very easy process and depending on what version of Microsoft Office you have the menu options may be different but the overall process is the same. For the purpose of this instruction I am using Microsoft Office 2010.
Step 1 Be sure that your data is in Excel and has Column Headings (e.g. NAME, PRODUCT, DATE…ect)
Step 2 Open the workbook where your data is stored.
Step 3 Select a cell in the current sheet (but off to the side of your data) or in another sheet of the same workbook (this is where your PIVOT table will be displayed. I suggest the PIVOT TABLE be displayed in a separate sheet) 
Step 4 Once you have decided which Sheet and Cell to display your data in, left click in the cell (If this sheet contains other data be sure you leave at least two rows empty above and as many rows below as you think you will need…because the table may override this information if it needs to expand to display the amount of data selected)
for the last 3 steps click on Read More
|
|
Last Updated on Friday, 29 July 2011 02:44 |
|
Read more...
|
|
A Brief Lesson in Coding Efficiency |
|
|
|
|
Written by Todd Nestor
|
|
Sunday, 03 July 2011 23:06 |
|
Alright, so today we are going to compare two sets of code that do the exact same thing: generate prime numbers! Exciting, right? I use this example because my boss at one of the first software development companies I worked for gave me a challenge, to create a prime number generator in seven lines of code or less. I did so, and now its down to one line (kind of), but is it really the most efficient code? Not at all, but it does its job.
I also created another version of the code that runs much more efficiently, but it is significantly longer. Let's begin.
I want to start by showing you the one-line code and explaining it. Here's that code:
This one generates all prime numbers between 0 and 10000.
<?for($i=2;$i<10000;$i++){for($x=2;$i%$x!=0;$x++){echo$x==($i-1) ? $i." ":"";}}?>
|
|
Last Updated on Tuesday, 05 July 2011 04:40 |
|
Read more...
|
|
|