I have:
class A{
public $name = 'A';
public $B;
public function B_into_A($b)
{
$this->B = $b;
}
}
class B{
public $name = 'B';
public $A;
public function new_A_into_B($a)
{
$this->A = new $a;
}
}
$a = new A;
$b = new B;
$a->B_into_A($b);
$b->new_A_into_B('A');
Is this a goo...
Hi, in the holidays break (and probably for longer) I'm going to program a community website for my sports team.
I'm not very keen on the frameworks available and I'm mostly looking for something that's both simple, fast and flexible.
I have a few requirements:
Easy user interface.
Creation of events so users can sign up for them.
...
Is it possible to use Haml instead of a templating engine with the Catalyst web framework?
...
So, I've got this big project written in PHP and Javascript. The problem is that it's become so big and unmaintainable that changing some little portion of the code will upset and probably break a whole lot of other portions.
And I know for a fact that I'm really bad at testing my own code (as a matter of fact, others point this out dai...
Django is to Python as Rails is to Ruby. What is the current front-runner for Erlang?
Recent Erlang web activity has resulted in many new frameworks but they are all still moving targets. ErlyWeb is very far along but now seems to be dead.
If you were to invest significant capital into a new web product (i.e. not a hobby, you use you...
I was looking around to see if there is an equivalent to django/RoR in java.
I found:
Play Framework
Grails
Does anyone have ever tried those frameworks, or do you know any other?
Are they faster than django/RoR?
...
Is there a way to handle security with google guice (like with Spring Security) ?
...
We are trying to convert out old school client server application into a N-Tier application with synchronization and offline support using all Microsoft technology (we are a total .Net and SQLServer shop). We want to focus on writing business logic instead of spending time on pluming, so we are going to use as much existing Microsoft pl...
I'm developing out replacements for our company's web service stack.
The current stack was developed using SOAP and had some REST endpoints manually hacked in. It's a maintenance nightmare.
I can use any language, tech, and framework as long as it it fits the goal.
Requirements are:
easy for serving up RESTful services
uses an ...
Hello There,
I am currently working on my own implementation of a MVC framework. I would like to know how to add language layer to my framework so that it could support multiple languages other than english. What's the role of unicode in this case?
...
Is there any css/layout way we can have equal height columns via 960.gs
right now i have been using jquery equal height script
Any other recommended solution
...
I have been learning ASP.NET MVC in the last few months and I think it is a great improvement over ASP.NET. For me personally, it is a joy to use (as opposed to ASP.NET WebForms :)) I started wondering how the .NET world managed to live so long without any such framework (at least not wide spread and supported by Microsoft as there may b...
I'm trying to use a View helper inside a view.
I put
echo $this->formCheckbox('foo');
in the view, but it errors out and tells me FormCheckbox.php /application/modules/user/views/helpers/FormCheckbox.php can't be found. Why isn't it loading Zend_View_Helper_FormCheckbox in /Zend/View/Helper? The manual states
The default helper p...
hi there
working on an iphone app and separate framework.
the separate framework is for an API that i'm building for use in multiple future apps.
this api now needs to reference resources (images). what i would like to do is keep the resources WITH the API framework as local set of resources.
i followed the instructions from http:/...
I have a set of plugins, a plugin framework for common code and a host app. These are each in separate Xcode projects (including separate projects for each plugin). In the end, I need to be able to click build and run on the host app project to build all the plugins, the framework and host app, package them up and launch the app.
I kno...
We have been going back and forth a lot around our office lately about abandoning a proprietary framework that was developed here a couple of years ago and move to something that is larger and community supported.
Our current solution was built to include only the things we need and is very flexible, by flexible i mean that it is loose...
Hi,
I'm pretty much new to PHP and still learning as I go. (aren't we all)
I'm working on a Web 2.0 startup and I wonder what PHP Framework should I use.
It must be free and of course enables commercial use, supports AJAX, DB, etc.
And I would prefer that it didn't force JSON when using AJAX, I think XML is better... I don't know :)
W...
Hello, i'm currently constructing some kind of mini-framework for a project, and come up with this solution. I have tried many of them, but this seems to me very convinient (code is shortened for simplicity):
# Basically it's just a Registry pattern
class Repository {
private static $objects = array();
public fu...
I would like to get started with PHP, and 5.3 release seems to bring many nice features (namespaces, lambda functions, and many others).
I have found some MVC frameworks, and some of them support only PHP 5:
PHP Frameworks
PHP MVC Frameworks
Model–view–controller on Wikipedia
but can anyone recommend one of those MVC frameworks that...
I am compiling a framework that depends on another framework.
I have trouble when distributing my framework to other users that doesn't have necessarily the same versions than on my machine.
It seems that xcode creates a "hard-link" to the last version installed on my system.
"otool -L" on my framework reports a link to :
gecode.framewo...