A
A
Anton Medvedev2013-11-04 21:52:37
PHP
Anton Medvedev, 2013-11-04 21:52:37

Diploma topic: creating an ORM in PHP using the latest innovations?

You need to write a thesis. Came up with a topic: creating an ORM in PHP using the latest innovations (mixins, late static binding, generators, finalizers).
What do you think about this theme?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
S
Sergey Lerg, 2013-11-04
@Lerg

A good ORM is not at all easy to implement. Yes, and their number is not so small.
Interested in PHP?

N
Nikita Gusakov, 2013-11-05
@hell0w0rd

Write. The doctrine carries a bunch of bugs and inaccuracies. For example, it is virtually impossible to use the date type as a primary key without redefining the type to your own with __toString. And it also doesn’t have a convenient query-builder, I think it can be done a hundred times better with traits) Just don’t do AR, it’s obviously not so interesting)

S
Sergey, 2013-11-05
Protko @Fesor

since when does php support mixins? traits != mixins, and using them to implement orm is somehow silly.
As the topic of a diploma, well ... against the background of those that I have seen, it is still normal, although somehow boring.

J
jonie, 2013-11-05
@jonie

And what is the scientific value of a diploma on such a topic? Here, for example, such “diplomas” were quickly “wrapped” ...

L
lionsimba, 2013-11-05
@lionsimba

with the latest innovations...

… into what? what innovations?
I would be specific.
And instead of "Creation" can be "Development"?
"Developing an ORM in PHP using One, Two, Three."

A
Alexey Prokhorov, 2013-11-05
@megahertz

I would call it "Developing an object-relational mapping tool in PHP <here in a nutshell about the main difference from others>". From a technical point of view, crap, but in the scientific community, the name is usually reduced to a similar form.
From the literature, only PoEAA pops up in memory. In general, it will not be difficult to fill a list of sources on the topic, mainly from English.
If you get a really good solution, be sure to write a topic) Plus, you can include it in the publication.

O
OnYourLips, 2013-11-05
@OnYourLips

Will do. It doesn't matter what your topic is. Even 1+ 1 = 2 will do if you can defend well.

V
Vyacheslav Plisko, 2013-11-06
@AmdY

Take tests for the diploma directly from the doctrine site, there are links to the description of technologies and patternons.
New - the main benefit of anonymous functions. On the example of AR, something like this - User::with('comments', function(Query $query) { $query->where('active', '=', 1); })->get();
We inject some code at the request execution stage, before you could use eval, create_function or build your own config parser (Symfony still eats this cactus, just not to use closures).
Doctrine traits are used to extend knplabs.com/blog/knp-doctrine-orm-behaviors/ , but they're actually replacing
class User extends TraitName {}
with
class User { use TraitName; }
Moreover, they are not runtime as mixins, and in the same first doctrine without trais, using Templates was more pleasant.
And in general, new items are mostly syntactic sugar, conceptually they do not change the development. It's better to just write about ORM and DDD, as megahertz advised

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question