New answers tagged frameworks
0
What you want is a form of dependency injection.
Try symbolic classes:
namespace Core;
class X { }
class Y { }
namespace MrSmith\Core;
class X extends \Core\X { } // extend specific core class for Mr. Smith
define('CLIENT_NAME','MrSmith');
$x = new \Sym\Core\X();
$y = new \Sym\Core\Y();
Have the autoloader see "Sym" in the namespace ...
6
There is a simple reason why MS does not like this model - if any program contains its own version of the .NET framework DLLs, Windows Update would not effectively be able to supply any security updates / bug fixes any more for the .NET framework DLLs. And this is not a hypothetical issue: every few months, a new patch or security update for the framework ...
2
One thing that I can think of is that a consistent environment exists for .NET applications if the entire framework is installed. That is not to say that most developers couldn't determine which of the .NET assemblies would have to be present in a private deployment scenario. Installing the framework, however, guarantees that a .NET application will at least ...
3
First and foremost, I would look for a framework that
has an active, helpful community
is well-documented
is written in a way you understand
has a history of responding quickly to bugs in general and security problems in particular
It is important that you understand what the framework does. While a framework helps you to avoid boilerplate code and also ...
3
It's a totally different application event process.
PhoneGap uses JavaScript event callbacks that are designed to be generic across multiple devices, whereas Android is activity based which is native to the OS. iOS has something simular but I can't comment on that.
Android knows which activity to start when the application is loaded, and execution of that ...
0
It's really a good question. When choosing the right PHP framework for the job is absolutely critical and a dilemma for a person instead in case of ASP as MVC is there. But now there are large scale enterprise frameworks available for PHP development.
As per my experience, I found Symfony quite useful for large application, although it is slow.
Another one ...
2
At least the S, O, and L in SOLID stand for semantic principles - one has to understand what the code does and what its purpose is to validate those things. I am pretty sure A.I. research has not gotten so far (at least, not yet) to make a computer really understand the meaning of programs. So don't expect anything automatic nowadays.
But you have also ...
1
Even if it were possible, I think the effort might be wasted. What you can do is measure the impact of adherence to the principles has on the maintainability of your code. Coupling, cohesion, and cyclomatic complexity can all be measured by static analysis tools.
Also, if you're using .NET, you might be able to leverage StyleCop to create rules for ...
0
First of all, sorry for my bad English. I am using joomla since last 4 years. I have used it as framework to develop different kind of web sites. There is nothing wrong to use Joomla. It has extensions to create sandbox for custom extensions and it reduce much time. Numerous extensions are available already for free to use. And use can create your own in ...
2
The most used frameworks are:
Zend Framework http://framework.zend.com/
Symfony http://symfony.com/
Both have already a second version out there and a big community supporting them.
Edit: They support almost all your listed features:
data retrieval
in ZF via Table Data Gateway Pattern
Symfony can integrate Doctrine, which is a full ORM
Both are ...
Top 50 recent answers are included
