I have a large website that I have time to convert to a nice custom-framework that I can build to my needs. I want to build my own, and not use something like Smarty because I'd like to...
know how all the guts of it work
cut any and all bloat
learn it, just for kicks
But, after building it in different ways, several times...I keep f...
Hello,
Does anyone know why the favicon dissapears
Background:
I have my site made according to mvc
So, I will have a frontcontroller and a main layout
All the other views will be loaded in the $content variable from the main layout.
The main layout holds the tags withe the link rel "shortcut favicon".
The favicon dissapears when I...
I'm working on the admin section of a site using Kohana. I've created a "admin" subfolder within the views folder to store admin views. I'm also using a modified instance of the Template Controller for the admin section called Admin Template Controller, seen here:
abstract class Admin_Template_Controller extends Template_Controller
{
...
I am setting up a simple routing system for my new custom MVC framework that I am making.
Currently my router class views the URL as such:
www.example.com/controller/controller_action/some/other/params
So, essentially...i've been reserving the first two segments of the URI for controller routing. However, what if I just want to run t...
I've started digging around with using the Telerik Extensions for MVC. They don't integrate seemlessly into my current project, but I could reorganize things to fit it in.
But, I'm wondering if it would be worth it in the end. I've been searching for reviews on the extensions, I haven't seen too many. So I'm asking here.
On their websi...
Still learning asp.net and mvc, please be gentle :)
Currently setting up an MVC view to consume and display an RSS feed, using this method described on CodeProject.
What I want to do is when no items are returned for the RSS feed, display a custom piece of text, eg something like the following piece of psuedocode.
If ViewData.Model.It...
Hello All,
I am currently working on my own implementation of MVC php framework. I would like to know what opensource extentions/libraties are good enough to be added to a common php MVC framework.
Thanks
...
In MVC/MVP style applications that have Controller/Presenter classes within the Client Application assembly and then a Services layer assembly containing Service classes, where do people recommend storing their unit tests?
For ease of execution it'd be nice to have a single Test assembly that references both the Client and Services, and...
I have several web projects built with Symfony v1.0, but I am excited by the new features in Symfony version 1.4 (Improved security, native email support and improved performance).
How can I continue to develop my 1.0 projects but also create a testing environment for version 1.4?
...
Hello All,
I have been working on my own php MVC framework. I just wanted to get your ideas on how to profile all the queries run on my framework. I have done other profiling stuff but i have no clear idea of how to profile the sql queries too for the users to see if they turn profiling on.
Thanks
...
According to Sun and Msdn it is a design pattern.
According to Wikipedia it is an architectural pattern
In comparison to design patterns, architectural patterns are larger in scale.
(Wikipedia - Architectural pattern)
Or it is an architectural pattern that also has a design pattern ?
Which one is true ?
...
I am trying to migrate to zend framework. Should each webpage be a Controller or an action.
What is the advantage of having multiple actions. Can they talk to each other? and whats the best use of Action helpers and View helpers.
Please guide me on how to start on the framework.. thanks
...
Our requirement is something like this.
We are building a multi-tenant website in ASP.NET MVC, and each customer should be able to create their own users as per predefined user roles.
We are thinking about to create a schema for few tables which would be common for customers. So customer can login to system according to their schema lo...
I am upgrading my site from some old spaghetti coding to some nice, clean custom MVC structure (and having fun learning in the process).
On my page to display blog listings, I had a function that would help my dynamically build HREF's for the a links - to keep track of applied filters via $_GET...hard to explain...but here it is:
/* AP...
My situation:
The user is presented with a table or list of items. Beside each item they can click a checkbox to select it, and then at the bottom is a select box which says "With selected items...", and things like "delete", "move to project", "download", etc. You know the deal - bulk operations. Some of the operations will execute imm...
Hi,
I am trying to understand and practice the MVC-pattern to improve my development. So I started refactoring an application I once wrote and have progressed so far. It is completely clear how my model looks like and also the view is ready so far. But now I am searching for a good practice to design my controller layer.
I have created a...
I have a mvc view made up of a matrix of radio buttons. Each row of radio buttons is in a group and represents a typed object from the model. Using the guidance of various blogs and postings I have successfully bound the posted form results to the typed model array in the controller action, however cannot seem to successfully reverse t...
I'm writing my first application with Zendframework.
My question is about the Model–View–Controller (MVC) architectural pattern.
I currently have a model with refer to a database table.
Here's the classes that I currently have :
Model_Person
Model_PersonMapper
Model_DbTable_Person
Now, I see a lot of examples on the net, but all of...
Hi All,
I was wondering if it's somehow possible to add another abstraction controller between AppController and my app's other controllers?
So that my controllers, e.g. UsersController extends SecureController
and SecureController extends AppController.
Also I want to be able to have other controllers extend AppController directly:
So...
Hello,
I was wondering if any of you fine gentlemen would be able to recommend some of your favorite open source php applications in terms of code quality and proper programming technique.
Though I have been using frameworks for quite a while, I would love to see how professional applications go about this.
I'm particularly interested...