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
Search - "#mvc"
-
Code review titles by year:
1990 - your code is using to much memory
1995 - your code is not running on window 95
2000 - your code is slow
2003 - your code don't have tests
2005 - your code is not 64 bit
2009 - your code is not using mvc patters
2010 - your code is not horizontal scalable
2011 - your code should be written in js
2015 - your code is not mobile ready
2020 - your code is racist24 -
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 "
🤮🤮🤮25 -
This genius made his very own super-flexible-and-versatile-never-seen-before-mvc-framework, with no documentation about the code, instead of just donwloading and implementing a popular one.
He left the company.
I maintain it.
Fell my pain.18 -
At the peak of the dotcom boom of the early 2000s I had been hired above my skill set because recruiters were desperate to fill seats. I had a pulse and could code even a little so they hired me.
I was the senior web developer on an agency contract with a major corporation working on an ASP (pre ASP.NET) website. I had hired a temp to help me with the workload and one day, in exasperation at my spaghetti code and non-understanding of MVC concepts, he threw his hands in the air and exclaimed, "Do you even know what you're doing?!"
Not having the type of personality to give any subordinate a dressing down for insubordination, I just felt awkward. He was right, of course. I used that as impetus to study more and attend conferences. I'm still a below-average coder because my brain struggles with math and logic. A lot. But that definitely took me down a peg. All those recruiters treating me like I was hot snot on a silver platter when I was really just a cold booger on a paper plate.4 -
Fuck the incompetent and "pretentious psuedo devs" !!
I have been developing a web portal for a student club for this really big company (as intern) and then they assign this fuckin group of these 4 stupid intern devs to work with me !
The fuckin tweked my code and redirected the CONTACT FORM to the fuckin LOGIN CONTROLLER !!
Then these sons of Einstein inserted dummy users without a username and password into the fuckin production site !!
Now each fukin time someone submits contact form is redirected into some random user account !!
Who the fuck needs Hackers when we have these legendary coders -_-11 -
Recently I tried to apply for a job and the company sent me a task to complete. It was on Java, write an app to sort input file with ability to choose a method and dislpay it. GUI with Swing or JavaFX. They said normally it will took 8-10 hours to complete it and they wanted to see, what I can do in 4hrs. So after 4 hrs I've done~75% and sent it and after 2 more I've sent the whole app with monkey-proof protection (validations, prompts, etc). So total of 6hrs. I've followed MVC structure and implemented OOP principles.
They liked it and this Thursday I'm having an interview 😊
Wish me good luck :D6 -
First time dealing with front and backend web programming. Any advice or tutorials that can help me get on the track with good MVC? I hate having a giant discombobulated mess of an index.php file19
-
Hello again devRanters! This is linuxxx again. A quick update regarding the privacy site!
Right now we're up to the following:
Ewpratten
- Converting what we have right now on frontend to Bootstrap.
- Working on a page with a description as to what this is going to be exactly.
linuxxx (me)
- Converted the static stuff we used before to a simple MVC based PHP web application.
- Created a DB scheme for the custom CMS I am going to write for this.
- Starting to work on the custom CMS right now!
We'll update as soon as we've got a well working description/introduction page :)
We won't be creating rants every day/new tiny feature/change or anything but as this is our first productive night, it seemed like a nice idea to update what we already got done/started on :).
Stay tuned!26 -
Legends -> I: Interviewer
I: what is mvc architecture
Me: model.. view.. controller... and blah blah
I: mvc is not an architecture.. its a design pattern.. architecture is blah blah
I: srry U r rejected.. god bless you
Me: 😥😢
after 1hr
Me: googled 'Is mvc a design pattern or architectural pattern'
Google: shows stack overflow link
Stackoverflow: mvc is architectural pattern blah blah... accepted answer
Me: hopeless about my future
GOD BLESS THE INTERNET and SOFTWARE DEVELOPERS17 -
I developed a simple scholarship management system for my school using Laravel, MySQL, jQuery and Bootstrap, I did it for free since college students from my country have to pay social service to get their degrees. Everyone in the scholarships department seemed to be really happy with my work and they evaluated my social service with 10/10, but yesterday they asked for one last favor: to go talk to the new social service guy who'll be supposed to maintain my project, a mid 30's dude who was really pissed off from the beginning because he wasn't even able to deploy the project, he wasn't even able to clone the project from Github. Ok, so I tried to explain to him the tools I used and how the project was structured, but everything I said seemed to piss him even more, so I stopped and had a chat like:
Me: "Look man, do you know or at least have basic concepts of PHP and MVC frameworks?"
Guy: "Yes, but I'm a project manager, not just –despectively– any programmer, and you didn't write proper documentation, it's impossible to deploy your project with the manual you wrote, I cannot work like this".
*We go to their computer and I clone and setup the project in 3 minutes.
Guy: "Yes, but I still don't know how the project works, I need everything documented. If I have to change something, I don't know where to look.
Me: "Man, that's why asked you about knowing PHP MVC frameworks".
Guy: "I cannot work like this, nothing is documented, I don't even know what's that software you're using *points at Sublime Text*. Or tell me, can you arrive at a place where they expect you to work with something you don't know and they have no documentation?"
*At this point he was really pissed
Me: "Well... Dealing with non-documented software is what I do for a living"
Guy: "I don't know what companies you've worked for, probably not big ones..."
Me: "Well, I actually work for *I mention one of the biggest music apps in the country*"
*Guy ironically laughs
When I gave my feedback to the lady in charge of the department, I told her that this guy was really pissed off at how things were done and that I wasn't so sure of him being capable of maintaining the system. She told me not to worry, that the guy became a well known asshole in the office only after a few days, and that she'll probably have to find something else for him to do. It'd be hilarious if this guy ends up capturing scholarships in the system I made.4 -
I'm working on the project with the weirdest combination of technologies ever:
Vue.js on the frontend, FORTRAN 77 on the backend. :D
(Plus a thin Spring MVC layer that converts the f77 routines into REST API)6 -
"WTF IS THIS?"
Exclaimed the developer that had never bothered to learn proper architectural patterns such as MVC in his web development are, failing to grasp the folder structure that was open in front of him, gasping at those strange php files that contained not only namespace declarations....but requires, uses and GASP! CLASSES!!
"That is Laravel my dude, built that in Laravel some time ago. Been running without an issue ever since." I mentioned as I reminded him that i had provided documentation had he ever needed to update or work with the application(currently it just needed a static page, which is why he had the app open in his editor)
See children. This is why you don't just learn a tool and never bother to learn something else.
Y'all should have seen how confused this dude was.
Das what yo dumbass gets.
OAN I am getting placed into more hardcore Business Intelligence roles.
The ammount of statistics and overall math required is....
Damn near 0. Data Scientists are full of shit. Anyone in an analyst role is full of shit.
I would know.
I IS one.13 -
My tech stack progression:
Started with PHP without any frameworks, using a homegrown MVC architecture. Used to use `mysql_` functions everywhere. And only jquery + vanilla CSS in the front end.
Then moved to use PDO functions in PHP and Backbone.js + Less CSS in the front-end.
Then moved to Django in the back-end. Did not like Django very much as it is too opinionated and not flexible (although it's damn good for rapid development if you buy into their type of things).
Then moved to Flask + SQLAlchemy and using a home grown architecture. This is a sweet spot for me in terms of back end and stayed in this spot for the longest time.
Moved to Postgres from MySQL as I fell in love with Postgres.
Then learnt React+Redux. Liked it. Made most sense to front-end development this way. Moved front-end stack to React+Redux.
Learning Haskell and been working with Scotty and eyeing Servant for a while now.
Let's see where it goes from here.
PS: this is my personal journey through various tech stacks in various products at various companies I have worked. I'm not talking about moving a product through these many tech stacks. That doesn't make any sense.9 -
Same situation as my previous rant.
Was building the dynamic page loader thing (basically mvc part) but it just DIDN'T FUCKING WORK.
As a last resort I chose the views to render based on a few if-else's 😅
Hacky as hell but it saved me from doom! -
Junior coder says validation is not needed on asp.net mvc form pages because it is not in the requirements or part of the definition of done. Wants to argue about it. Refuses to do it. Says I am over optimizing or some shit like that. Good luck with that. If you can't figure that one out or listen to feedback perhaps you should become a project manager not a programmer.11
-
Bugfix. About two years ago. Old C# codebase, MVC project... A fucking piece of it was sending money to the wrong Dynamics account, FOR TWO FUCKING YEARS.
Anyway...4 -
> be me a 23 y.o intern
> two years on self learned MEAN stack
> first day of intern<
> boss: we need you to become an iOS intern
> me: *whut*
> me: *thinking swift syntax is similar to JavaScript*
> me: OK, in swift ?
> boss: No, in Obj-C
> me: *fuck*
> spend 2 days to familiarize with Obj-C
> boss: Here's a bug, solve it.
> me: OK
> me: *checking their code for the first time*
> me: *fuck, fucking huge*
> me: *open up bug related ViewConttoller*
> me: *fuck, 6k lines of code*
> me: *fucking MVC*
> spend 2 hours to fix the bug <
> boss: you did great ! awesome
> me: *heh*
> boss: *announce to everyone* from now on INTERN will take over the project.
> me: *whut*
> boss: here's our roadmap plz implement features
> after 3 months <
> me fixing bug <
> me do feature development <
> me write shitty code <
.
.
.
repeat, life as an intern6 -
"Don't bother spending time learning MVC. We'll never use it here."
o_O
Well, that was 4 years ago, I'm still working here, they're not, we're using MVC.5 -
Mid-Friday: Boss: Start programming this application.
Me: Cool, how will it be setup? what lang-
Boss: Everything's already setup, just start programming in PHP. Check in and make sure it's done by Wednesday morning before 9.
Mid-Tuesday:
Me: Cool, it's done. Had some trouble with connecting our database to the clients, some permissions were conflicting.
Boss: Now I need you to pull it, publish it to our other azure portal, change it to ASP.NET Core 2.1 MVC and install it to teams. Also change the database to MySQL.
Me: I thought everything was already setup.
Boss: things change.
Me: Cool.
*Pulls an all nighter*
Me: Something isn't right...
Wednesday
Me*hasn't slept yet*: It's done.
Boss: Why do you look so tired?
Me: I was working last night
Boss: Well you shouldn't do that.
Me: The deadline is today. only way it was going to get done before 9 was to do it last night.
Boss: Doesn't matter.
9am Meeting:
Boss: it was easy, no hassle, it's up and running.
Me: no hassle?7 -
!rant
This might be the most ambitious project I've ever started up till now, teaching my girlfriend everything college isn't.
As some of you may know my uni isn't the greatest and lacks in professor quality, my girlfriend (who's taking the same bachelor) knows this and when she knew I was starting a new little side project she wanted in.
At first I was skeptical, this could be just an excuse to spend more time with me, so I told her:
"if you really want to then I'm all for it, it'll be done my way and the first few weeks will be tough, however I promise by the end of it you will know 10x what you do now"
She agreed and so our journey began 3 weeks ago, my goal: make a kick ass project, do it in record time and teach her enough to cope with a IRL job.
I've setup the project so by the end of it she is well versed in the following: scrum, Django, MVC, python, HTML + CSS3, git, GitHub, PostgreSQL and Docker. In about 4 to 6 months.
We are into our third sprint this week, she had two small breakdowns because she couldn't believe how much she was missing out and felt she lacked talent, this is our third week and I'm glad to see that she's actually enjoying herself.2 -
So, my UpWork account request is rejected, with a reason that
"already many freelancers with a similar skillset to yours".
In skills I entered
"AngularJS, ASP.NET MVC, .NET Framework, C#, jQuery, Semantic UI, Bootstrap"
Then I resubmitted the request with by adding blockchain and Ethereum.
Again rejected.
What should I do 😫
I guess I never can start freelancing.21 -
Wordpress does not suck. If you know how to work it.
Past period I saw so many rants on WP. My rant is that it is not 100% WP fault. Yes there are seriously structural problems in WP but that does not mean you cannot create top-notch websites.
At my work we create those top-notch WP sites. Blazing fast and manageable. Seriously we got a customer request to make the site slower because it loaded pages to fast (ea; you hardly could see you switched pages).
- We ONLY use a strict set of plugins that we think are stable, useful.
- We have everything in composer (and our own Satis) for plugins.
- We use custom themes & classes. Our code is MVC with Twig.
- In our track history we have 0 hacked websites for the past 2 years.
- Everything runs stable 24/7
- We have OTAP (testing, acceptance & production environments)
- We patch really fast
These are sites going from $15k++ and we know our shit.
Don't hate on WP if you have no clue what you are doing yourself.
That is my rant.23 -
Hmmm there are several
Senior dev would leave for weeks(he was company co owner) and would blame shit not being done on me even though he gave me no access to his codebase. Shit back fired right in his face.
Senior dev called me an idiot(different company) for stating that I learned about MVC from Rails. I have no clue what triggered that reaction, but the way he said it really ticked me off. It was on a remote position, left soon, the dude was s cunt.
Next goes for my office: we yell random shit all the time, from racist to sexist to all around disturbing because we are constantly unsupervised.
Head of department knows:P he laughs with us. -
TLDR: Skills and background or dedication for becoming a good programmer?
So I almost finished the bootcamp on my company, there is only 2 people. Me and another guy who is from math major. He wanted to learn programming so he applied for the job. He doen’t know sql, any backend language, and not even html or css when he joined. The only thing he knew is for looping and if condition logic. He survived 1 months or so by learning a lot here. C#, .net mvc, sql, decent css and html. I believe he worked hard by learning it by himself. But the company he can’t continue anymore. I doesn’t know the reason but probably because he is seen as not good enough. Sure he is kinda slow when adding some feature to our small project but we need to find how to do it by ourself mostly. Now I’m alone with another few weeks to continue4 -
“sEniOr tEcHniCiaN”: “I don’t know what Blazor is. I write my projects in ASP.NET. You should just use ASP.NET”
Me: …”Blazor *is* ASP. This project is running on ASP.NET 6.”
“seNioR tEchNiCiaN”: “As previously stated, I don’t use Blazor. I don’t care what version it is.”
Yes, this is a real exchange from my ongoing problems with this idiot.
His attitude is what ticks me off the most.
He doesn’t know what CORS is.
He doesn’t understand that “ASP.NET” covers Blazor, Razor Pages, the old MVC stuff, web APIs, and more.
He doesn’t understand the difference between a web request being initiated from the browser via Fetch and a web request being initiated from the server. (“My ASP site is shown in the browser, so requests to the third party API aren’t originating from the server.”)
And yet has the arrogance to repeatedly talk down to me while I try to explain basic concepts to him in the least condescending way possible.
After going around and around in circles with him, he finally admitted to me that “he doesn’t actually know what the CORS configuration looks like or how to modify it, to be honest.”
I just wanna go home.15 -
Inb4 2 question ahead
1. So in another 2 weeks I’ll be getting a new storage to upgrade my laptop, and since I will be developing C# both MVC and ASP.net should I stick to windows or there is a linux distro I could try using. Probably will dual booth if I have to use windows, so friendly linux is nice
2. For the storage I’ll be getting 860 EVO 250gb, any feedback? Also 4gb ram for the upgrade3 -
Went back to KDE over the weekend from i3wm. I was getting tired of having to configure my setup manually everytime I wanted to change a setting, and having things break, and having to bug fix said breaks, while also trying to handle Java MVC and node.js dev work.
Nope. Too much. I want the macOS experience but with the control of Linux. Much happier with KDE. It does use about 720MB more RAM on an average session but when you have 8GB does it really matter?
Now to figure out how to get Firefox to play nice with Plasma, or give Konqueror a spin.15 -
Yesterday, I tried to code without googling to see how far I can go. After 20 minutes of coding I run into a problem. I just couldn't make my angularjs app to work with ASP.Net MVC antiforgerytoken. I tried my best to solve it but no luck.
After 2 hours I finally gave up and connect my laptop to network and search for answer, within a few seconds. Google give my this link: http://ojdevelops.com/2016/01/....
After only few minutes I finally make my code to work. And I realized that there is no way I can figure this things out using only my head. I still need the help of community to get things done.
So my question is. During the 80's and 90's how did the old programmers get themselves unstuck when problem like this arrive?8 -
I used to work in a small agency that did websites and Phonegap apps, and the senior developer was awful.
He had over a decade of experience, but it was the same year of experience over and over again. His PHP was full of bad practices:
- He'd never used an MVC framework at all, and was resistant to the idea, claiming he was too busy. Instead he did everything as PHP pages
- He didn't know how to use includes, and would instead duplicate the database connection settings. In EVERY SINGLE FILE.
- He routinely stored passwords in plain text until I pretty much forced him to use the new PHP password hashing API
- He sent login details as query strings in a GET request
- He couldn't use version control, and he couldn't deploy applications using anything other than FTP4 -
Breakup really kills the mood to work for a long time eh?
I have a multiplayer minesweeper project in the works. It's great, everything is super slick. Using SASS, Node.JS, MVC design, WebGL... It's a super great, modern project and I am very proud of it.
But I just can't continue it. I open my editor and I just ignore it. I play video games, go outside... Anything except code. It hurts to see myself do this.
I have some great designs for it. You're allowed to play anonymously or logged in. VS mode and everything.
I was going to share the discord link when I launched the alpha... But I think maybe I need to start building a community now so that I can gain my motivation back.
Before the breakup I worked on it daily. I was learning new technologies left and right (SASS being the largest, and WebGL is the next frontier)
It hurts to see. Today after I get off work maybe I will try harder.8 -
Today we had our "web technology" University exam. One question was to write a sample html program for our university's website.
I swear I could've built a fully functioning website on MVC and hosted it on some cloud service in far less time than that I spent scribbling 5 pages of writing HTML/CSS/JS so that I can "pass the exam". But nooooo. Our university syllabus takes IE and Java servlets as standard and apparently you get bonus marks if you could implement IE's Active-X on paper.
So much for the future web development4 -
Big rant.
Just finished my first year of uni. I took an extra course on c# (mvc, entity framework) and android development in java. We learned a lot of stuff and at the end of the semester they held a contest. We had to develop an app respecting their specifications and add something from ourselves for extra points. Problem was that we were supposed to work on the project during our finals, which we didn't, finishing uni is on the first place. But we had a week after finals to work on it. I, like many others, slept very littlre during that week, only to work on that app, I worked for more than 13 hours a day to finish it (it was a pretty big app) and I was pretty happy with the end result. Today they were supposed to announce the apps that made it to the final. They just announced that no app deserves to be in the final. They know that we had finals, but that we could still do better. They just peed on our work, probably threw our code away, fucking +13 hours a day, 5-6 hours of sleep everyday, almost no fun for a whole week after finals, and they think no one deserves to win. Fuck them, fuck their shit contest. Fuck you essensys, I hope your devs read this, fuck you bell ends.5 -
Copy paste from the internet, usually stack overflow without knowing what the fuck the lines do.
I saw this girl who was tasked with building a spring mvc application and she literally googled(yeah googled) "spring mvc web app" and copied from the first tutorial site and pasted it.
When errors showed up she copied everything from the second link and pasted it ... Wait for it... Without deleting the old copy but commenting it out so each file had 100 lines of code and 100 lines of comment9 -
- Why don't you use jQuery and Ajax instead of Vue?
- jQuery, nor Ajax, is not really an MVC.
- Yes, it is.
My face: 😟3 -
I use an MVC based framework mostly aaaand I'm very fucking lazy sometimes soooo I just run the db functions in the view very often yeah just because lazy really 😄4
-
I shit you not. This this a job qualifications qualifications entry level on LinkedIn.
7+ years working as part of a development team and with the following technologies:
Node.js Typescript and Java-based, microservice-driven applications using Spring Boot or similar framework
RESTful API design / microservice architectures
MongoDB or any other NoSQL DB
Message queues e.g. RabbitMQ, Kafka etc.
Modern MV*(MVC, MVVM, etc..) frameworks e.g. React, Angular, Vue etc.
JavaScript and design patterns, CSS and HTML
Modern CSS and view libraries e.g. RxJS, Angular Material, Typescript, JS ES6 etc.
Unit and UI testing using third party tools e.g. Jest, Cucumber, Groovy & Spock, etc.
Bachelor's degree in computer science or related field6 -
When I got to learn about json yesterday I hate it cause I need to do extra work to MVC project. But after today the instructor told us what it does, and I love it. Gonna start learning this stuff more tomorrow1
-
So I started in a new job a week ago for a two weeks probation period, im getting payed double than my last job but it's so professionally frustrating.
They use a full php stack with a framework called tinymvc that I never heard of and the last commit is from 2009.
Beside this they implement some sort of "flexible" MVC where a great amount of the logic are inside the views. They have one model for each entity (in theory) but in reality one model have methods for a lot of tables.
Beside this the i18n is done by querying the database for all the translation strings and copying it in every user session, so every session file it's about 400kb where around 380 are duplicated translations.
The views folder is empty because they decided to modify the framework to look for the views in another folder called resource's and the development must be done connected directly to the production database
Above all this shit all the many-to-many relations in the database (MySQL) are handled creating a comma separated field on one of the tables, completely breaking the reference integrity.
So, after a week of work I can't stop thinking who the fuck developed this? In which world this shit is okay? How can I work around this big lake of shit?7 -
!rant I’ve been with the same company for 6 years, but the past few years things have been continually declining. Nothing has been awful, I just feel like there is very little room for promotion, or even worse, knowledge gains (we do a lot of win forms, c# mvc, vb6, sql stored procs). I’ve been so desperate to learn “new stuff” that I’ve been picking up contract work where I can find it (for nights and weekend projects). I’m excited to say that the company I’ve been doing most of my contract work with has offered me a full time remote position! It’s a 30% increase in pay, all new tech (mostly React Native, ReactJS, GraphQL, Nodejs, python, and integration with existing .Net applications)!
Feel honored DevRant, I’m telling all of you before I even share the news with my family (with the exception of my wife)!1 -
I started working for a company something around 1-2 months ago, they said because I don't have any experience with their stack, my salary will be lower than other team members. I said there is no problem and started my work. My first task was refactoring codes that their experienced programmers have wrote. My second task was extracting data layer from views. (They use Laravel and MVC architecture and they get data directly in views, not controllers). So, by end of the month when I talked with my boss I said I should get more money because I was better than your experienced programmers. He refused my request so I said I will not work with your team anymore :)
Anyway, never accept a job if you know you deserve more money than what they say will give you.
P.S: Sorry for my bad English. English is not my native language5 -
Just finished a technical interview for a company that asked me to submit a small app.
I guess when they had written the requirements they had anticipated it to be written as a Webform not as a full MVC application 😂. They had expected me to complete and build this single page app in 2-3 hours not in 14... 🫥 Oops
So here we are reviewing it and asking questions about my setup and what I was trying to do. They were impressed enough with it that one guy even admitted that I might be a better programmer than him. 😳 A very kind compliment, but concerning because he's supposed to be my manager...
All in all got through everything and they want me over to meet the team and see what this shop is all about.
I'm excited, they company is seeing immense growth and I might be able to bring in my expertise to expedite some of it.
Did I mention they use SVN for version control? 😳
They want to get into Git soon but they don't know how to. I guess I'll be leading that cause.2 -
Apparently DELETE and... most of the HTTP verbs are disabled by default in IIS (ASP/ MVC/ Microsoft server software)
Am I wrong in saying that's fucking bullshit?!
Why make an HTTP serving environment with a massive array of tools to help you do everything you need in the web environment... And then DISABLE some of the web protocol??? What???
Not even the obscure verbs. DELETE. Is microsoft the type of bitch to delete using a GET request?? I bet the send passwords as get parameters.8 -
When your colleague just throws all their views into a single directory, despite you having a already created a very methodical and self-explanatory structure.
-
Sorry for the excess of blury.
Coworker thinks running a query on a console is a way to proof all use-cases.
Good lord I'm still surprised at how many bugs I can spot just by overlooking his code.
I mean, what is a MVC?!!SHIFT+1!!!?
Routing is just a file importing a 5000 liner controller that is actually not a controller for it handles http attributes and sends the response themselves.
Models are just good guesses of queries or a shit load of them: see picture attached
HALP5 -
After 2 years in a small company as an all around software developer (started with xamarin for Android/iOS, then Unity, then OpenXML, augmented reality, virtual reality and .Net MVC...yeah all that and lots more) I changed to another company and I'm here 1 month and some days. I am super enthusiastic and I like it here!! They're more specific and professional, exactly what I need at the moment.
What is the problem, you might ask?
I was given some projects, I have done most of the work but now an issue arrived. I did almost everything and now we're waiting for some answers needed before closing the projects. And I get bored. I want to work!! I need to continue the streak! Just give me something and I'll make it happen!! I am boreeed!!
What is wrong with me? Am I buggy or something?2 -
When I was around 13 I started programming html and designing websites on and off over the years. Later during my first year of college I picked up C++ and loved it. I always had this idea that web design was very elementary programming until recently.
I recently got forced into learning C# and ASP.NET Core MVC by my internship. Holy shit was I wrong. Web design is so insanely complex and interesting!
C#, ASP.NET Core MVC, HTML, CSS, JS, Entity Framework Core, and the list goes on.....all to create a single website/web application.
I apologize for my ignorance to the website development community.
I’m so excited to learn all of this! =D8 -
A long time ago, I've started my journey into web development. Discovered HTML, CSS and was great, then it came WordPress.
As a self taught developer I thought this was an awesome way to develop sites quicker, didn't really knew any better and, for all I did at the time it was fine.
Then I discovered .NET and MVC, I was amazed (I kinda love the MVC pattern)
Then it came Laravel, really really liked working with it, felt free to develop isntead of focusing on mundane stuff
Last week a client came by, requesting a site for his business, he wanted all sorts of custom stuff, but he needed it in WordPress because that is what he knows how to use.
After three days of dealing with "the WordPress way" I'm seriously considering doing the whole thing in Laravel and style the admin to look like WordPress. I feel like wrestling a 500 pound gorilla, geez, why do every little feature has to be implemented in such an unnatural way.
I'm grabbing a hook but to hang myself on it5 -
Just "learned" that Singleton is a good design pattern with no disadvantages. And in MVC the model should be a singleton.
FML :^)4 -
It's looks like this weeks "Weekly Group Rant" is trolling all the developers who have side projects that never finished.
1. CMS like WordPress
2. MVC framework like Laravel
3. Android App like Tinder
and... list goes on.
#1, #2 and few others are still stuck on index page.2 -
After few years of coding php, I finally REALLY get the mvc pattern. Never gonna write crappy code again.4
-
When I began my sandwich course in a big French company, I was dreaming about cutting edge stack, rocket computer and stuff...
I was disappointed when I came to my office with an old Windows 7 computer, coding via LANDesk to an old server with Windows Server 2008 on it, with Eclipse ... INDIGO...
I have to use Java 1.7 ...
Tomcat 7.
PRTG for monitoring...
Microsoft SQL Server 2008 ...
One screen...
Coding on a codebase where, indubitably, MVC pattern was just a weird thing in books.
No UT.
Lasagna code.
Well it really disappointed me.
Luckily, the Information Service was very open minded and gave me a laptop with Fedora, 3 screens, updated the servers, and let me update the stack, with Java 10, Angular for the front, they are okay for using Docker.
So ... even if it seems to be fucked up, there’s still hope !!3 -
!rant
Migrated a first customer project from ASP MVC 5 to ASP.NET Core MVC 1.1.
Now running under Oracle Linux, with Apache and MySQL.
It's not finished yet but it runs (and I'm really happy with that). I like the new direction with .NET Core, open source and cross platform :-)3 -
Still can't find a decent node MVC framework. Thought I'd list out all my requirments and what I'd like.
Turned into a readme of me moaning about current frameworks. Not sure I want this on github
Devlife6 -
So I was assigned to improve an existing internal CMS application where they wanted the ability to add extra form applications and restricting them based on people from different departments. As well as include some other improvements like speed as they mentioned that it was slow in some instances.
What I found was the original developer decided to not use any kind of framework and decided to be creative by creating his own MVC framework. With about 300 users in this system and utilising no caching of queries, views, not even using PHP OpCache, even quite a few security holes, I was damn surprised at how this thing was running. I asked the original developer why he didn't use an open source framework and he said that he thought that he'd create something and be the next Facebook.
It was a mammoth task to "improve" this system but the main thing was that I took custody of this project and that I prevented him from trying to make a bigger mess of things for this project. -
Authors of articles that say PHP is past because "it doesn't separate concerns" and "it just spits out HTML within logic"… please don't write about something you don't know1
-
First day of web server programming class. The teacher clearly doesn't know anything. He doesn't even know what the course is about! When someone asks him what it is, he mumbles about "dynamic" something... Then he says we will be using the languages JavaScript, MVC, and PHP. What the fuck. MVC? LANGUAGE?
He then tries to come up with some project we could make, and is not going to teach anything apparently. Keep in mind, most people in this class have very little previous experience with programming.
After not saying anything for a long time, he finally tells us to make a clock in JavaScript. A CLOCK. He is supposed to teach how to make Web APIs and such, but instead, he tells us to make a clock in JavaScript, and that's it.
What. The. Fuck.10 -
this www.xmlrant.com project I created turns to be quite a learning experience
*happy*
Things I did for the first time as part of it
- submitted a public nuget package
- worked with .net core library and mvc application
- integrated mvc's app github repo with continious integration platform appVeyor9 -
You wrote a little simple and clean mvc framework to work faster on some new projects. It can "compile" tags as {% var %} or {% array.key %} in the html code with support of {% for arrayOfHash in hash %} foreach construct and nice features, it can call api's callback in a smart way as ghost methods of a class, he can make routes with the route provider. You tested it and made a little example, after you went in the bathroom you read the index code and you started staring at the beauty and elegance of it. You go to bed happy and sleep. The day after you wake up and realize that it's unuseful because there's a lot of mvc framework that surely are better and ready to use, so you lost useful time. Have you ever feel this way? MVC: Me Versus Creativity.5
-
I had the oppertunity to join a non profit organization to help them automate stuff instead of serving the army. One of their core applications got rewritten like a year ago from a terrible and very old Symfony stack to Laravel / React.
The guys who were in charge for the rewrite didn't really adapt the mindset of either MVC for Laravel nor the component idea behind React. There are a few controllers in the backend, but they sometimes have functions defined which would clearly belong in a model or service class. They rarely defined relationships on models, instead they're joining the tables together for the same effect. The frontend rendering mostly happens in for loops over the returned array from the API instead of breaking things down into little components. This ends in components which have sometimes over 1000 lines with super-nested logic in it.
But I did find my favorite piece of code today in of the controllers. Some many questions ...6 -
There should be a show like Masterchef but for programmer. Where the participants build an mvc product based on the challenge of the day for a certain of time, then they got roasted by the juries if it's bad.7
-
me: I want to look into using an MVC for my websites...
brain: Nope, not gonna happen, we're gonna stick to the simple inclusion of site pieces directly in the front-end code instead.
me: but but but
brain: I SAID NO!2 -
Most recently... taking something previous devs had failed at and knocking it out of the park.
Best example was a statistical regression and graphing tool on ASP MVC.
The devs were doing a massive brute force recalculation on the server layer. It would take 24h then fail to save (Entity framework brute force).
We moved it to the database layer and got it down to a passable time.
The same devs were outputting charts to ie 9, chrome, firefox... same deal, half an hour on the initial request (parser churn in the browser)... then failure.
Again got it into a passable time by switching to web sockets and long polling then outputting 1000 or so points at a time to give the browser time to render.
Taking those two cock ups and making them a workable solution was awesome.
Since then, teaching. We have apprentices, newcomers, interns all jumping in and looking to get working. They're all different, what works to teach one person won't the next, each of them so far has caught on to what I was teaching. It's a proud moment to be able to impart knowledge and see someone pick it up, enthusiastically... it's also awesome to see someone excited about what you do. -
protip for my colleague: putting everything in the users controller and views isn't the proper way to use an mvc framework....
...and duplicating - no, triplicating everything for different types of users doesn't make it any better -
When it took 6 months to design and develop a trade show application in ASP.NET MVC 4, and suddenly - "Make the tablet-optimized version by next week". Wat??
-
Yesterday I've finished the basics of my first api at work. Now going to start on the mvc front end.
Finally learning C# ASP .NET and how to do it right.
So far everyone is happy at work1 -
Shouldn't be there a position called "Document Developer"! who's job is writing documents throughout the whole sdlc processes? Also expanding comments written by the coders. The only skill needed is English MVC framework!2
-
Are you worried about your development environment becoming more and more unstable?
Let me give you an example: I've been (mostly) a .NET developer for about 10 years now and yes Visual Studio crashed sometimes but not very often. Also whenever I found something that seemed like a bug in e.g. the MVC framework I always realized that the problem was in my code. However recently there is a VS update almost every week, and I more and more often bump into open GitHub issues without a fix.
Is this the same with other development environments? I also had a lot of issues with XCode/Swift but I never expected that to be stable...1 -
Instead of using MVC framework (like Angular), my predecessor preferred typing all the data the hard way.... The number of lines were like 2000 (in html...)3
-
A couple of years back I wrote what would be a strong contender for the title: the ugliest mvc framework ever written in php.
Bright side: now I know the pitfalls of mvc very intimately.
Brighter side: never have to work on that code again.
Now I can use ready made mvc frameworks and still know where to look if shit goes south.1 -
I sometimes cry a lil bit when I see php sql code without pdo. Specially when someone mentions a cool example online or a tutorial or whatever. Guys please, get good with sql as well as pdo....please pretty please with cherries on top. While we are at it, it might not be the solution to aaaall problems....but mvc can do wonders for you, it really can. That pattern has been on for a while...learn it and use it well. Also, restful apis are good mmkay? They fit nice with the glory of Node.js and its amazing front end powers and utilities mmmmmmkay?3
-
So how on earth is Strict MVC good for web dev. A variation of MVC works well but strict principles no!!!5
-
I was reminded today why I love programming, starting out HTML 5, MVC in asp.net
Created my display table, was about to look into searching, sorting etc then found MVC Grid.
Everyday is a school day.2 -
"The MVC framework is just a hype, we dont need to refactor our ASP.NET webshop" - former CTO
Dudeee, its a pattern not a framework, ever heard of 'single responsibily' instead of these monolithic 8000 line helper classes!3 -
Two of em.
The first one was making a project following mvc patterns for my last job in which the structure was so easy to follow that my buddy has been able to move allong with it and do more projects out of it. He had a hard time with web development and the boss would have him do it and learn on the job.
To this day that application remains as a "framework" of sorts.
It was made in an unholy comb of js for the front end and classic asp for the backend with restful endpoints and all that shit. I was drunk when I coded most of it.
The other one was during my time in the u.s army. I was a mechanic, a really shitty one mind you. But i knew how to read manuals. All and every task was accomplished to the point in which they had me basically rebuild a vehicle that was beyond salvation. Got it done in 2 months and command was so impressed they set me up as the brigade commander's personal driver and mechanic. I was also drunk for the most part, but then again so where the rest of my brothers.4 -
when you start a project with "im gonna do this MVC thing correctly this time" then after a few days, weeks you realise everything is a controller
am i the only one?3 -
After creating my own PHP MVC framework with Twig as templating engine, everything is now so simple and so fast, I juat cant belive how much I understand now. The development is just so smooth, you know exactly what to do all the time... And for my simple project, it does not even hurt that much to use PHP (and its even strictly typed 7.2, so not that bad). I think that I am in love. ❤6
-
I don't understand Laravel...
I'm just a software undergrad in my final year. Coming from JS side of things (Express, NextJS), I find Laravel so complex, and maybe unnessecarily complex?
Like, when I wanna learn Laravel, I understand the MVC structure. However, going deeper into it, there are libraries/names like
1. Vagrant
2. Facade
3. Artisan
4. Guard
5. Gate
6. Policies
ALL OF THESE
WHICH I DON'T UNDERSTAND HOW IT TIES TO THE FUCKING MVC STRUCTURE
I'm seriously giving up... My courses forces us to learn this framework, and I feel more and more inadequate because I have so many things to learn, including things for my FYP, which involves the use of NextJS. And can I mention HOW EASY AND MINIMALISTIC JS FRAMEWORKS ARE?
LIKE, I JUST WANNA MAKE A STUPID FUCKING APP MAN, WHY MUST I KNOW SHIT LIKE ARTISAN MAKE, WHAT THE FUCK VAGRANT IS, HOW GATES ARE RELATED TO POLICIES, HOW POLICIES RELATE TO VIEWS, WHY THE FUCK DOES FACADE EXIST, and other fucking stupid questions I need to ask in order to utilize Laravel correctly?
Don't even get me started on JETSTREAM, FORTIFY, LARAVEL/UI, BREEZE. Like, WHY THE FUCK CAN'T YOU JUST HAVE ONE SINGLE PATTERN, AND THEN HAVE GOOD TUTORIALS RELATED TO THAT ONE SINGLE THING?
I don't know, am I just stupid? Looking at Laravel, I feel like my braincells die more and more looking at the words used, the unusual terms, and the pain that comes with trying to learn it, because I don't have time. I'm going to fucking fail this subject because I have too much other stuff in my life to learn about.
I'm fucking tired man...35 -
Wow just realized Simpsons had an episode on crypto... all the way back in February.
If only the the MVC would actually mail me my new drivers license that I renewed almost 6 months ago... I could actually buy some... (exchanges require ID verification, so much for anonymity ¯\_(ツ)_/¯)6 -
I spent 2 hours googling and scratching my head trying to implement asyc Tast<ActionResult> on asp.net MVC. I even copy and paste the exact sample code and still didn't work. It turns out that "Visual studio for Mac" doesn't support asynchronous calls.6
-
Nothing better than going in after someone else and trying to debug their code.
It's comparable to sitting on a warm toilet seat. -
God damnit!!
Just got a team assigned for the course I follow and the codebase they work looks like someone shit on the floor and dragged it all over place. No consistency, no clear structure.
The project has to be built in PHP (which is fine by the way) following the principles of MVC. Did I say the codebase looks like shit all over the place? Well that's exactly what it is!!
They use $_SERVER['DOCUMENT_ROOT'] everywhere!! In every fucking file!! Why the FUCK would someone possibly want to do that??
I know I'm not perfect, but what the fuck!!
Now comes the most weird thing. They have to work on a remote server without SSH access, so working with FTP is mandatory. This is because the school won't setup ssh. That's fine by me, but because of that they don't use git!! They upload files directly to the production server. They merge everything manually. I asked why they didn't use git and the answer was so fucking SHIT!! "Because the teacher wants to see who uploaded to the server.."
First off all: what happened to git blame? Second: Later I heard that there is only one FTP account, so all the things they said where just bullshit!!
The fuck.
Tomorrow I'm going to try and convince them to use git..1 -
Ok.. So I applied for a web dev position at a small-to-medium sized company. They had a telephonic round which they were happy with. They then sent out an assignment for me (A simple webapp to complete in 1hr). I did it and sent them the code. Finally, the face to face interview also went well.
At the end of it all, the HR comes back and tells me - "You did not use a MVC framework for the assignment and your code was not optimized for unit testing."
Me - "Ugh. (1) You did not have to call me for the face to face interview if you did not like my code. (2) You specified NOT to use any 3rd party libraries when doing the assignment. (3) You can tell people directly that you cannot afford them."4 -
I discover last week Eloquent ORM.
A php database abstraction layer.
How to make things quickly! Great tools!6 -
As a developer you have to learn!
Your whole fucking work life!
I totally give you credits for being a good programmer in 1990, but you have learnt NOTHING in the last fucking 30 years.
If you don't know anything about MVC....
and nothing about object oriented programming,
and nothing about all the new cool features,
SHUT THE FUCK UP!5 -
I just wanted to create a small website using PHP MVC... Hahaundefined autoloader namespace dependencies toomanysubjects singleton php mvc configuration dispatcher fuckthisshit2
-
Progress.
It isn't much, but the MVC application now reads data from the Linux LAMP server and prints the SQL data back to the client. Biggest hurdle was the fact that my Linux host blew up three times over the week, but hey, how else are you going to learn Linux servers?
Moving into spring framework self-education in July. Hopefully it's a little less painful than Apache Tomcat. -
If the website layout is all broken and looks bad - it’s your fault. You can’t claim “I’m not a visual designer.” No one cares about how slick your MVC style is.3
-
Having to explain to asp classic developers why you shouldn't try to pass a DataRow to an MVC view
😭6 -
I feel like saying "I know C#" (or Java or other similar languages) to mean that you know it as a language as opposed to more of a framework is ridiculous. We should say what programming language level we know (high, mid, low...) since the difference between say C# and Java is pretty much the same as the difference between say WinForms and WPF. Depending on which two languages and which two frameworks you choose it can be a much bigger difference between the frameworks than the languages.
In a CV I'd like to say "I know x-level languages with experience in [actual programming language + frameworks]" instead of saying I know C# and then recruiters and HR people and such assume I don't know Java at all, but know MVC, WebForms and whatever else even though I might specialise in something else and would take me pretty much the same to get proficient in Java as it would take me to get proficient in that framework or something that's technically C#.
It just makes so much more sense to me. As a dev you're supposed to know the principles, the syntax should be secondary. A pointer is a pointer regardless of it's marked with a * or IntPtr or just a value in a register with no special marking that it's a pointer...
Can we, as devs, come up with something like this?2 -
Custom php api for huge known national software. No frameworks. Not following mvc structure. No decent documentation. Im the new dev and like how the fuck should i catch up before they think im not productive2
-
I'm considering going to Linux for my main operating system since windows 10 is bugging the heck out of me. Although, my main IDE is visual studio 2015. What IDEs are out there for .NET development in Linux and what are their pitfalls compared to VS 2015, if any? Are you still able to create all the things in that as in VS? I'm usually working in MVC and ADP.net forms and maybe the occasional console app in C#.3
-
It's my first rant. So please ++1 me.
Now my rant:
In this semester I had a subject about system architecture. In this class, we must learn Java script, C# (and ASP.NET framework ), PHP (and Zend Framework 2), but in the classes is taught only UML and patterns. In the moodle of the subject we don't have any information about any of the languages and if we ask the teachers they don't know anything.
And we need in 4 weeks do a work with a widget in javascript, 2 Asp.net mvc, 1 asp.net web api. All with authentication.
So we are all fucked10 -
Tired of chasing an elusive architecture and finding good community that helps promote it. Basically:
- Not CRUD
- Not MVC
- More like CQRS; commands and queries represent use cases
- Event Sourced; event log is source of truth, everything else is a cached projection
- Functional Domain Design; not DDD; focus on immutability and simplicity
- Functional in general; less OO
- More focus on domain concepts rather than tech concepts
- Domain can be used through CLI, API, or SDK
- UI is just another client to the API
- Authorization is ABAC, graph-based access control
I'm looking for a fucking unicorn.10 -
hmmmmmm let me see.
Web based? lets do web based.
Do something simple like a basic crud app on web api format:
Do it with full authorization and authentication.
Start hard. Do it with pure golang using NOTHING but the std libraries.
Now, do it in a magic mvc framework like Rails or Laravel
Now do it on dotnet core
Now do it in django rest.
Watch the differences in all of them, sell your soul to something and now do it in Clojure. If you do it on a Scheme dialect or on Common Lisp my CMS admin will suck your whatever you have. Dude seems to be pretty good at it, we are trying to keep him from pulling tricks on the street but he insists.
Then add a React client with Typescript to get them basic ass endpoints to display nicely.
It should give you a fuckload of perspective amongst the different tools and way we do things and might make you appreciate the differences in paradigms required(pro points for doing modular in c# dotnetcore using different classlibs for the major points of the application using some crazy pattern like the mediator pattern)
I would hire a mfker that throws all this shit at me on a portfolio on the spot.10 -
I've spent so many years not coding, I could never get over the initial hump, which was definitely a mistake. Mistakes are fine, we all make them. The best thing is to learn from them. On the plus side I've learnt firewalls, Web hosting. Windows domains, Azure cloud, virtual machines etc etc, skills which are hopefully very useful for Dev to have. I look forward to joining the ranks of skilled developers. If you are interested in development but are afraid to take the leap. Just go for it, start to learn and play with it. My recommendation for anyone looking for a starting point is a Udemy course called "The Complete ASP.NET MVC 5 course". I'm not affiliated in any way or advertising it. I just think it's brilliant and you get to the fun stuff really quick. You will start with the basics of getting and setting up visual studio. Also. If anyone could recommend other very good courses they know of I would appreciate it1
-
Started taking an Angular 5 tutorial to see how things were going in the world of Angular JS. I got to say, I am impressed. It makes me think of React in a lot of ways, but with a heavy emphasis on separation of concerns. Particularly suited for those that do not like to mix views with logic. I am liking it and going at it with an open mind although React is still my preferred option. One thing that irritates me is the ammount of "plz sir, can you give code for <insert complex and heavy app that people just do not give for free>".....so annoying.
On another note, I like how Angular brings in the concept of di among other things to the table, what I am trying to get is the feeling of writing 2 apps, there is one thing to have MVC on the background, the other is to have it in the frontend! Oh well, Angular (first edition) was fun and I know it decently well, time to get cracking on more code!! -
I fucking hate asp.net web forms. Today we implemented listboxes, so we expected them to just be a wrapper for HTML listboxes. NOPE! They are simply selects. Why they decided to hijack the name and do this, I don't know. That does explain why they don't have multiple columns like true listboxes.
So glad that for the next project, which we should start by the end of May, we'll be moving to MVC and .Net core. This shit is so stupid!3 -
Things I learned in this 2 month training in an IT company ;
- the way @marcerisson wanted me and my group project team to use Git (and kept yelling at us about ) is actually the proper, professional way of using Git
- there is a difference between an MVC model and a fucking pack of overcomplicated spaghetti code
- commenting your code and naming your variables properly IS IMPORTANT especially when another dev might read it 15 years later (i see you Mr I Name All my Variables With the Name Of the Function and A Number)
- « if it worls it ain’t stupid » also apply in a professional area
- where ´s my fucking rubber duck2 -
"Hey Boss, the things you are asking for will take one year to develop. Replacing the complete UI with another is not an easy task for our software [due to not having MVC or any kind of code modularisation]."
"Yes, but it needs to be done until november"
"We don't even now the requirements, yet. This will force the complete team into weekend and night shifts, to even get a first working prototype done! From my team lead I expect to be defended against such things!"
"Yes, but I need to make money!"
...5 -
So I started at a new company about two months ago. I was hired as a Senior .net developer, which I am well qualified. I also told them that I did MVC but haven’t done react or angular.
So my first project with this company is building a react-native app. (Never done a native app either) The craziest thing is I am the most senior on this project too.
What is even crazier, I still work for my old company on the side, and the only .net I am doing is for them. And even funnier, my old company thought the reason I was leaving was to do more .net development.2 -
I am a fresher in web development. I have already learnt to use nodejs, react, angular, vanilla js and made many projects. Majority of the work I feel is just CRUD based, sure there are some exciting things but they are only of a small percentage.
All that innovation HAPPENING is just glorified way of making a CRUD APP ONLY.
Oh mvc worked great on server side let's bring it to client side
OH mvc is such a mess, who thought about doing this.
Oh react redux is so revolutionary let's remake our app using it,,
Oh es6 fuck yeah, Babel, webpack sure, now my crud app is super performant.
Oh graphql, motherfucking cutting edge CRUD APP......
I need to know what's next, is there any breaking of this cycle11 -
Tried to build a simple HelloWorld with Spring-MVC. After 6 hours still failed to configurate all Tomecat, Ant and Spring files...1
-
Tbh this is more about education in general... Introduce the same system i had, no fixed lessons just a project and a time frame. Eg : create your own MVC framework and a site to show it off
Time frame : 5 weeks
(dont expect fully fletched frameworks but a site that uses the MVC data flow and the code is reusable)3 -
I created an ASP.Net Web Application as my personal Web site. Tested it locally then wanted to test it in a live environment. I purchased a domain/hosting package then publish via FTP. Point it to homepage and nothing shows up. I call customer service and they say it's hosted on a Linux server but their options don't show that it is Linux based. So I had to change it to a Windows platform that it should have already been on. SMH 😣
-
Boss: convinced the client to rewrite his ancient procedural PHP prototype to .NET MVC.
Next day:
Boss: Actually he decided to just retrofit it... again. -
worst interview is when the panel is insisting that asp.net webforms is better that asp.net mvc.
it ended with a debate instead of an interview5 -
When you introduce support for MVC projects into a webforms application you've been working with for 4 years and it takes about 3 hours.
#whydidinotdothis4yearsago -
interviewed a guy who claims to work in MVC with Java, dude doesn't even know object relational model. calls himself a full stack developer
[phew] -
Web developers working since years in Java, spring and hibernate have no idea how to make a website live and don't even know basic MVC structure..
Being a PHP developer m so shocked !!
Is it true for most of the java developers??6 -
!rant
I built a webinterface a few months ago. it was based on the php framework laravel. but i want to change to nodejs in combination with mongodb.
do you know good nodejs mvc frameworks similar to laravel?3 -
my own code is confusing me so much that I can't even return what I want to return and been trying for hours
I'm going over stuff like a broken record and seems as though I'm not understanding it at all 🤷🏼♀️3 -
I am about to start my first project in dotnet core 2, webapi and react after 'stuck' for 4 years at asp.net 3.5, mvc and jquery / Ajax without typescript.
Anyone here who did the same transition allready?
Do you have a few advices?9 -
I cloned the most recent copy of my coworker's app so I can help fix bugs when we go live tomorrow. These are the methods in the users controller:
beforeFilter
isAuthorized
login
logout
dashboard
viewAllOrders
viewCheckedOutOrders
viewOrderDetail
addNote
checkOutOrder
rejectOrder
getUsersByOrderStatus
completeOrder
viewOrderHistory
search
admin_addUser
admin_editUser
admin_addClient
admin_editClient
admin_editOrder
admin_createNewOcof
admin_editOcof
admin_viewAllAvailableOrders
admin_viewAllClients
admin_viewAllCurrentOrders
admin_viewAllUsers
admin_viewCheckedOutOrders
admin_viewOrderHistory
delete
userUpload
admin_adminUpload5 -
This huge OS project, Magento, have TONS of guidelines, most about decoupling,, it has an extended MVC structure with even more layers than those 3.. All good in theory, guess what.. Guidelines is not followed..
Changing order of two blocks in the view breaks business logic.. So much for decoupling.. You would not believe how many hours I've spent debugging this..
And I can't believe I've dedicated 12 years of my professional live to this platform..2 -
How do you actually structurize _big_ projects and still use js components?
_big_ = more than 300 pages. Seriously. Not addtodo, listtodos and thats it. A huge fucken amount of pages.2 -
Hey DevRant, this is my first time working collaboratively on a project with Git and I'd like to know what's the best strategy to adopt.
Is it that every member has their own branch on origin that they push to, then we meet and plan out merges when it's time to release? Or does everyone just push to master, but stash or commit their local changes before they pull?
It's a Greenfield project, with just a bare repository on the central server. It's an MVC app where I've decided to do the View & Controller portions and the other person is doing Models and data services layers.15 -
When you start a new job and you inherit a steaming pile of shit that NEEDS to integrate with a completely separate application but after repeatedly telling your manager his requests aren’t possible, he denies it and says it is possible.
Some context. They have an old application written in MVC. They want a new application written in react. They want all the old functionality to integrate with the new functionality. I don’t just mean render different views based on the route, I mean they want both applications to integrate seamlessly to create a new application. Not to mention this new application is completely different to the old one and has requirements that aren’t even compatible with the old application.
Also. I got into trouble today for completing the sprint in 2 days and starting on user stories (that were in the sprint, not the backlog). Apparently we’re not allowed to showcase the product until the sprint ends and we go through our retrospective/demo. LMAOOOO -
Hello everyone, I would like to create a native desktop application on Linux, which language/gui framework would you suggest to me, knowing that I have been working as a Web developer all my life?
I tried Javafx, but I don't like that very much, is really confusing and requires a lot of boilerplate, I use to work with visual studio, so a drag and drop visual editor to create a gui, that was easy.
I tried electron, but I don't really like it.
The main problem I am facing is adapt a pattern like mvc to desktop app, and share data between scene.
I would love to use flux pattern.
Any tutorial suggestions?8 -
I legit never understood the hate for VB.NET in the land of Microsoft development. To be entirely fair, I only used it it that one class at uni. But other than that I had never used it in the real world. The closest thing I had done with BASIC was VBScript, and even tho I was ok with it(even liked it) I damn well know that it is not something that I would use to build web apps with anymore.
But I am inclined to give VB.NET a chance only because I remember being able to make sense of my peers code in school. Just by reading it, sure it might be verbose as all fucking hell, but we were using VS(notice that i said VS not VS Code) and we had all the bells and whistles of autocomplete and intellisense.
Currently tho, I somewhat wanted to try a more modular approach to my fucking around with web apps, we are considering Rails and Django for a project at work. But since we already have windows servers we thought about the possibility of using .net core. We all like C# as a language and I did work with ASP.NET MVC before so we are considering that as well. That and our sys admin had tons of experience setting that as an environment. When developers are not too sure it is good to rely on the admin's expertise. -
*Me sees ticket thinks its easy enough if done this kind of ticket before*
Opens up repo, does all FE, starts BE, okay should be easy open up the Model for this, oh...
Theres no model..
but how was this even working before o.01 -
Integrating a modern JavaScript framework into an existent, large sized MVC project is really a pain in the ass...2
-
I've been using dotnet and aspnetcore for years. I've heard people complain about MVC but I never really saw the problem. The controllers are easy to set up for basic endpoints, I have my domain models and DTOs, and our views I guess is our standalone webpage just consuming jsons.
Only now I'm having to work with an *actual* aspnet MVC stack - server-rendered cshtml and all - and it's dawning on me like a truck what people were actually referring to.
Out of all the issues I've had so far, they have all been due to black box enigmatic voodoo because don't worry about it, the framework takes care of it - it should just work. But what if it doesn't? I have no idea because the trail ends at the bit that should just work.
I should know better than to criticize an entire framework and paradigm made by devs with vastly superior experience and expertise than me, and my issues are absolutely due to being new and unfamiliar with this, but imagine coming up with an architecture to obsessively separate the MVC concerns, then you make cshtml.2 -
Last week I did a test for a huge real estate company here in Dubai.
The test they asked to create a database of students and use jquery datatables so far is easy.
But they told you cannot use any framework and uses mvc structure, in other words, build your own framework. It's ok.
But my main concern is, the company is quite famous to not provide proper feedbacks or just forgot about you. And I would be very piss off if after of 3 entires days building my own framework, doing documentation, code comments those guys didn't reply me any feedback.4 -
Gotta work on some enterprise application in ASP.NET. Haven't written a single line in C# before... Have experience in Java though. Any suggestions regarding learning-resource? Thanks in advance11
-
Full stack development building web, desktop and integration solutions. I'd say of all I prefer .Net MVC so try to focus there when possible. It's just fun.1
-
.Net Dev here with a degree in graphic design. Almost 9 months into my first dev job, 85% of it has been dealing with god damn webforms. Unfortunately, sometimes it doesn't play too nice with a bootstrap / jQuery especially with code behind and when you have post backs. I never thought I would say this but fuck the front end lol at least when it come to this dumpster fire. At least I'm learning a lot but damn I can't wait to get back into an MVC project or service work.1
-
Doing a WPF project for the admins Back Office work. Going smoothly and working, until someone says redo the hole thing, we made DB changes... Why 😢😢😢😢 so much time working to receive this news?1
-
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.9 -
Feeling useless over something probably ridiculously simple and straightforward.
Test written: check
Route defined: check
View created: check
Controller method defined: check
Testing... Error: Controller method not found
Save me stackoverflow!!3 -
For those of you .Net people out there (".Net sucks" Stallman fellators need not apply), what would a few practice .net core web apis and MVC projects cost to host on Azure? They wouldn't be touched except by me and any people who want to see my portfolio projects directly, so I think that doesn't count as time for cost, but I'll be honest and say I don't entirely get their pricing.1
-
At my first programming job, the codebase was a tangle of legacy web forms, MVC, templates in a content-management-system, and AngularJS. Learning the CMS was particularly stressful.
One Saturday night, after binge-watching videos of DOOM 2 speedruns and mods, I had a dream that the Icon of Sin from DOOM 2 appeared in the code, gazed at me menacingly, and lunged at me before I woke up.1 -
Just need to pass this json object to the controller as a string. Cool just a quick two minute job.
Three hours later and it's still passing null, what the apple fuckery is your problem?! -
The position in the company i started working for not long ago was for a dotnet developer. But it ended being heavy sharepoint focused and mostly front end javascript (that i am not very good at, that's why i wanted backend), doing stuff like hide this button, css that input etc. Really confused now and wondering how much il learn from this job considering its my first job as a developer and that i really want to do mvc with dotnet core. 😐😐 Does this have any value or i shouldn't be so picky for a first developer job?1
-
I needed to create a c# wrapper class for an activex element which has functions for sudoku.
Then create a wpf interface to play it.
So far so good. Ive had c# wpf, so no problem.
Finished that
"Make another interface in asp.net mvc"
I thought to myself, sure how difficult can asp.net be?
Very difficult apparently.
At least, if you want to make a grid which you can change per cell with an x and y.
I just went to bed after i gave up, when I suddenly got an idea. It ain't pretty, but just might work -
Something about MVC. If one clicks on the UI to open a menu, is the event sent to the controller which updates the view or does the view "just display the menu"?5
-
I was watching a demo of Visual Studio yesterday that had a design view for mobile apps for Android and iOS. I was wondering why they couldn't do this for MVC. Then I was like "They do. It's called a browser".
-
Microsoft why all the confusion about the release date and the name of the next version of asp.net. I have seen mvc 5, mvc 6, vnext, core.net and have just resorted to calling it "new mvc version whatever". By the way I have spent days trying to figure out what I can't have my web page download a file.2
-
It started when i was about 10 old.
My uncle showed me how to display something in dos-prompt using the echo command in a custom batch-file.
A few commands later, i was able to "program" a flip-book of an ascii ski-driver. Each ascii picture was separated by pressing any key and cls ^^
Aaaaah. Sweet childhood memories!
Later on i used a programming-language for beginners in windows.
This language gave you control of a triangle called "turtle".
My first high-level programming language was Delphi.
Since i had no idea of databases, i created a pseudo database of magic the gathering play-cards. Each card had it's very own windows formular filled up completely with an uncompressed image object displaying the chosen card modally. *sigh*
I scanned each card by using a feed scanner.
Finally, my application consisted of 200 cardimages and forced my PC to swap the required memory from my harddisk.
Boy o boy. I was such a noob! ^^
Over the years i discovered and felt in love with a lot of languages (jsp, java (script), c#, php, ...) and concepts (mvvm, mvc, clean-architecture, tdd, ...)! ;) -
The company has been moving projects away from ASP .NET to MVC .NET. One of the cited reasons was improved performance. The ASP .NET projects were not the fastest applications available, but were manageable.
The new MVC .NET projects are slower than snails. Every single page element is trying to do an async call to populate metadata elements. There are sometimes 50 or more controls per page due to the industry this software is used in. FML.7 -
!rant
...
.UseKestrel(options =>
{
options.Listen(new IPAddress(new byte[]{ 192, 168, 178, 20 }), 5000);
})
...
Look at this easy piece of code(that I added) from an Asp.NET Core 2 template project(MVC). I needed only to add this piece of code to WebHost.CreateDefaultBuilder() (in the Program.cs) to be able to setup a working WebServer which will listen and answer on that IP(local network machine IP) and port, then I opened that port from my modem on this local IP, then used DynDNS with noip.com, tested out on my smartphone with 4G connection and it does work!
This is the EASIEST web project setup and test that I've ever tried and that let me showcase something from my machine to the entire world! :')
Great job Microsoft; can't wait to try the cross-platform of this open standard. -
As a total Javascript/node.js noob my biggest take from it this week is that it's a lighter version of the backend while doing a lot of the front end heavy lifting in a programmatic style. It's not a total replacement to ASP.NET MVC or JDBC MVC, it's nowhere near as powerful. But, I could see this being a very good replacement for JSP's and simplifying the front end. I need that because the front end terrifies me more than the backend. The devil you know is sometimes easier.
Still, my first week in node.js and Javascript has been... pleasent. It's simpler and less powerful than static or dynamic typed languages but that doesn't make it bad. 🙂
I am biased though. My first language was C++ and anything is easier/better than C++ 🤣 -
Fair / Not Fair
I hate when an interviewer would ask me to code something for them for technical interview.( happy to show non propitiatory previous work) So now that I am the one doing the interviewing, I am doing what I would have wanted, and I have to say it is working out. I thought I would share my experience so far and find out if the community at large sees this practice as fair or not fair.
People reply to the job post then I call and do quick phone interview ask a few key questions. After I find somone I think should go the next level I direct them to freelancer site and give them a paid project.
most recent project: Build simple(i mean really simple) ASP.net Core MVC web application (code first) that remotely connects to SQL server and can be published in linux ubuntu.
bla bla user accounts/ subscription bla bla. But it must me completed in 10 days. reward $1000.00 us dollars.
I build the SQL server for them and put blank database in and provide connection details.
To be fair
I have already built this app my self it and it took me 5 days.
So, Fair / not Fair11 -
!rant
I swear web frameworks are popping up faster than I can catch up, I mean I'm not even done learning react 😭 usually made projects in ASP.NET MVC with just jquery and it just feels like a lot of work to create more layers on the front end as well. Advice needed if you work on both front and back end what js frameworks do you use, and from experience which would you prefer?3 -
I have searched the universe of how go lang developers modularize their api server.... I couldn't find any.. Except for this git repo https://github.com/velopert/...
So, what kind of architecture or pattern do you use? Oh, and I am more interested in MVC4 -
TL;DR: FFS Microsoft
So yesterday we were at the point in our project where adding a login system seemed like a good idea. This is an asp.net core mvc project and we use Materialize for our frontend.
So according to _the tutorials_ we could start a new project and add authentication in the prompt by pressing a button. As it created the project I thought it seemed nice and easy enough. After it had created the test solution I build it and, sure enough, in the top right corner there were a register and login <a>.
I checked them out and they were your bog standard form input input submit and all. Now I guessed I could look at how it's all programmed aaaaaaaaand
Nope.
I saw a new folder located at Areas/Identity/Pages which had a _ViewStart.cshtml which contained three lines. There were also a database migration and in Startup.cs there were some database stuff, but other than that? Nothing. So where on earth was the login and register form located? Shit like that is frustrating ya know.
But oh well it seemed to work and I switched to our examn project where I found it was possible to scaffold the login system in a way that seemed nice.
Except, for some reason bootstrap and jquery decided to return to our project. FFS Microsoft!1 -
So at work we use ASP.NET web forms. Since the .NET Core exists now, and that uses ASP.NET MVC, is it worth looking into that and learning about it? My boss is hesitant to move over for our next project because web forms will go faster because we don't have to learn something new.6
-
How would you handle this:
You generate an id
You chech the db if it is not taken
If it is taken you generate a new one and check again.
You then save the new item with the generated id.
How do you ensure that between the time you checked and the time you added the item some other call did not try to also add an item with the same id.
Async mvc
C# and dotnet core with ef core15 -
Started adding new MVC project to main solution at work. Started getting assembly reference errors across the projects during testing. Figured I might as while update the few assemblies that are complaining instead of trying to downgrade to maintain the current state of things. Shouldn't take too long right?....8 hours of staring at configs and running and rerunning nuget commands to get all the versions lined up across 120 projects....thank God we have extensive unit and integration tests...
-
Fuck Sitecore (Crapcore) up it's ass! Honestly, I thought Wordpress was a pain, but crap, at least I can get it to fucking work! Crapcore is the most finicky, bi-polar, PoS I had ever had the displeasure of using. Full of bugs, issues, and half-cocked stupidity (and we're talking from the ground up).
Imagine this, let's take a perfectly good working wheel (MVC/ASP) and then let's redesign it to be the most dysfunctional crap, that would fall apart the minute a damned light breeze blows on it, oh! And let's make it EVEN WORSE...Let's hide everything behind an eff'n pay wall and gimmicks that never work! Brilliant! Now NO ONE will be able to help anyone (because no one wants to pay up the ass for this shit to begin with)! I mean, it's not enough that the "framework" is such a bloated mess that no one knows what/why things screw up (psst...it's the framework itself), let's make it so idiotic to use as well! F'N BRILLIANT!
Seriously, I can only pray that the same thing that befallen to Blackberry happens to Crapcore so that I could be rid of this shit (or find someplace else that DOESN'T USE THIS SHIT). Word of advice, before taking any job, if they say they're a ".Net firm" ask them if it's MVC/ASP or Crapcore...And if it is, run...Run far the fuck away from that mess! It would save you the aggravation, anguish, and the stress of trying to get any work done with a "framework" that seems to have been made by a mentally disabled 2 year old (no offense to any mentally disabled 2 year olds other than the mentally disabled 2 year old morons at Crapcore).
/RantOver -
Haven’t been active on devRant in a few months, spread across different platforms and university work. Just finished a class working on a portfolio piece and that took a lot out of me combined with several life events in consecutive weeks. Just doing the bare minimum homework and had my nose stuck in video games the past couple weeks since finishing that portfolio class. Feeling a lot better going into this new week though and ready to get back to working on another portfolio piece while learning some advanced NodeJS and MVC architecture.
-
Any .NET Core and Vue.js developers here?
https://github.com/danijelh/...
I made this template( Nuget ) showcasing how to use .NET Core MVC with Vue as a multi-page application. You can build multiple "mini spa's" to enhance UI or simply use plain .cshtml and razor if you don't need Vue on a particular page.
I would like to know, how many of you fellow .NET developers actually use full SPA applications and is something like this useful?
It features Vue.js, Typescript, Vuex, Vue router, Bulma, Sass and Webpack 4.
I heavily use Vue CLI and SPA's but have notices that a lot of people around me still like this approach.9 -
I can't believe this is happening... I'm coding something in PHP...
It's the only language the makes sense for this project really. I need something that can easily run Linux commands.. it needs a small footprint... and it needs to be something people are familiar with.
I feel sick thinking about it... just looking at frameworks was making me want to puke. Luckily I found one that was my style. MVC and it is TINY...
I guess my next issues is.. should this application be OS or should I make it proprietary to my Web hosting services?2 -
Reading a book on React and how data/changes flow one way... down.
Oh hm... sounds different...
Then after an hour or more it goes oh yeah, you can pass children callbacks.
OH WTF!!!! That's like every single language (passing the parent itself as an Interfaces), Android Fragments, Node/Express, Async finding)
That's pretty much MVC?3 -
I am finally getting to learn web api with mvc 6, core.net or whatever they call it. Why do all the example show the repository pattern data access layer? I have not used that for several years.
-
I think my senior does not really care to what I say. I told him that we need to study the core of spring framework before the mvc part so we can easily understand the source code of our client. And now that we're given a task to create and update new functionality on that given source code, him and our intern having a hard time finishing their task because they don't even know what @Autowired is.
Anyway good luck sir :) -
fuck the overengineered bulshit that ZF2 is... fuck crappy mvc in web, fuck shitty design, tuck events, fuck 'security feature' that obfuscates the fucking redirect login/logout urls fuck not having your full link, but just the path everywhere, fuck whitelabeling, fuck somebody's sister, fuck me and fuck you....1
-
You ever have someone who you'd set to QA for a group project, and then find out that - rather than setting up automated testing and writing code that can be run at different times in the development cycle - they just did it by hand, running through the program and deciding that the result they got was good enough?
Imma smack a bitch, then write this shit in their stead.2 -
I have a 3 freaking professional experience as a .NET developer and was freaking able to deliver successful projects. My experience is .NET freaking windows form. And for every freaking time that someone would call and interview me they do freaking ask if I have a freaking ASP.NET MVC experience and I don't freaking have! BUT I DO KNOW HOW TO BUILD USING THE FREAKING FRAMEWORK.
The freaking problem is my 3 years of experience is from winform, but i do freaking know how to use the framework.
How do I freaking get a job as a freaking MVC dev if no freaking employer wants to a hire a freaking C# dev with lead dev role but no freaking experience with ASPNET MVC!2 -
2007, I worked in a small company that develops a web platform, and we began to discover the benefits of MVC and that helped that rookie work team improve our skills to get a better job
-
!rant
I'm looking to learn a multipurpose programming language that can do both Web and desktop applications for multiple platforms.. I would also like it to have a nice and easy to use MVC framework available. Currently I'm considering:
Python
Ruby on Rails
Also note, I develop on a mac.9 -
After learning react, webpack, npm, .net webapi core, ef core and some other sweet Tools for my new project it is so hard to go back to jquery, Razor and asp. Net mvc...1
-
I'm moving from back end C#(self taught) and want to learn how to build effective ecommerce and administration sites. I've built a few web apps with old ASP.Net tech before but not MVC, I'm gonna dive right into MVC 6, what's all the fuss about Angular JS? I suppose I'll have to pick up 1 javascript(arghh! ) API, which is the most mature and/or best for rapid design and easy data management?1
-
I am laravel developer who just started to explore advanced part of it. I have a confusion with topics events and queues. Events are call when an action is performed in the application where as queues are job for repeated and long tasks. My question is when to use both of them? Can we use a queue inside an event?2
-
Be me. shitty front end dev intern. React god.
boomer tech company using ASP.NET MVC frameworks. Hey energy-vampire, can you make us some sick react components???
sure.
get sent giant mvc repo. I've never used it. no documentation. no comments. nothing. just a fat app.
why do companies do this? I literally had no idea what to do with this thing. went to main guy and he had to build a .sln project, link it to some other project, setup an appsettings.json file, import secrets, and then build.
how the fuck would I know to do that???9 -
"Hey, we're gonna add bootstrap to your project but bootstrap doesn't exist in your project. That's fine? Yeah it's fine."
Like, ffs asp.net core mvc.
https://i.imgur.com/eQVfE5w.png3 -
At a previous job someone created their own framework that had no features that you would expect from a normal MVC framework e.g routing, view template etc.
-
ASP.NET MVC using Razor vs. Web API/JS framework? I know they both have pros and cons depending on the situation but which do you prefer? Go!
-
I just got my new task to convert an existing project (ASP) to JSP with Spring Framework , but the problem is I don't have any experience on creating web app on both side , so I was thinking if is it advisable to enroll on an online courses just to catch up the knowledge that I need ?3
-
Rant("
I wonder if Orchardcms with its great idea to replace the mvc pattern with an mpvchds pattern (model part view controller handler driver shape) should inject dependencies of IHateble, IBullShitService and IFuckingFuckshitCMS Interfaces.
");2 -
My project setup:
-Entity Framework (Code first)
-Autofac (Dependency Injection)
-Asp.Net MVC C# with service layer pattern.
How is your setup? :)1 -
!Rant what's so hard about multithreading for newbie programmers. (An actual question. Trying to tutor some friends who just don't get it)
It's practically a requirement for MVC.
In c# it's extremely simple. Just create a background worker with a handler/interface.2 -
When I was doing my onboarding training for work, we had to do a group exercise. We had to build a small app using Spring MVC connecting to a MySQL database.
We had a team of 4 people, and I think I was the only person who wrote a single line of Java the whole day.
One person decided that she would build the DB schema, so I thought ok fair enough I will make a start on hooking up Spring. But the other 2 decided that they would “focus on making it look pretty”.
Several hours later what they had basically managed to do was import Bootstrap.
We ended up with only one screen to demo while other groups had 3-4.
Thats not the only story I have where Im in a group project and basically end up writing all the code. I’ll post the other one later. -
Hey everyone! Wanna hear some advice from other PHP Developer. Is it necessary to learn MVC in PHP? And what are the benefits of it? A course link could be helpful :)6
-
What is everyones opinions on declaring class constructors as 'final'?
Could use some feedback experience, pros/cons?
I'm building a hobby MVC-like framework inspired by OpenCart, where the default controller method is "index" rather then "__construct"
Keep in mind i'm only writing code towards the latest supported PHP versions, so PHP4 style constructors are not of concern. -
Coolest project.... SharePoint sucks, so I wrote an app to extend it into something that is useful.
The app consists of:
- a custom SharePoint event receiver to maintain a custom retention setup
- a custom feature to enable users to tag documents as related to each other
- a custom search experience with custom views and previews
- a .Net windows service to sync the data into a SQL database
- a .Net MVC application to manage the reporting and notifications system
- a notifications system in .Net
- custom SharePoint approval workflow
- a PHP site that maintains a full backup of every document in the event that SharePoint goes down
I was the only developer on the entire project and while I asked for backup they never provided it. So if anything happens to me... And since I am a good dev, my code is self documenting and someone will need to telepathically link to me to find out the multiple places that all of this is running (like five different servers including both windows and Linux).
The whole thing, I have about 18 months invested into it ;) -
Suggestions for a book (if possible german) about php design patterns like mvc, singletons, dependency injections etc.?
If explained good it can also be in another language instead of php. -
Time to learn how to write an MVC Windows Console App in C++ in just a few days while also having 1 presentation, 2 technical demos, and 4 exams this week...
-
I learned today that learning programming in MVC architecture has nothing to do with programming but understanding objects, layers, architecture etc.
Please dear tutorial creators, introduce me to the subject with explanations of those and not with some code of mvc or whatever. -
Reading comments here and subsequently looking here I’m wondering if I’ve been doing MVC wrong. I’ve always thought the View calls data from the Model. However I see people load model data and then call the view via the controller.
Which is right?2 -
I created a backend thing (mvc) yea all that stuff, Controllers, services, models, views and all that. No i turned out that i also need to do the frontend aswell. Last time i did that was >10 years ago, there was no jquery, angularJS and stuff...
Well ok ill give it a try with angularjs and Wow now i can again create models, Controllers, services, views. Wtf lol
Its like an inception, i wonder when there will be a framework for creating cooler views in angularJS -
Spent the last couple hours of the day trying to solve issue in my code and fuck I feel so dump after fixing it! A tiny tiny issue can fuck your code and fuck your brain!1
-
So, we've finally finished our ASP.NET Webforms application, and we're looking onto MVC. We've decided against core just because it isn't as stable yet, and there are fewer libraries, which I'm cool with. However, we still have some baggage from webforms left in our way of approaching the problems. Since the college at large has a custom bootstrap release, we already have bootstrap and jQuery included in the project. What is the best way of going about implementing an equivalent of ComboBoxes, gridviews with paging, and anything else included in the default asp elements and AJAX toolkit ones? My boss is very much against taking in anything but large, well supported libraries like Angular & Angular-UI, so no jQuery plugins unless super stable and supported. I'm trying to save us from having to buy DevExpress for like 3000 across our team. Sorry for the long bullshit, and thanks if you even read it!
-
Trying to make sense of the Zend Framework 1 MVC autoloader. Oh how much would I pay even for it to be PSR-0.2
-
My model for one part of my project has become so crazy big I’m become lost every time I add a new feature or debug :-/
-
ASP.NET Core (MVC) is frustrating me.
I’m a big fan of ASP so far but I’m just struggling to understand a lot.
First off to use it you have to fucking memorize every class in the fucking framework and the functions within them. It just expects that I automatically know which classes I need to implement or inherit from and why, but if I don’t? I can fuck off. But this is also just a C# problem in general.
And it does so much for you and that bothers me so much. I was so excited to actually implement protection against SQL Injections, using HTTPS, validating logins, interacting with the SQL for the database but FUCKING NOPE BECAUSE IT DOES IT FOR YOU.
I don’t want my hand held I want to feel like I’m actually doing things and I want to learn how shit works and how it’s made. It’s just disappointing. I appreciate that it wants me to focus on the app and I will appreciate it a lot more when I’m done learning how everything works but I won’t actually get to understand how those features work or how I can implement them myself because it’s spoiling me too fucking much.
I guess I’m just gonna have to practice more. And don’t bother telling me to look at the documentation, I’ve never seen such a fucking piece of shit mess before I laid eyes upon the docs for C# & ASP21 -
Angular and MVC really slows shit down, doesn't it?
I added 1 (one) page which displayed two data grids,straight out of a database procedure. Here's the head count:
- 13(!!!!!) New files
- 5 old ones modified
- Build process on both server and client side (Visual Studio build and ng build)7 -
Everything looks easy in .NET MVC, but making it generate a checkbox list for you is so damn complicated.4
-
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
So in my groups project where we use ASP.NET Core MVC where we've needed to add identity. Now I've struggled with this soooo much only for today to get it to work.
The documentation for it (more specifically user roles) isn't very good, and most tutorials basically just do the same thing which has for me thrown exceptions left and right (and I don't even do anything special tbh) without any explanations. But today I finally got it to work, I can seed the database without getting told that there are no service for the RoleManager
and
it
feels
like
this
https://youtube.com/watch/...rant it literally feels like hardbass asp.net core mvc now it does dopamine levels high aaaaaaaaa it didn't work askjdfhasdjh1 -
I started coding after getting into college and was overwhelmed with so many people around me who were already pretty good at it. Slowly I started learning things on my own, getting few internships to apply those skills and built few small projects. Managed to get a dev full time job, spent the last few months learning Spring MVC and Spring Boot. When I now look back, I definitely feel I've walked few miles, although there's still a lot to learn. I once doubted whether I can be any good in the dev world as my peers were bagging good jobs/internships but now it certainly feels that I can move ahead in this path which I liked so much. Yes, programming is stressful and painful sometimes. The learning curve is steep but if this is what excites you, go for it! Spend few months training yourself and then applying what you have learnt. Just, never give up! You can do wonders!
Oops, was I supposed to rant here? That is of course necessary. You can't imagine a dev life without rants but let that be for another post. -
So let me get this straight.
- You propose a tutorial about how to create an e-commerce website using Laravel, with a shitty powerpoint-like display
- We have to click "next" to learn the basics of PHP, MVC, Laravel, Mix and such, while all I need to know is about the payment system and global logic
- On the last PowerPoint, you suddenly decide that you should finally think about displaying some actual code while all before was theoric class
- So the last powerpoint page is 45 times longer than any other previous pages.
- Of course, there was nothing about what I was looking for.
You should consider stop wasting everyone's time as a 2018 new resolution.1 -
!= rant
Does AngularJS still have momentum. I toyed with it for a while on a side project. Since then .Net Core launched and most of my work (both day to day and side projects has been in MVC 5 or .Net Core)
I wanted to go back to tinkering with that one side project but it seems that some of the hype surrounding AngularJS has died off.6 -
It's kinda hard if you're a beginner and don't know if you're doing things with good practice...
I would really appreciate if someone could review my code and tell me if I'm on the right track: https://github.com/Dollique/...
For Info: I'm doing this all by myself for a learning purpose and I know I could easily use a finished framework :)
Thanks!1 -
The problem with our current project is that we're using Spring MVC but we only use hashmap for binding (is binding is a correct term for this?) of data with our mapper (We use Mybatis, and also when we get this source code they already implements this kind of stuff, mvc with no models hahaha) for the sake the code to be consistent.
Maybe after I read the documentation of Mybatis and learn how to implements joins, I'll ask a permission to change the hashmap with actual models. -
Well, i want to build a tiny webapp with frontend and api. I already decided to go nodejs and someone adviced express. Since i have little experience other than socket.io i am curious, what mvc you guys recomend?
-
I work in a team that's predominately ASP.NET MVC when it comes to web development. We're merging with another government agency 's development and they're using Node.js.
So I figure that I should make an effort and learn Node.js as I've only had minimal exposure to it.
After five minutes discover that corporate proxy prevents access to npm. Oh well, never mind!4 -
- no rant -
I don't want to shamelessly self promote or anything but I'm looking for some people to test out my php mvc framework thingy so if you want to and give me feedback it would be very much appreciated
https://github.com/LiamMartens/... -
!rant
Question: I am working on learning MVC/MVP/MVVM/MVPVM and I have read a bunch of articles and done some tutorials but I need some help relating it to n-tier (I think that's what they're called) systems.
I have worked on and I am used to the Presentation (ui) layer > BAL > DAL > DB pattern. How does MVC (and others) relate to the different tiers in a tiered system? I have read that model == DAL, controller == BAL, and view == presentation layer, but I have also read that MVC is meant to extract the presentation layer and that business logic and data logic should be used elsewhere. Can I get some clarity?2 -
is there such thing has a facade in models to call on a database and return an iqueriable so that the controller use the iqueriable to get it's information ? it sounds a little odd to me.
-
Asp.net before MVC, I'm talking all the VB syntax and .aspx files garbage. Feels like I'm working in the year 2003. 😭1
-
!(rant)
I'm a student and I'm currently working on a project.
How do I get it to execute blocks of code depending on the type of value it receives in a variable?
or maybe
Should I just use some other method or workaround to do it?
I'm not sure if I should post my question on SO.
(I think it's a dumb question)
--
If it gets (request.getParameter) a string { execute code }
else if {
//gets an int
execute code
}4 -
I’ve been building event-based systems for a few years.
Now I am with a company building MVC apps with ruby-on-rails. (Well, actually the V is handled by React)
To all the the good Rails developers out there:
What advice do you have to getting into this thing very fast. I’ve got video courses from UDemy and the docs but are there any hidden diamonds in the rough out there I should check out?5 -
I'm learning PHP MVC and found this Tutorial: https://r.je/mvc-php-front-controll...
The author recommends to give routing functions to the controller.
Is this still good practise?
Also is a Frontend Controller the same as a Routing File? -
It's actually funny, as I shared equal passion for the English language and technology( how and why things things worked), with software engineering being the preferred choice.
I started studying practical software engineering, which basically only teaches the fundamentals of a select languages, like C, C#, JAVA, PHP and SQL. Had to teach myself PHP and MVC development for my end project.. So I turned to google and youtube. Great experience so far :)
PS: sometimes I wish I studied English instead! -
I'm on my internship right now, working on Library Management System and thinking about how data will load fast in server-side, it took almost a minute even I used DataTables. It is JUST a 22K+ of library records. Is my only knowledge is just PHP, MYSQL, JS... caused this problem? Would MVC help, i'm only have 200 hours to finish the project but no knowledge yet in MVC15
-
Rails views are not meant to have a ton of logic, local variables and 3 or 4 levels of if/else nesting. That's what presenters, view models and assorted other patterns are for. Or helpers, if you really have to.
Yes, this codebase is so packed with legacy it still runs Rails 2.3, and there's no plans to upgrade it, but that's no excuse to keep writing code like it's 2008. MVC does not mean all code must fit in a model, a view or a controller, ffs.1 -
Built my first MVC application today. Building proof of concepts to hopefully modernize my workplace!1
-
This CORS is a huge bummer. It took me nearly 4 hours of pounding my head on keyboard trying to figure out why my "$http.post" doesn't work.
-
Despite not having any real C# experience to speak of, I've been put on a short and rather intense enhancement project that was written with .net framework and MVC.
Yesterday I had to add a new method to call a stored procedure. The file I had to add it in was over 6k lines long. Most files, not including entities, are well over 1k - including the views.
Can't say I'm enjoying working on this project so far.
(Did I mention the clients have a tendency to change requirements mid sprint?)1 -
At first I got this crappy project which 400 users HAVE TO use but NO ONE WANTS to use - with ASP.Net MVC, ASP.NET MVVM (Yes, both!), KENDO MVVM, KENDO UI, JQUERY and not a single line of typescript or modern web framework...
After I told them, that was not why I was hired and not what I was promised, they told me in summer I will get this brand new project, not a single line of code written.
Every new project of my company in the last 2 years was in React / Redux / Typescript and ASP.Net Core WebAPI - So I invested a bunch of weekends to get into it to be able to lead such a new project!
Today I recieved a Email from my boss, that because "we have to be on the same stack as the sister-project" we will use jquery and kendo mvvm....
What the fuck... -
Hello !
I written a php framework its
Mvc + ef ( endpoint, fragment )
Good for both api and website
Its really lightweight and its quite fast but i think its good for small to medium projects .
Do you think i should keep it going ?
Or its just a waste of time ?2 -
Now is the time for me to start projects to get the hang of ASP.NET (Razor Pages then MVC), although it doesn’t seem like there’s a whole lot I need to worry about but I fucking feel like I’m messing it up already. I’m just worried about how I’m going to work up to sumn I would do at a job and remembering everything I have to do in the project and why12
-
when you are using javascript frameworks and plugins in mvc and you have ReSharper, for your own safety and sanity exclude *.js
-
While doing an MVC application. My boss went to my desk.
Boss: all of our phones are down, can you call the support?
Kranz: (on my mind) you ask for the impossible bastard! -
I should probably make peace with the fact that I can't code at night. Right now, I'd like to make a new .NET MVC web app, and I'm like, "fuck, where do I start?"1
-
Regarding the web and mostly for large scale projects, what cms platform or even mvc like framework would you prefer to use or work with and why?9
-
Asp.Net MVC core
Me: this is really cool scaffolding out models.
1hr later: This really sucks have to bind models
1hr later. This is awesome only one nav bar to worry about.
1hr later this is total shit controller inside controller.
1 hr later wow I love MVC
Anybody can relate++
Feel like I'm loosing my mind. -
Just got asked to head a non profit project. I've decided I want everything in JS because I'm working with very inexperienced developers, so I want to know people's favorite Node.js MVC and Server, please and thank you!4
-
Hi guys, If you are front end dev (especially react dev) please read this and share your thoughts.
I recently started with react.js. But I didn't like the idea of nesting components. I know this is too early to talk about it. I'm not halfway through tutorials. But I'm loosing motivation to learn react.js
This never happened to me. I learned few frameworks in past. Django and codeigniter. They follow MVC/MVT architecture. And writing code in it looks cleaner and simpler.
In react JSX is confusing at first. You have to read same line twice or thrice to understand. I'm not saying JSX is bad, but it's not readable enough.
In early lessons I learnt that in react everything is component. And every component comes under one root component. Don't you guys think this well get messy for large application. You are dealing with number of nested components from one file into another.
I'm not against react. But the way react is forcing you to write code, is not something I enjoy. Let me know your thoughts. Maybe I'll get some kinda booster to continue react.1 -
!==rant
Are there any good cloud-based IDEs that:
1.) Supports C# (ASP.Net Core / MVC)
2.) Would work on a Chromebook2 -
Has any one used spell checker library on nuget package?
My supervisor wants it but I could easily use Javascript plugin. -
Hello, I am doing master in Pharmacy, but I like programming and consider to switch or connect somehow industries. I could write simple scripts and small programmes in Python, but I want to write code with good practice from beginning.
So my question what should I know and put in use, maybe some resources if someone has them or just terms for further search. At this moment I use gitlab for VCS (my commits sucks and my whole usage of Git sucks, but at least I use branches), I am trying to separate control from model (MVC but I guess I do it poorly), also I use keepchangelog rules for changeling, and semantic versioning for versions, PEP8 and Pokemon names for my variables and functions as it helps read code later.7 -
Hi bros,
Asp mvc developer. Trying to write an electron app. Please suggest any good references/tutorials there apart from original documentation?5 -
Been playing around with bootstrap and mvc, with custom fonts. Feedback on font. www.diginotes.co.uk
-
Last week i met my teacher for my final project. He said i must compare 2 method that written in journal with the program that i make. I said okay i will do that.
Today i showed him the oop and mvc journal he said both of then is not a method. Method should have a calculating formula you must compare a method that you can calculate and make a new formula with both of the journal.
Can someone tell me if that is wrong or not? Im confused. Is oop and mvc does have calculate formula? As far as i know oop and mvc only have relationship between the object.1 -
Anyone have tips or extra features on asp.net mvc that i need to know in order to survive? I'm just starting to learn it as I have to maintain a neglected system and they only had one programmer working on it. And that only programmer is deceased.
My current emotion is like;
I'm a potato,
Not only physically,
But also mentally..2 -
FFS what is the standard with dependency injection with Android. Is it dagger2 or kodein. Last 2 days googling about and it seems like it's dagger2 yet others say it's kodein. Kodein is newer I guess so less written about it. Seems like every 2 weeks it's something new. No wonder I can't pick this up. It changes faster than Trump can fricken tweet.
Like first mvc then mvp then mvvm then mvi what's next mve? 😵
So flustered. As last post I feel like giving up. Every time you try to learn some new "standard" creeps out from CS major ass crack. Is it the same for IOS. Maybe I should sell a kidney for a Mac book.1 -
- Understand the project.
- Understand what the problem is and what you are solving
- watch some little movie.
- dust my vscode and start making and mvc -
Frustration is starting a very large data object with multiple child objects while a project wide refactor is underway changing the MVC architecture and introducing serialization.
-
It's me or the "Reactive Functional" Spring WebFlux is a stupid fad? It's hard to train new developers on it, a PITA to debug and there isn't any study which proves which it brings better performance compared to the classic Spring MVC.1
-
!rant
I've been following and finished a course about MVC 5. On the deployment side he showed how to deploy the Release on the filesystem through the vs 2017 publish Wizard GUI and after that he suggest to deploy that folder on the IIS server. Now I looked around on the web and I've not found a way\guide on how to self host that project on my PC and expose the project to internet (which I do mostly by using no-ip.org). Someone have any clue or can point to a step by step guide? -
Finishing work on a Friday when cascade delete won't cascade delete in EF and throws foreign key issues. That's my weekend doomed to be spent obsessing over why.
Piss.2 -
Why nextjs doesnt have any mvc or design pattern involved. Shits scattered and muddied all over the place4
-
The worst tech I've been working on is not related to a programming language, is more about the codebase itself.
One of them was in .net, the guy reinvented the wheel creating a custom mvc framework and a custom entity framework, copying from cakephp models, was disgusting and felt terribly wrong to work with.
Then I moved to an old cms written in php on top of an old version of cakephp, that was a nightmare too. Fat controllers and a disgusting db schema, no coding standards whatsoever. Everything so deeply convoluted and connected that was impossible to change something without breaking something else.
The technology itself is never the worst thing, people who thinks they are the best ninja developers, are the real problem imho, and the code they leave behind speaks for them. Yuck -
After learning and creating a web app with mvc framework what do you think I should further learn? Especially to be good at job market or creating pet apps?3
-
I am an ASP.Net mvc web developer and now I need to learn the spring boot per new requirements. The books I am reading makes me to compare the spring boot with asp.net as the books mainly emphasize the spring "magic"
Any suggestions for the materials which put things in different way ?2 -
I just got myself working with the worst developers I could ever know, they don't know nothing about dry, kiss principles... They built an entire platform using Zend framework but they don't used mvc layers right and there is no backend validation most of the time, besides many other true newbie developer problems. I just came to this job and from and Rb/Python background and I can't live with this piece of code. They have 20+ years in the market while I'm just a guy with 5 or 6 years. What should I do if I can't convince the startup owners they are bad as hell waste of money?1
-
you guys know any free advanced MVC project tutorial video available? I would appreciate it because my ActionResult methods are becoming more complicated to manage based on params... thanks3
-
It was actualy funny when normal wordpress developer look into my Login page template and see what is in attachment.
He: Where the fuck is template? -
I am a beginner in iOS development. Currently, I am on my week 3rd of training in the iOS development and I am glad to admit that it has been a smooth ride to understand iOS concept. I know a bit about Massive View Controllers and how they are much of a headache for this community. So, one fine day I was surfing the web and reading blogs to understand app architectural patterns in iOS. So I just stumbled on this (https://simform.com/mvc-mvp-mvvm-io...). It recommends using MVVM when your team relies on test driven development.
Just wanted to know if anyone can explain to me how MVVM can be used for test-driven development?2 -
Really fucking sick of Visual Studio losing all intellisence on CSHTML files.
We've had MVC for how many goddamned years and they still can't properly integrate a fucking view file into Visual Studio so it works consistently?
Oh and I love how when I changed the name of a class, it ignores every stupid CSHTML1 -
Why a dropdownlist depending on a dropdownlist from a complex type(Stored Procedure) from EF CF approach is that hard to handle in MVC1
-
recently, I was working on a project to playback archived call recordings, and another developer was hired. part of my job is also to support a third party automation framework for customers, so I got "seconded" to support a proof of concept. the original project had now been messed up, it works, however, the functionality that made it secure has been MASSIVELY compromised for the sake of effort. I've tried to cause a stink as we have a major customer who will fail the next PCI audit. opinions on the situation. the other developer has a lot more experience, but seems to have chosen to satisfy management on deadlines over the original spec...
-
How to start learning PHP MVC and OOP?
I’m starting a new job and it’s custom software, but I’m coming from a wordpress development background.1