Coding problem - console error

Out of context: Reply #7

  • Started
  • Last post
  • 7 Responses
  • vaxorcist0

    This sort of thing is either pretty easy or rather hard..... pretty easy once you understand the mindset of the CMS, but often rather hard until you wrap your head around the CMS's way of thinking....

    Also note that some CMS's make most things easier than just coding plain old PHP/mySQL, but sometimes they make certain things even harder than plain-old hand-coded PHP/mySQL because you have to make your code work with all sorts of dependent other stuff....

    so, yes, it's a learning curve thing, and if you find somebody who really knows silverstripe CMS, it may take them 30 seconds, but that's because they know the inner workings of this CMS... it may take you a few weeks to get the inner workings of SIlverstripe, or any similar MVC CMS....

    NOTE: If they're using MVC, or Model View Controller, you may have to modify 3 different files to change something, and you may MESS UP other stuff that depends on the Model or Controller you changed.... so, I'd clone the setup before you start messing around a whole lot....

    Yes, it seems insane at first, but after a while it makes sense...the Model View Controller idea makes some things much easier than coding from scratch, but only if you're doing stuff that the original coders had planned for, if you're doing something completely different, it's like trying to make a submarine fly at 30,000 feet...

    Good luck! Keep the client expectations rational, it really helps!

View thread