C
C
Chvanikoff2011-02-12 01:38:41
Web development
Chvanikoff, 2011-02-12 01:38:41

Development from the end

Greetings, dear Habrasobshchestvo!

Right now I’m working on one project (web) - I decided to try to move away from the traditional development process and try to lead it “from the end” - that is, first I write controllers, models, views, and then the actual implementation of their execution. Well, for example, first I write a controller (examples in php, because development is underway on it, dear)

class Controller_Posts extends Controller {
    public function action_list()
    {
        $posts = Model::select('post');
        $this->request->body = View::factory('list', array('posts' => $posts));
    }
}

And then I implement the Controller, Model, View classes ...

So, in the course of such development, the question arose - does it have any special name? To read about the pros / cons, it was possible (for myself I have already identified some, but if I am not the discoverer of this (which I strongly doubt), then I think you can find out about those that are still unknown to me), to read how effective it is (I have not yet decided for myself), etc.

Answer the question

In order to leave comments, you need to log in

10 answer(s)
A
Aragats, 2011-02-12
@Aragats

The question is really interesting, although I do not do it. But I searched the Internet and this is what I found
goo.gl/HgEOo
Bottom-up programming ("programming from the bottom up") is a software development technique in which large blocks are assembled from previously created small blocks. Bottom-up programming begins with the development of key procedures and routines, which are then constantly modified.
Top-down programming (“top-down programming”) is a program development technique in which development begins with the definition of goals for solving a problem, followed by sequential detailing, ending with a detailed program.
If I understood your question correctly, then you have the 2nd type.
If you didn't, then I'm sorry. It was interesting to search. If my answer is not correct, I will look forward to the correct one.

I
izmalk, 2011-02-12
@izmalk

Well, it's not quite the reverse order of development. It's still planning - implementation - testing. With the proper level of planning, the implementation of this whole thing can go from complex to simple, although they usually go from simple to complex in order to see all the nuances.
I didn’t find any mention of your case on the Internet, but most describe the implementation stage as a set of necessary actions. I think it is more correct to argue that at the design stage, which is always before implementation, we must also develop the structure of the software. If further development (implementation) is carried out from top to bottom, and not from bottom to top (from simple to complex), there will simply be more problems in implementing individual functions (implementing their execution).
Sorry if I couldn't help. The question is certainly interesting, but in all areas of activity it is usually recommended to go from simple to complex.

V
Vladimir Chernyshev, 2011-02-12
@VolCh

If you first write tests to the controller that create fake and / or mock models and views, then there will be TDD :)

I
inittab, 2011-08-17
@inittab

I have been using an IPS monitor for 5-6 years. And all this time he pleases me with the quality of the picture, and the response time, and viewing angles. So as soon as I decide to change to something bigger, I will definitely take the same IPS. For example, something like this: market.yandex.ru/model.xml?modelid=6195361&hid=91052

T
TheHorse, 2011-08-17
@TheHorse

hotline.ua/computer/monitory/cmp/?s=209786-141318

S
Snapp, 2011-08-17
@Snapp

I wanted to come in to recommend my Dell, but his already.

S
Smolka, 2011-08-17
@Smolka

At the beginning of the month I bought myself a second ViewSonic vp2365wb.
PS Perhaps you should postpone the purchase a little? I don’t know how it is in your area, but our prices have skyrocketed. I managed to order for 9700r, now it costs about 11000r.
PPS... the toad crushes me even for other people's money... =)

B
benipaz, 2011-08-17
@benipaz

I've had a DELL 2007WPF with IPS for a couple of years now.
Dell 2209WA do not take. it has a resolution of 1680x1050. but the Dell UltraSharp U2311H would be a great buy.

N
NeX, 2011-08-17
@NeX

habrahabr.ru/qa/4521/
habrahabr.ru/qa/3388/
habrahabr.ru/qa/6020/

K
kostik450, 2011-08-17
@kostik450

Dell 2209WA - $400
Even in Moscow time I had to sweat to find it. But the result is worth it!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question