Tagged Questions
2
votes
2answers
62 views
optimizing webapp workflow
I have a debug and a live server running a LAMP setup with some python scripts. By now I'm working with eclipse and Expandrive (via SSH) on the debug server. Whenever I want to release new code on the ...
6
votes
6answers
486 views
Best way to parse a file
I'm trying to find a better solution for making a parser to some of the famous file formats out there such as: EDIFACT and TRADACOMS.
If you aren't familiar with these standards then check out this ...
6
votes
4answers
219 views
Design pattern for handling a response
Most of the time when I'm writing some code that handles the response for a certain function call I get the following code structure:
example: This is a function that will handle the authentication ...
3
votes
3answers
458 views
How should I design a PHP class autoloader?
I have a fairly simple folder structure where the main classes are in a folder, and any classes used by those classes are in a subfolder with the same name as that class.
/exampleClass.php
...
5
votes
3answers
934 views
PHP web application architecture/design [closed]
I've been thrown head-first into a new job developing web applications in PHP. I'm by no means new to PHP, but I haven't developed large-scale applications before. I'm wondering how to structure my ...
1
vote
3answers
224 views
Designing my password class(es). How to split it up?
I've inherited a custom made authentication system that needs some refactoring. I'm not quite sure what the best way to split it up the password section and could use some help.
The password ...
1
vote
1answer
94 views
What's the best way to design a data and php model for a multi-account system?
I'm doing some high-level sketching of a system that will require users to register, when they do they get an account and can invite others to that account.
To be clear, an account would be similar ...
1
vote
1answer
144 views
database api commands
As I am developing database api for a project.
I am developing commands for getting data from database.
e.g. i have one gib table so command for that is
getgib name alias limit fields
if ...
0
votes
0answers
399 views
Why facebook has chosen php? [closed]
Possible Duplicate:
Why did Facebook, Wordpress, vBulletin use PHP/MySQL?
Why facebook has chosen php? is it more scalable? its one of the biggest portal, so it must have not been decision ...
4
votes
3answers
211 views
how to write a scalable/flexible php system?
I am trying to write a joomla type system in PHP to improve my coding/programming skills
i need guidelines/rules of thumb to do that.
what i basically want to do is create a index.php file which ...
20
votes
10answers
801 views
What is good (neat) architecture in programming?
When I build a simple website, e.g. a contact book where I can add, delete and update contacts, I create an index.php file where a user, if he's not logged in, is requested to enter a password and if ...
1
vote
3answers
115 views
Escaping strings in database layer
Can escaping functions (e.g. mysql_real_esacpe_string ) be moved down to the database layer where we would loop through all parameters passed for all queries and escape all strings. Would that be a ...
5
votes
6answers
425 views
Are there any good books on how to design software?
I've been programming for a while and I think I write clean code. But I do this by hacking away, tinkering and testing things until I feel good about the functionality, and then coming in and ...
3
votes
3answers
164 views
Web design standards
While designing web pages using php, are there standards that should be followed? For example suppose there are two pages. First page looks like this:
<body>
<div>
<?php include ...