|
TNCaver wrote: Do I lose points if I'm talking about web forms, not MVC?
Yes, in that case, you lose major points.
Better just keep it quiet.
|
|
|
|
|
Buggy? Not at all. I'm sure it's a feature, whatever you may have seen.
Like a checkbox not being bound when you initialy have set Visible to false and not being able to bind the same flag in the data to visible to make the checkbox reappear for old datarows that have this checkmark set. I'm sure this behavior has some useful purpose, even if I can't really say which.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Works well enough in Xaml!
|
|
|
|
|
I've used it with WinForms, Knockout.js, AngularJS, and Vue.js.
It works fine most of the time.
Sure beats having to do everything manually!
Maybe you're the problem?
|
|
|
|
|
Sander Rossel wrote: I've used it
Sander Rossel wrote: It works fine
Yes, yes, for the cookie cutter basics of amateur code it does seem to work fine. I agree.
It's the professional code that is a bit more than copy/paste that I'm talking about.
Maybe you haven't experienced any of that?
Am I funny yet?
|
|
|
|
|
raddevus wrote: Am I funny yet? "Sad" is the word you're looking for...
Seriously though, data binding isn't some magic bullet that solves all your problems, but it's a lot better, in WinForms and HTML, to have your input data being synced with your back-end "automagically" rather than having to do it all by hand.
And yes, there are rules, and in some edge cases you're better off not data binding at all.
If used wrong your application can turn into a binding mess that forces your application to a grinding halt.
But once you've got it down it's really not that difficult and it can really save you a lot of time and effort.
Especially in the easy forms it's a must-have.
|
|
|
|
|
Sander Rossel wrote: Seriously though, data binding isn't some magic bullet that solves all your problems
Oh, but it is sold that way by every framework.
Sander Rossel wrote: but it's a lot better, in WinForms
And that's not saying much. But it's just kind'a ugly.
Sander Rossel wrote: And yes, there are rules, and in some edge cases you're better off not data binding at all.
That's a very good point and actually one I was attempting to point out that most of the frameworks and training related to binding does not point out. They generally pass the knowledge like it is a panacea.
Sander Rossel wrote: But once you've got it down it's really not that difficult and it can really save you a lot of time and effort.
I do agree with that. I just wished it worked a bit better and was implemented a bit better in most places.
Maybe I got spoiled from the way two-way binding works so well in Angular?? Probably.
|
|
|
|
|
|
I knew there was somebody out there!! I knew it!!!
My real point is that every (so many) framework acts like databinding works perfectly, but then it doesn't.
|
|
|
|
|
My problem with Angular is that I don't know why they call it Angular since it is something entirely different and how long it will last until the next ground-breaking roll out. Emphasis on breaking.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
Yeah, we were getting very close to doing angular when it was at rev 1.x or 2.x or whatever. Then they had that "4.x Will Change Everything" announcement and we left it behind.
|
|
|
|
|
We have today discovered that there are three well-known bit positions within any binary value:
LSB - Least Significant Bit
MSB - Most Significant Bit
RSB - Random Sh<nobr>it Bit
Software Zen: delete this;
|
|
|
|
|
My eyes are playing tricks on me! I read that last one as Random Shift Bit! Now it makes sense!
"Go forth into the source" - Neal Morse
|
|
|
|
|
kmoorevs wrote: Random Shift Bit That one works too at times.
Software Zen: delete this;
|
|
|
|
|
Those newsletter taglines are hilarious, this is my favorite:
Quote: This robotic finger attachment for your smartphone will gently caress your hand
Right. That's definitely what it's for.
HAHA! Now I wanna buy the robotic finger so it can "caress my hand"
Here's the other golden one:
Quote: Microsoft says they can recover files deleted by Windows 10 October 2018 Update
They'll post them all to a SharePoint file share. Please only download your files.
I can honestly imagine someone going into another person's folder trying to download their files
"Dreams really do come true."
|
|
|
|
|
All Day Coder wrote: HAHA! Now I wanna buy the robotic finger so it can "caress my hand"
In reality, it's designed for the coming Siri-Apple Health integration; No need to embarass yourself in front of a human being when getting a prostate exam.
I only have a signature in order to let @DalekDave follow my posts.
|
|
|
|
|
0) Got a used Intel NUC (i3 dual core, 4GB DDR, 60GB SSD), swapped in a new 250GB SSD and doubled the RAM), installed Lubuntu 18.04 and Kodi, and have started configuring Kodi to see/use the Windows box that hosts the media (soon to be a linux box).
1) Installed Ubuntu on three laptops of various ages. Wireless doesn't work on the two oldest ones, so I'm still working on that.
2) Have two Raspberry Pi booting Raspian from a 32GB thumb drive, used as Pi-Hole DNS servers to block ads (and doing a bang-up job I might add)
3) One Kubuntu linux desktop box just sitting there on my server rack. I'm going to reinstall an OS on it - probably ubuntu minimal...
4) Will migrate my desktop to Ubuntu in the next week, followed by the wife's desktop, and finally the two media servers.
I'll end up with only one Windows box for SQL Server and intranet IIS duties.
".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
|
|
|
|
|
You don't need Windows for Sql Server...we use Sql Server 2017, which is the version that runs on Linux. Much faster install than on Windows.
|
|
|
|
|
Talking about SQL Server, we don't need it anymore, except some stubborn customers who refuse to use PostgreSQL
|
|
|
|
|
And if you are using .NET Core, Kestrel is cross platform, and if you need features it doesn't handle OTB, you can run it behind NGinix. No need for IIS, plus Kestrel is a lot faster.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
You know, I need to archive your posts and the responses for when I have time to dive into switching over to Linux. There's a wealth of information in your posts and the responses!
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
I have been thinking the same thing. I have bookmarked a few of the posts already for future reference.
|
|
|
|
|
Not the only one...
(same as with OG's and Win 10 some months ago)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I am seriously hoping he does an article on the trick he does to get it to boot from USB
<sig notetoself="think of a better signature">
<first>Jim</first> <last>Meadors</last>
</sig>
|
|
|
|
|
All linux, it's not a dream.
After moving to my new dev box: linux with windows VMs, couple of months ago...
Sunday just gone I cloned the new box install onto the old one (was w7), fiddled the fstab,... that's all it took, works like a charm. (different hardware, doing that with windows sure fail.)
another 15 minutes (that long coz out of practice) to get it talking with samba, set up scripts to keep the dev/work files in sync. done. Last active windows box bites the dust.
The old box (always intended as the working backup) is now a true mirror - makes keeping it in sync so much easier than doing it linux <-> w7, moved it to the living room and hooked up to the TV so old one's also now my media movie/sports stream box.
all linux, and it's great, I escaped w10 infections in this home.
... well apart from my 5 year old w7 laptop - but it only comes out when I go on holidays (webmail, teamviewer, a few stored movies - really cant get into doing those things on a phone). ... getting a bit flaky anyway, (methinks too many trips stowed in me check-in bags) so I'll not bother converting it; soon to be replaced with a pad thing - not crapple if I can avoid it.
Message Signature
(Click to edit ->)
|
|
|
|