Author Topic: A plan: need input  (Read 528 times)

Offline junktown

  • Level 1
  • *
  • Posts: 1
  • Reputation: +0/-0
    • View Profile
A plan: need input
« on: May 17, 2009, 11:01:22 PM »
Hello,

I am trying to design my own browser game but I am not sure exactly which tools to use. So far I am familiar with html, javascript, ajax, php and MySQL.

Recently I started writing my own little code for authentication and creating initial database tables for new users but suddenly I am not sure that I am on the right track at all. Am I using the right tools?

The model looks like alot of css and javascript built into php documents. On the other hand I am using javascript forms with ajax to pass information to external PHP files. Is it better to use external .php files or should I write it in the same pages with the javascript that is using it?

Is there any way besides cookies for a user to login and keep the same session while using various pages that all contain data pulled from DB which is specific to that user?

Can anyone point me in the right direction? concepts that I will need to be using consistently? I know I must be missing alot. I don't want to keep coding when I haven't got a solid idea of what I need to write yet.

Offline karnedge

  • Level 17
  • *
  • Posts: 170
  • Reputation: +4/-0
  • ctrlHack provides the server, you bring the skill.
    • View Profile
    • ctrl://Hack.game
Re: A plan: need input
« Reply #1 on: May 17, 2009, 11:35:54 PM »
A great place to start maybe the Tutorial at BuildingBrowserGames.com. Click on the PHP links for each row to go through em all step by step. That entire tutorial will put you in the right direction.

There are also numerous links in these forums as well that will help you expand on your site.

Hope that helps... definitely helped me.
ctrlHack - Hacking simulation RPG in development.
Latest blog: Back on Track
bbgFramework v0.1.3

Offline blindangel

  • Level 8
  • *
  • Posts: 36
  • Reputation: +0/-0
  • I'm not the girl your mother warned you about... h
    • View Profile
    • Draconus Majorus
Re: A plan: need input
« Reply #2 on: June 06, 2009, 07:49:44 AM »
well the site building browser games is great to get you started but why not try using zend framework as it has been designed in php and you can just take the sections of it you want to use, it has the auth function, db functions, and over 90 other functions too, and great documentation and support forums and bloggs

check out:

http://www.zend.com

for all you need to get going and it means no new language to learn like with smarty, although smarty is also very good, or zend merges with smarty well to create a very good mvc framework
Dont knock on deaths door... ring the dorbell and run away, thats what I do!

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal