|
i already do all of that except the php bit. ick. i'm not worried about xamp. And I integrate VS with github.
None of that is the issue. Really, CSS is what makes web dev crappy.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Google "object oriented CSS". Its a practice of creating reusable css classes and styles that helps eliminate the tediousness of working with CSS.
I would also recommend separating your text css and site layout css into separate files that are loaded before your general css file. Having all of the general elements already styled out before doing specific element overrides will help eliminate the amount of CSS you have to write. You could even do this with form element CSS as well.
You should also look at using a css reset vs using a css normalize and decide which approach fits your css approach best. I prefer using a reset because of the consistency it provides to the design in the end, but I know a lot of folks prefer using a normalize because there is less general element styling you end up needing in the end.
|
|
|
|
|
I usually use bootstrap to get to a baseline, but I've used resetters before too.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
HTML/CSS/JavaScript has long been a black hole for programming and debugging time. Those technologies were never intended to do what is asked of them today.
My advice is to focus on WebAssembly (in the Microsoft world, that is Blazor). HTML and C# is all that is needed. The temptation for web developers is to fall back on JavaScript (via JS Interop in Blazor) instead of learning how things are done in Blazor (HTML and C#).
|
|
|
|
|
webassembly is great but i imagine it's hell on page load times.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Nope. A page may load a little slower the first time, but not really that noticeable. Since webassembly is stateful, not stateless, page operation is actually faster. And loads are minimized to just what is needed.
You should try it for yourself. I think you will find that server-side Blazor is quite fast, especially for intranet applications. The improvement in stability and decreased development time more than makes up for a few microseconds of latency or initial page load delay.
|
|
|
|
|
That's interesting. It must support partial assembly loading to keep page load times down i guess. That's cool, if true. Even loading the entire System.dll into a page is reams of "asm.js"
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
One of the solutions is by using RAD controls. There are some controls out there like D*vExpress, T*lerik, etc.
They do have some tools to help you with this problem.
If you are working with a company that has an R&D team then you can build your own framework to tackle this issue.
|
|
|
|
|
the tools are never good enough, IME.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
The zenith of web development ease was reached with ASP.NET's WebForms. Though the internals were constantly being refined, in 2010 ao decision was made somewhere to promote the MVC paradigm of development. Everyone got on the band wagon and the rest is history.
The result is the mess of tools, tool kits, JavaScript frameworks, JavaScript, and a lots of other technologies people now have to contend with simply to develop web applications.
People should learn to leave well enough alone and stop complaining about every technical idiosyncrasy they come across.
WebForms was surely not a perfect environment but to date there has been nothing better to compete with it in terms of ease of use and just getting the job done....
WebForms is still available so maybe it would be a good idea to return to them and drop the rest of the crap that has been promoted in the past 9 years...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@ix.outlook.com
|
|
|
|
|
I tend to agree, but then I've never liked MVC and I find it heavy handed.
Usually I just develop UI apps as kind of last mile glue, and all the important stuff is wrapped up in nice class based apis the the UI calls.
I don't care about separating content and layout and control in such an environment, although I'll concede that the web with its myriad of devices make it somewhat useful, but it's still a lot of churn to build and maintain.
MVC is useful if you're building something like Visual Studio or MS Word.
With UIs being glue I just tie whatever i need to work together, factor only as much as I have to, or as much comes naturally, and make my class libraries do all the heavy lifting.
No need for MVC. No need for huge UI frameworks. Just give me what i need.
WebForms was good at that. Its abstractions were clunky in the beginning sometimes (postback initially not working on all browsers in ASP.NET 1, etc) but they're generally just enough to be useful without being impositional.
I really liked it. HTML layout was still a pain. But then CSS is CSS and it's cranky about layouts, especially doing single screen layouts that don't scroll and require fixed heights.
I just get frustrated with it.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I always found WebForms to be far superior to all of the MVC nonsense. True, they had their own complexities but they were all manageable within its development environment.
When the migration to MVC began I started considering retiring and 4 years later I did so. The entire case for MVC and Agile and everything else that surrounded MVC just made no sense to me.
Who really cares about the edges in performance, which over the larger scheme of things really wasn't all that impressive, when compared to the ease of development that webForms provided?
The entire profession took a very bad turn in 2010 and it has been paying the price since...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
I agree. MVC is too much baggage for most apps, in terms of development lifecycle and maintenance and it doesn't have a compelling advantage to WebForms unless you're writing something like Office or Visual Studio, or maybe Outlook web or something seriously complex in terms of the UI.
The only thing about it that makes sense for the web is separation of presentation, data, and control
that's kind of nice, but again, it's not necessary for so many apps.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
What is very interesting was that up until some point last year, one of Microsoft's web pages devoted to MVC on their web site actually discouraged its use for database intensive applications as its primary advantage was in basic, content web sites.
When I went back to find the statement as a result of an online discussion I was having with someone at the time, it had mysteriously disappeared...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
That seems odd to me but then I come at MVC from a desktop UI background and most of what I know about MVC comes from that perspective. I can't imagine it's much different for web dev though. MVC complicates things
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
You are one of the very few professionals, I have discussed this topic with that agrees with my perspectives. Leave it to a young lady to have a superior intelligence to most of our male colleagues...
In any event, I came out of the DBASE world of the 1980s and early 1990s. I worked with just about every single DBASE variant available with the exception of one. Developing database applications with these environments was quite easy and enjoyable.
The Emerald Bay version of this environment was the best of them all. It was fast, had a very unique database system that was relatively close to the standard DBF file system and came with a complete client-server implementation right out of the box.
I was able to set up a server on my own workstation and then access it from any workstation in my division at the time. Yet, I couldn't convince anyone to consider the system for future development as it was not moving in a SQL Language direction.
I spoke with one of the developers of the system at Emerald Bay back then and they believed that SQL was inefficient and wasn't worth the effort to develop a layer for their database system.
This single decision destroyed the company very quickly as they entire database world at that time was moving to the SQL Language in one way or another...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
I think that's sort of sad considering that several years later lots of people moved away from SQL to "nosql" databases.
For the record I'm male, I do get mistaken for a woman a lot, both online and off, so no worries. I'm just genderweird.
I'm not that young either - i put a teenager through college. He's grown now.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Thanks to all your great advice (really appreciated) I was able to find out what is wrong with my laptop... By calling Dell tech support
First of all, great support, best I've ever had, perfect 5 out of 7!
So the problem seems to be that my computer has an SSD and an HDD and I was thinking it only had an SSD and my computer was thinking it only had an HDD.
At startup the laptop did a hardware check, which apparently takes a long time, but which can be turned off in the BIOS.
Anyway, the SSD could not be found, which is obviously a problem.
The slow startup time is mostly just due to Windows being installed in the HDD instead of the SSD I was expecting.
Long story short, I'm still within warranty and an engineer will come to install a new SSD and, if that doesn't fix it, a new motherboard.
Case closed (I hope)
|
|
|
|
|
Three warf hoorah for Dell
|
|
|
|
|
Did you try enabling or disabling legacy boot mode?
If not enabled, it can cause problems with efi drives; and if enabled, it it can cause problems with non-efi drives.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Yeah, I did.
Didn't work.
|
|
|
|
|
Did you try taking out and cleaning the SDD contacts?
My Dell lost its SDD once, this fixed it.
|
|
|
|
|
Yep, didn't fix it
|
|
|
|
|
Not directly releated to this specific problem, but I'll add it as a sidetrack anyway:
In the old days of DOS floppy disks, the same physical size disks (5.25" or 3.5") came in different packing densities: 360K, 720K, 1.44M. When you replaced the disk with another one, DOS would read the format code off the disk, and the driver would operate according to the physical formatting.
I had a machine that for a period failed to change to the correct format. When switching from, say, a 360K floppy to a 1.44M one, I got read errors unless I rebooted the PC.
I didn't open the PC case very often, so it took a while before I saw the problem: The 34-pin connector to the floppy was not pushed properly in, but was slightly slanted, so that the last pin in the row didn't make contact. The last pin was the one that the floppy drive used to signal that the physical floppy had been replaced, and the driver should adopt to the format of the new disk. DOS never got this signal, and wasn't aware that there was a new floppy in place, but continued to read as if it was the same old one. (There was no buffering/caching in those days, so there was no risk of flushing buffers to the wrong disk.)
Pushing the 34-pin connector firmly onto the pins, so that even the last pin made contact, solved the problem.
|
|
|
|
|
A year later it then refused to boot, just black screen, unless the battery was unplugged and plugged back in. At every boot.
Then I had a go cleaning off the RAM after taking it out, this seemed to fix the boot issue on a more or less permanent basis, unless the desk gets a jolt.
I dont think Dells are as good as they were.
|
|
|
|