Search found 7 matches

by InterHat
Wed Jun 06, 2007 9:35 am
Forum: PHP - Theory and Design
Topic: An exploration system for my game.
Replies: 26
Views: 6921

I'm not sure if this helps, but here's how I did it for my senior project. I wrote the basis of a graphical Master of Orion 2 style game in PHP using AJAX. I can send you a link with an account if you want to take a look, it is live. There's a scheduled task that runs on the server with a set interv...
by InterHat
Mon Jun 04, 2007 11:37 am
Forum: PHP - Theory and Design
Topic: Implementing AJAX support in an MVC Framework
Replies: 28
Views: 7242

I'm pretty new to MVC so take my advice with a grain of salt. Shouldn't your existing front controller just be routing and dispatching? That's all you really need for this. You shouldn't have to reload ALL of your framework, just the front controller and its routing and dispatching pieces and then t...
by InterHat
Fri Mar 30, 2007 10:53 am
Forum: PHP - Theory and Design
Topic: Using an ORM solution like Propel
Replies: 3
Views: 1137

Using an ORM solution like Propel

I'm not ENTIRELY sure of what I'm doing just yet with OOP PHP, but I'm trying my best to do things the right way. Previously, I had a number of functions used in various places throughout the application. I kept them in common libraries that were accessible through the _autoload function. The detail...
by InterHat
Tue Oct 03, 2006 9:12 pm
Forum: PHP - Theory and Design
Topic: Error Handling within MVC
Replies: 2
Views: 2423

Error Handling within MVC

This is my first time using MVC and I've decided to try out the Zend Framework. I'm in the design phase of a medium sized web application, and I'm having some difficulty braining through how some things connect due to my inexperience. I've created a number of views, and my controllers seem to work j...
by InterHat
Wed Feb 22, 2006 4:04 pm
Forum: PHP - Code
Topic: [SOLVED] New ways of newbies(me) breaking sessions!
Replies: 4
Views: 409

Since you've set your install to only use cookies if the cookie doesn't take php will issue a new id. You may need to alter the path and domain settings you've changed back to what they were. I am a moderately sized pile of dumb, removing localhost from the session domain fixed everything. Thanks a...
by InterHat
Wed Feb 22, 2006 3:40 pm
Forum: PHP - Code
Topic: [SOLVED] New ways of newbies(me) breaking sessions!
Replies: 4
Views: 409

That got rid of the error, but I still have a session problem. (I added some code to output the session id) "3bbb4bm4frbk39jonsekee8t2crq4ktu You have viewed this page 1 times" "gfbbmnhsovhfutv9r8ss41ssch8dcarr You have viewed this page 1 times" On refresh, it sees me as a new us...
by InterHat
Wed Feb 22, 2006 2:20 pm
Forum: PHP - Code
Topic: [SOLVED] New ways of newbies(me) breaking sessions!
Replies: 4
Views: 409

[SOLVED] New ways of newbies(me) breaking sessions!

I'm a perl programmer mostly and I dabble in ASP.net. I'm just getting into PHP, but I have a tendancy to break things... a lot. I've fixed most of the problems and everything was running smoothly before the holiday. However, I must've been bashing away at the keyboard in a semi-drunken haze on frid...