Trying to understand why the last guy who worked on my current project gutted out the framework specific data layer and replaced it with component-level ajax calls

  • 1
    Depending on the component I'm not above giving a component a one off api call for a very specific case just in that component ... provided if it is likely to stay there.

    But otherwise wut.
  • 0
    @N00bPancakes @sadProgrammer

    If there is a why there is most certainly a lack of descriptive VCS message and documentation.

    Revert of changeset. Unclear intention.
  • 0
    Most of the time the answer is time
  • 0
    Random guess:

    Sometimes you end up having write some code outside the framework.

    Later on as your framework specific code requires an update you figure ”Why do I even need this framework stuff? Why not consolidate ans do the same thing here as I do outside the framework?”
Add Comment