Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
devTea219106y@AleCx04 some guy from the same place also shouted javascript is old and jquery is the modern one
-
neoxaero1156yWe had a developer that thought a 200 response was enough to verify authentication on login. Not surprised at all.
-
@human06 so... MVC without MVC? They're not using models, and they're also not using controllers?
-
jjimenez1606yWe had a MVC variation in my first job, in which the controller for some reason was some sort of composition of another MVC, adding a lot of useless layers.
So the code always ended up being a huge pile of function calls whose only purposes were calling the next one with no additional logic. And we were actually forced to coding that way.
We called it MVW:
Model
View
Whatever this sh*t is -
jjimenez1606y@irene yeah and to make it worse, it was java, so every layer was actually a separated class in a separated package, that for every entity in our code. And they actually ended up blaming the developers for the huge amount of almost empty files.
The simplest folder structure of one view was like:
- user
- view
- view
- model
- service
- controller
- controller
- service
- repository
- model
And all the logic was in view/view and controller/service, the rest were just a single line call to the next one... -
@jjimenez sounds enterprisey enough that some useless tie drone would cash out big money for that shit.
-
I've met people saying they use REST API when they were doing RPC and I questioned them and said that's RPC, and they replied, "well it works". Bird brains man..
-
leanrob35636yWhen you walk into such circle-jerk type of situations you basically have 2 options:
1. Try to interfere and explain to people the error of their ways. Inevitably getting “dirty” (reads as “covered in jizz”)
2. Slowly, without making any noise, walk backwards out of the room
Personally like option 2 better, but to each their own... -
nam178875046yThe other team has a point, what they wanted to do is to make an application entirely in JS and to perform web request to azure.
The "functions" are exposed publicly, yes, your MVC controllers methods exposed publicly too. -
@nam17887 I'm not an expert on Azure, but I'm assuming by the above information that these Azure requests would require some kind of auth (though OP can correct me if I'm wrong). If so, that would mean tokens and/or other credentials would be publicly visible.
That said, it seems they're still not following the architecture they claim to be following. -
nam178875046y@NeedsMoreDivs Correct, however they are nothing different to the cookies, which MVC websites use to store your identities so they know who you are.
-
Did you just start walking around pouring petrol on everyone and everything immediately after that conversation? ⛽️
So I have been temporarily assigned to new team .. moving from mainly backend.. to help the Web team ..
Me .: Aight guys .. what we working with ?
Team: MVC .net
Me: awesome ..
Team: but we have our own version of MVC .
Me : 🤔 your own MVC ?
Team: yeh we only buse controllers.. but no models at all ?
Me.: 😲 So where does the view gets its data from ?
Team : from Azure functions apps.
M: how ?
T: ( in very proud tone ) .. we use js to call all functions.
M: so why not just use HTML pages . Why MVC then !
T: coz MVC is modern architecture design.
M: but you not using it and all of calles to the functions are exposed publicly.
T: 🧐 THIS IS MODERN DESIGN !!
M: 🤪 My bad .. what the hell do I know ! I only been developing MVC applications for 7 years !!
Please tell me more about your " Modern Design "
🤮🤮🤮
rant