Construct that is used as template for creating new objects. Class describes the state and behavior that the objects of the class all share.

learn more… | top users | synonyms

5
votes
2answers
435 views

Splitting code, am I doing it right?

I would like to have my code reviewed, I'm trying to get a general model I'm using for my stuff going and I don't want to keep using wrong or inefficient code if I can. My file structure is like ...
2
votes
2answers
3k views

How do I make a generic class in VB.NET

I am been using a code pattern for recursive database actions in my applications. I create two class objects of a database table, singular one (e.g Agent) for holding single record with all fields ...
1
vote
2answers
428 views

Staticton (Single static classes) in PHP [closed]

I know singletons are held in poor regard, but as I am writing my web app I feel like some completely static classes would be helpful. Of course, not much should be static, but what about things ...
8
votes
2answers
363 views

Object Paradigm for PHP, Practice in Design

I've created and I manage a point of sale web application built in PHP which has thus far followed no clear guidelines or methodology for development; it's operation is completely procedural. In turn, ...
7
votes
2answers
318 views

Any way to improve the performance of this PHP class?

I have been developing this class, and was wondering if anyone had any thoughts on how I can improve the performance of it. <?php class Something { private $APIUsername, $APIPassword; ...
10
votes
5answers
1k views

ASP.net c# class design (simple)

Here's a class I'm designing: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Data; using System.Data.SqlClient; namespace Artworking.classes { ...

1 2 3