|
In PHP, what is the best practice for laying out the responsibilities of a Db Abstraction Layer?
Is OOP a good idea in terms of performance? How much should be generic object code, and how much should be very specific functions?
Started by Nelson LaQuet on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Even if you write a wrapper class for one of them, the heavy lifting will... .
I would suggest checking out PDO and MySQLi.
A DAL is not a simple thing, especially since so many security concerns are involved .
There are already some great solutions for this.
|
|
I'm new to development on the iPhone. Just about every sample project (as well as the default project templates) have one or more delegates and controllers. Can someone give me a breakdown of what the delegates are responsible for vs. what the controllers...
Started by DaveJustDave on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Delegates objects are most often used to receive asynchronous....
The simplest way I can think to differentiate the two are:
A delegate is a protocol (interface) that defines methods that an object implements in order to receive specific messages from other objects .
|
|
I've just read some related questions that came up when I typed the subject, so I'll try not to repeat those.
I've recently started revisiting a learning project I started about two or three years ago - a C++ port of a Mega Man engine. Yes I used ripped...
Started by Tesserex on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I guess I would start with seperating the responsibilities of the Player class to seperate classes.
|
Ask your Facebook Friends
|
I have a prototype with a Form class which auto-generates an HTML form, and now I am plugging some processing functionality into the prototype.
Should the same Form class that generates the HTML for the form also process the form? Doing so would make ...
Started by Chad Johnson on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Distinct responsibilities:
A structural representation of the form, complete with field definitions, etc of these responsibilities together, however - I think you'll find that separating may create value, including.
|
|
I have a 'Purchase Order' class. It contains information about a single purchase order. I have a DAO class for database methods.
Where should the responsibility reside for the methods that will load and update the purchase order?
Should the PurchaseOrder...
Started by Gern Blandston on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Should you move to a different vendor, etc, you'll have an easier time making changes to the access without potentially interfering with the business... .
I would definitely separate the "business logic" (PurchaseOrder) from the database interaction/access .
|
|
I saw some previous posts here abour Software Architect role so decided to ask this question.
About 8 months ago I ended up as a senior .NET developer position on a brand new ASP.NET project building web application from ground-up for a large federal ...
Started by Victor on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Find out his role / responsibilities and understand.
Do not need to know application level details.
|
|
This sounds like a very dumb question but I was just wondering what are the exact responsibilities like when anchoring, and tying up?
Started by Krabby Patty on
, 11 posts
by 10 people.
Answer Snippets (Read the full thread at gcaptain):
Are the exact responsibilities like when anchoring, and tying up? You're a mate, so you're supposed a very dumb question but I was just wondering what are the exact responsibilities like when anchoring.
|
|
Maybe I want to stir the pot a little...
How do you generally split household responsibilities with your SO?
How do you expect things to change after baby?
Bonus: Do you "baby" or "mother" your spouse now?
Started by Starry Again on
, 22 posts
by 19 people.
Answer Snippets (Read the full thread at thebump):
How do you generally....
I hope DH picks up my slack a bit since I know BFing can probably be about it .
How do you generally split household responsibilities with your SO?
We split things pretty equally that will shift a lot of the responsibilities.
|
|
My Girlfriend and I are moving in together, and are planning to get married in a few months.
We are thinking of a marriage out of community of property with accrual. We both own property and earn roughly the same salaries. How does one share financial...
Started by anon001 on
, 15 posts
by 14 people.
Answer Snippets (Read the full thread at za):
As long as the responsibilities and expectations are clearly mapped out, it should.
How does one share financial responsibilities? Do you open in other ways.
Property and earn roughly the same salaries.
|
|
I'm in my late 20's and my long term boyfriend and I have decided we want to move in together. We have basically been living together at my house for the past 8 months although he has also maintained his own apartment. He paid for his place, I paid for...
Started by thisisanalter100 on
, 20 posts
by 15 people.
Answer Snippets (Read the full thread at chronofhorse):
Pay 1/2 of joint living costs.
The Modern Man's financial responsibilities are:
1.
|