PHP – Internal APIs/Libraries – What makes sense?
I’ve been having a discussion lately with some colleagues about the best way to approach a new project, and thought it’d be interesting to get some external thoughts thrown into the mix.
Cataloging events, projects and tasks: Is SQL appropriate?
I have this idea for a database: it would hold everything I “need to remember”, and allow future coding projects to access the information. These future projects include a day-planner and historical analysis of what I’ve been up to.
How many make threads to use?
When I (re-)build large systems on a desktop/laptop computer, I tell make
to use more than one thread to speed up the compilation speed, like this:
Allow app analytics opt-out?
Given that mobile app analytics reporting can cost a customer data traffic that, unlike a web app, use of the mobile app may otherwise not require, should a mobile app provide a user accessible setting to allow customers to opt out of app analytics collection or reporting?
Are Persistence-Ignorant objects able to implement lazy loading?
Persistence Ignorance is an application of single responsibility principle, which in practice means that Domain Objects (DO) shouldn’t contain code related to persistence, instead they should only contain domain logic.
Composition vs. Inheritance [duplicate]
This question already has answers here: Designing a library that is easy to use: composition or inheritance (2 answers) Closed 11 years ago. Here’s what is given: public interface Request {} // there are 20 subclasses of Request public class CreateUserRequest implements Request { @NotEmpty public String userName; } // request processor is a thing […]
How can I create a software patcher for OS X?
I’m building some software for OS X that isn’t distributed through the Mac App Store. My software allows users to download different modules uploaded by various people too.
Is it recommended to use DocBlock even if I’m not using phpDocumentor?
I’m developing a simple website for a client.
Alternative to XML / XSLT for artifact generation?
The scenario: A system needs to produce a variety of artifacts to present to end-users during the normal course of business. Examples of these artifacts would be permits, invoices, or receipts — imagine any online app that gives you one of those “print this page for your records” pages. I’m working on a system that […]
Is this an assembly language?
In my childhood I used to program on an MK-61 Soviet calculator. It had four operating registers (X, Y, Z, T) and 15 storage registers. A program could have 105 steps.