|
BillWoodruff wrote: do check out the Lidor Controls
Will do. I've been thinking of fiddling with angular anyway.
BillWoodruff wrote: Up-voting for that eloquent take-down
I never waste an opportunity to criticize two things I find atrocious by comparing them to one another.
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.
|
|
|
|
|
Angular lost me years ago when they promised a new major version every 6 months.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
Nathan Minier wrote: Angular lost me years ago I doubt Angular has recovered from the loss
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
Wow. Have another, guv'na!
So you're the guy that likes the idea of new major versions of libraries every 6 months? Never would have guessed that.
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
|
I haven't tried it, but Blazor looks cool.
|
|
|
|
|
Quote:
is there some magic to web development that makes it not suck?
Nup
All web dev sucks.
Always has and probably always will do.
"Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980
|
|
|
|
|
They don't pay you because it is fun or easy...
They pay you because that is the only way they can get you to do it.
I hate web development. That's why I don't do it.
|
|
|
|
|
I don't get paid for web dev. I only do it to make demos for libs i write. but i still hate 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.
|
|
|
|
|
Stick to Basics - no (so called) helper frameworks
HTML5/CSS3/javaScript/php - and then roll your own.
Naturally, like any programming, there's an induction period where you get used to the idea of how to do things and the comparative uniqueness of the isolation of the client from the server and statelessness. But it all becomes familiar. And you maintain control.
For myself - I don't give a damn about the conventional wisdom of the layout. I want all the components on the page to work exactly as I wish them to (along with the server). Design - well, they could hire a web designer. I'll keep it clean and, in particular, a very small set of interfaces for my users (familiarity breeds contentment). I go for eye-friendly, and, since these are for office workers to stare at all day, kind to the eyes based on colors/contrasts/font-sizes.
If an extension is added (really, 'when' an extension is added) is must not interfere with existing code and design. They must embrace or ignore one another - no half-assed measures or you'll pay down the line. Also, never use the latest-and-greatest extension to (HTML/CSS) as you then have browser incompatibility(s) or even worse, you handle it, fork you design, crash, and burn.
Remember - you are working concurrently with three-to-five languages per page (if you count SQL). It's not like the happy place in your C++ environment - everything made to a single monolithic paradigm. And you need to redesign there, too.
Thereby set up a stable world and the problems all but disappear.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
W∴ Balboos wrote: I want all the components on the page to work exactly as I wish them to
That's the problem, especially with CSS.
And I roll my own stuff a lot of times, except these days I do use jquery precisely because it eliminates some of the inconsistencies of "DHTML", especially taking multiple browsers into account.
Less stress. Still, it's mostly CSS that sticks in my craw. It's just so freakin arcane.
Even I get the concepts enough that I could roll my own basic CSS engine, things like lack of a hard "height" feature, clearfix problems, and just the layout quirks - it's a damned mess. I know one person that can navigate that mud and make it seem easy, and if I wasn't a better person I'd hate them for 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.
|
|
|
|
|
honey the codewitch wrote: I know one person that can navigate that mud and make it seem easy, So - you have supplied apriori proof that it can be done if you know what you're doing - really like any other programming languages.
Now - there's no need for you to specialize for a now-and-then pain.
I came to my current job for my C++ - but am now 'the' web programmer. What I have found, as a self criticism, is that I usually know how to get the page to appear as I wish - but don't want to make the effort.
Between sending you my first mail in this series and your reply I worked on a modification. It didn't work out and I commented it out, for now. I do know the solution (in programming, I guess it's always properly written as "a solution", not "the solution") but I have neither the urge nor the time, right now, to go there. Really easy: make a two-column table into three so I can right-justify a like (whose class makes it look like a button) on the far right of a <th> element and combine all the lower rows to mimic the original two-column behavior with a column span, along with using <td>, instead, and gain back some control. Or whatever floats by when I open the page again. All of the above formatting is from AJAX (php). Right now, I just don't feel like it.
So, instead of putting in the effort it got " // ".
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Tables are easy and honestly if I didn't sort of hate myself for relying on them I'd just stick with them.
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.
|
|
|
|
|
honey the codewitch wrote: if I didn't sort of hate myself for relying on them I'd just stick with them. I never understood this anti-table nonesense.
They work and make many things very much easier (and readable ! ! ! !).
Someone got a burr up their ass and decided to denigrate them. Why should I care what they think? And by proxy, why should you care? Wait for them to offer to do your work for you.
(by the way - if life were all tables we'd not have this thread).
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
One of the rationales is it combines layout and structure, whereas if you avoid them in favor of CSS tables and such you can better "skin" your site using CSS.
However, no matter what you do in the real world with HTML and CSS there's going to be intermingling of structure and layout.
Another rationale, and this one is compelling: lack of fluidity in layout which means entirely separate content for mobile, which means more work.
So I don't know. I'm ambivalent about tables due to the second thing.
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.
|
|
|
|
|
honey the codewitch wrote: entirely separate content for mobile, Mobile? We don't do no stinkin' mobile!
I create software for grownups earning their living. And a fraternal district full of users on an informational site. So far, no complaints from a single phone-addicted user although Google analytics puts them at ca. 40% share.
You have made my LG flip-phone weep.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
well for certain things mobile is desirable, even for work. I worked at a little dev house in the early aughts that adopted mobile early to create apps for mobile a salesforce and mobile technicians.
It was pretty lucrative, and shockingly practical.
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 had really good luck with combining B.E.M[^], a css preprocessor, and something like patternlab[^] to develop the front end independently of the back end. That lets you develop the front end without the nasty css cascades, and by using components with mock data and multiple states.
Elephant elephant elephant, sunshine sunshine sunshine
|
|
|
|
|
God bless JSON and JSONP these days I don't have a problem separating front and backend.
Through talking about it on this thread I've come to realize it's mostly CSS I hate.
And it's because its layout engine is just awful.
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.
|
|
|
|
|
yeah CSS is horrid and overly powerful. I was so happy to work on a project that implemented BEM. After that I saw that it could at least be reigned in. I do mostly server side and backend type work now, not a front end dev anymore.
Elephant elephant elephant, sunshine sunshine sunshine
|
|
|
|
|
i usually do backend stuff as well, but sometimes front end is unavoidable.
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.
|
|
|
|
|
1. Don't support Internet Explorer. The only reason it exists anymore is for legacy business web apps and Microsoft has told web devs to stop supporting it in new sites and applications.
2. Invest in a browser screenshot tool like LambdaTest to cut down on your browser testing time. You can run a test and only do detailed testing on the screenshots that don't look right.
3. Use source control like git. This is a general development tip, but many in Web Dev seem to skip stuff like this to save time. It is worth it to be able to have a history of your changes. There are plenty of IDEs like Visual Code Code that integrate with git directly to make this really easy.
4. Use a smart deployment tool like git-ftp. Free for all FTP'ing everything to server will just lead to issues in the long run, especially if you need multiple people pushing changes out to your server.
5. Setup a local web server for development. This cuts all of the time involved pushing your changes out to test them. Their are plenty of AMP packages to pick from (XAMP or MAMP comes to mind) also if you have Windows Pro you can install IIS and install MySQL and PHP natively. You can also use a host file tool to redirect your domain name to your local machine while testing. I prefer HostProfiles for this on Windows (open to other suggestions if anyone knows of a better Windows tool in active development) and Gasmask for this on macOS.
|
|
|
|
|
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.
|
|
|
|