|
PIEBALDconsult wrote: Get rid of the whole thing and start over.
And what do you propose we replace the "Web" with?
|
|
|
|
|
|
Bring back Gopher!
TTFN - Kent
|
|
|
|
|
There was a bloke lurking out the front of my house yesterday. He was sticking bits of paper into slots in a box that I'd never noticed before.
I asked him what he was doing and he explained that there is this thing where you can write a message on a piece of paper and give it to someone who gives it to someone and then they give it to someone ... and eventually someone sticks it in the box outside the house of the person you wrote the message to.
And they get it. But most intriguing of all is that when they get it, and they read it, they are highly unlikely to contract ebola!
|
|
|
|
|
Sounds to me you guys would love to emulate or at least read Terry Pratchett's Postoffice.
Don't let it interfere with your coding, though
|
|
|
|
|
Absobloodylutely!
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
Binding (such as it is) to controls uses model , iterating a collection (in the markup) uses Model .
Don't ask why - just accept it and grudgingly get on with the project.
It's a web dev zen thing.
For the record, I hate web dev work as well, but right now, it's a beans/table thing.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 15-Oct-19 14:46pm.
|
|
|
|
|
Quote: I pretty much despise all of Microsoft's web development technologies
FTFY.
|
|
|
|
|
why don't you just use third party controls and frameworks and make your line of business app..web..windows etc...ya web used to be painful back in the old days too with hey its not working in my IE6 browser ...it should work on FireFox.... blahhh... the list never ends... oh and why is the browser hanging.. sh*t its loading all the data...
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
I don't think it is MS only, it is more the web tech itself at this time.
To much independed developments, no consensus between them, even they pray it that web dev/ "browsers" will make us independent from the platform.
Let us hope the tendence to go for "vanilla js" (even I'm not happy with js) will win in the sense that vanilla js can be a chance that no proprietary technologie will be prefered. Java itself had a similar target but failed.
Only my 2 cents...
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Modern web development is like developing applications that are packaged and distributed as Microsoft Office documents.
Can you imagine how crazy we'd think someone was if they built something like a UI framework written in VBA to allow developing rich applications in Word documents? Why is a UI framework written in JavaScript to run in Html documents any different?
|
|
|
|
|
Easy, browser engines don't have deep OS hooks like you can get through ActiveX and VBA.
But seriously, I disagree with your premise in principle.
If you've worked with Qt or WPF, you'll find that modern JS data binding/UI frameworks are not terribly different in concept. You use HTML templates and bind data and functionality called from services or factories to them declaratively. The JS can be coupled with the template in some frameworks (like Vue or React), or it might lean more towards the crappy WinForms code behind (like Angular or Backbone). In any case, you can easily have distinct business and UI layers, and in a complex enough application you'll likely also have a data layer to coordinate your models.
ES6 changed the game pretty fundamentally as well, making asynchronous promises, module imports, and polymorphism into first class JS citizens. As far as a UI binding engine goes, it's moved forwards by leaps and bounds in the last decade.
If your development experience with web tech "is like MSO VBA", you're likely doing something very, very wrong.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
Quote: the crappy excellent WinForms FTFY
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
No, you definitely didn't.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
Oh yes I did!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
0x01AA wrote: Let us hope the tendence to go for "vanilla js" Love the website: Vanilla JS[^]
Try selecting everything you need and then download the script
|
|
|
|
|
.Net Core is very good, it's basically Node.js on steroids.
However, I have never used Razor, and stay away from most of the MS web stuff, why use them when you don't need them?
I stick with straight HTML/JS/CSS because the server does a lot of things, but its main job is to deliver data to the client, whatever that client may be.
By letting the client decide how to render data, the client can be Html, mobile, C++, Electron, IoT, whatever, Razor is a major distraction, IMO.
|
|
|
|
|
Ok now you are bitching about the problem of using a key word in your code, just like TSQL keywords but different. Who would name a Model Model tcha!
Razor at least allows you to reduce JS dependency for which I am eternally grateful.
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
Mycroft Holmes wrote: Razor at least allows you to reduce JS dependency for which I am eternally grateful.
Werd.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
In my opinion, the majority of all these new features really aren't new; they are just layers of abstraction to keep us out of the inner workings (I dont want to confuse with "Core").
I believe a lot of it is MS to protect us from ourselves; such as Hidden-Segments, Forbidden-Paths, and Request-Filtering. While these are all great on paper; they do present their own signatures which made it very easy to identify that you were running .Net on top of IIS.
But, I learned how to disable all of this "safety-ware" and along the way through the request pipeline not only did I figure out how to remove the Hi I'm on the Net framework, using MVC 3, and all of it on IIS, but also figured out to create my own redirect module.
And then there are the ORMs. Sure we can use Entity Framework to act as a liaison to our SQL server and not have to worry nearly as much about SQL Injection. And it truly bothers me that after 20+ years that people still write out out vulnerable code with apathetic excuses why it isn't a problem. But it would be nice if some of the tutorials or popular packages (eg IdentityServer) had a choice of ADO or EF.
Now I get to play with new projects on Net Core. And more things to protect ourselves from like GPDR- great in concept but try renaming the damn cookies so we aren't advertising our platform again. The pipeline is not what it was so now we get to play with this concept of MiddleWare which seems to have so much more potential but so far has been a disappointment in the flexibility department.
Really what is WebAPI besides a preconfigured MVC system?
Damn.. this belongs in the sandbox
Director of Transmogrification Services
Shinobi of Query Language
Master of Yoda Conditional
|
|
|
|
|
Hi Marc,
I completely understand your point I think the problem here is that Microsoft tries to build the framework and then we as Architects / Developers has to build what we want. MS is trying very had to not be prescriptive in anyway unlike what RubyOnRails did where they were very opinionated about how you should do things.
Saying this all the previous attempts by MS was really bad.
Coming from a Clipper '87 to C++, VB6 then C# Windows - I've ignored the whole Web Forms implementation completely and only started to do web stuff when MVC3 was released. Purely because of the craziness of Web Forms.
|
|
|
|
|
Razor is hot garbage; you'd be better off just using a string builder for that.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
I'm on a C# / MVC / Entity Framework / Razor / SQL Server project using SQL, Transact SQL, LINQ, JavaScript, JQuery, GIT, Gulp, & Babel. I feel the pain ... intensely.
In private life I support a half dozen WordPress sites ... people complain and denigrate PHP, but things are far simpler and I get 4 times as much done in the same time frame.
|
|
|
|
|
I hate JavaScript and how brittle the HTML/CSS/JS architecture is.
But Razor, and now Blazor, are great improvements. With Blazor, I no longer need JS, just HTML and C#.
It works for me, anyway.
|
|
|
|
|
I created my personal website a few years back in straight HTML with minimal CSS and no Javascript. It worked fast and easy. I am not a dedicated follower of fashion so I kept it that way and guess what? It still works fast and easy and is still compatible with all browsers with no special cases for any of them - it even worked on Edge with no changes.
It does everything I want it to do and doesn't waste time on flashing or jiggling images or fading things in and out unnecessarily. It also has a minimal amount of large blank areas that do nothing; none actually.
I have links to other more "active" bits, mostly experiments. In addition there are a couple of games using javaScript, jQuery and SVG I wrote for fun. However, the main page is just HTML and a litte CSS.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|