5

I am writing a simple MVC Framework with PHP for learning and have a lot of small questions which are probably stupid or just typos...
Where is the best place to ask those?

I don't want to spam SO with this because most of the time I just have an error and don't even know what to ask.

Comments
  • 1
    Just google the error messages?
  • 0
    @plusgut This doesn't work most of the time as the errors are mostly because of logic I don't understand correctly. I know exactly what the error is meaning but I don't understand the logic why it appears (sound stupid I know...)
  • 0
    @Dollique
    How do you not understand the logic you are writing?, this disturbs me.

    Unless your using a template mvc??

    My curiousity wants to see what your doing🧐
  • 0
    @C0D4 haha yes this disturbs me too, to be honest... Well right now it is because I used a Dependency Injection Container and I don't yet fully understand how it works.
    It doesn't work with the MVC I wrote and I don't know if it's because of my messy code or maybe because I use namespaces and the DI Container does not use them... And I am really confused on how that Reflection class works etc. Etc.
  • 2
    @C0D4 why does that disturb you? That's quite normal for beginners. At the start it's a game of try and error.
  • 0
    @Dollique at a very high level, I think of reflection as a engineer that takes a construction apart then compose a recipe / tree for replicating it..

    One layer after the other and recursively so for dependencies.. :)
  • 0
    @lotd I found out that in php it returns the documentation of the code.
    I think I know what the problem is now, yeah 😃
  • 1
    @Dollique it can parse docBlocks, yeah.
    But honestly, it's something I'm particularly fond of.

    I prefer just using typeHints a million times over that..

    Lol I had some serious headaches debugging docBlock reflection in typo3.. :p
  • 0
    So I now know the problem (it is namespaces as I thought) but now I have to change the DI Container to work accordingly... Damn this is hard to understand.
Add Comment