View Posts
-
PHP - Client -> API model
I recommend throwing out your current model of web programming and use a Client - API model. I personally think this is a better way of handling requests. Basically, you code PHP and it implements a REST API that serves data in whatever format you'd like (e.g. JSON, XML). Once you've got this part down, you can leave the templating to client-side Javascript. PHP now takes on responsibility of serving data to the client.
Why do I recommend using client-side JS for templating? You will be using the client's br... -
Looks like I'm never switching to NoSQL
For big projects anyway. MySQL Cluster 7.2 is out and it looks like I will be considering this thing for Project Flare. What is Project Flare you say? It's just a code name and I'm working on it. -
Set Up Dev/Staging/Production Repositories using Git
It appears my last post was somewhat well received, so I think I'll follow up with the things I did.
Imagine that you are me and you'd like to figure out how you imagine updating code from server to server. That's right version control is the first thing to come to mind. Well, which one should I pick? SVN? Git? CVS? Usually, i'd say SVN because TortoiseSVN makes it really simple to connect and update your repositories (refer to my SVN post), but I've been in the git mood, so I decided git would be the perfec... -
Using Git with a Dev/Staging/Production Workflow
Update: Here is how I did it. Setup dev/staging/production with git
Looks like I decided to attempt creating a private git repository on my server. It works, but that was after so much frustration is figuring out how to follow the workflow from my last SVN post. Essentially, I wanted a simple dev -> staging -> production workflow. Considering how I've done it so far, it is a little more complicated than I thought, well in git anyway.
I created a repository in a separate folder from the production directory, w... -
IDEA: Development Environment to Production
This is just an idea to improve my workflow. Yes, I still use SVN! As much as git is new, hip and cool. Its just like how I still use MySQL vs. NoSQL. Don't be a hater. Use what you need now and adaptively change later.
So far, I've been looking/thinking about how to setup a development to production environment and I've come to a interesting solution. My development environment I have a Windows PC (Apache and TortoiseSVN installed) with all of my projects then I have a Virtual Machine with linux installed w... -
Project Flare #3
I’ve been reading research papers mainly on social networks, recommendation, and that sort of blah. A lot of it is social science, but statistics plays heavily on understanding what they use and why. Good thing I don’t need to be a social sciences major to grasp what they are saying though! Anyway, collaborative filtering will play heavily on what I’d like to do. Tagging is most important to the idea. I mean sure there are many tagging websites and ker-blah, but not the way I’ve thought it up so far. I’ve a...
-
Project Flare #2
Alrighty, I've written down some thoughts and drawn some mock ups of how I'd like it to look and so far... it looks like it was built for a tablet. Very simple interface and you'll see how simple it is once I get a prototype working. I envision the home page as using a traditional layout, but when you login that's where the magic happens. Instantaneously, we break from the traditional layout to a content focused layout with ZERO on-site menus. The menus will come from clicking one button from either side of... -
Project Flare
I've recently found more interest in pursuing my social idea. I should have pursued the first social idea I came up with because Google+ came out 1-2 years after and showed the viability of that idea. The core of Google+ is basically that it is a a cross between Facebook and Twitter along with the idea that your split people up into groups. That's the end of that though, I didn't pursue the idea.
Next up is Project Flare. This idea builds up on my previous ideas, but this time I am envisioning building it up... -
Windows 8 and Secure Boot
ArsTechnica reports that Microsoft is mandating secure boot, but as one commenter puts it “it will go largely unnoticed because no one cares.” I fully agree with this statement. Most people are not technical people and will have no idea what secure boot is. On top of that, it is REQUIRED FOR ARM systems only. Most ARM processors, I bet, will be on tablets. Why would you or anyone else who gets a Win8 tablet feel the need to enable/disable secure boot? Linux? VirtualBox is great software. Use it someday.
Shut... -
My opinion on Game Engines
How do you describe a game engine anyway? Is it the combination of graphics, input, physics, audio, networking, AI scripting, and etc.? Think about it. Its weird to me, but I’m starting to think game engines either have different levels that consist of combinations of the above or there is some base combinations of the above with add-ons.
Frameworks. Let’s think about the app space where you create a desktop or web application, but more specifically frameworks. Inherently frameworks make your job easier by c...