RE: Help me with my new website!
January 28, 2018 at 9:33 pm
(This post was last modified: January 28, 2018 at 9:36 pm by bennyboy.)
(January 28, 2018 at 12:52 pm)LastPoet Wrote:(January 28, 2018 at 12:43 pm)KevinM1 Wrote: Yup. And that's one of the many reasons I don't even touch software like WordPress, let alone use WYSIWYG tools .
"It's free! And you can simply plug in themes and other functionality!"
Yes, but in my experience, its one-size-fits-most design philosophy actually fits none. I've never met a client that was happy with stock WordPress with unmodified plugins and theme. They always want something - sometimes something simple, sometimes something complex - that can't be found in a plugin. And WordPress is an absolute pile of shit under the hood, a throwback to late 90s/early 2000s web design with unnecessary global variables/magic values/tight coupling everywhere, and The Loop which sloppily merges back end logic with display logic.
So, I wind up fighting against a really shitty piece of software in order to get anything done, which takes me twice as long.
I know C/C++ isn't used for webdesign, but perhaps such a tool should be developed. A tool that enabled you to do high level design, but also allowed to get to the micromanagement.
I hear people complaining about how hard pointers are, and segfaults are a thing, but direct access to memory by location alows for neat tricks. It adds much more customization.
You have to understand two things:
1) Webpages right now are html with java scripts and css. html describes how content is organized and sends content to the client, java scripts control how the client can interact with the data without posting back to the server, and css determines how the data is visually presented. That pretty much covers everything you could want to do.
2) ANY programming language can (fairly easily) generate html, javascript, and css files.
If you are the owner of a physical system connected to the internet, then so long as you are capable of receiving incoming page requests and sending out html files via TCP/IP, you are officially operating a server. You want to use C++ to generate your html files? Fine, you can do that. After about 50 years, you may end up creating something like the Apache server technology, which actually IS written in C.
The same thing goes for browsers. Internet Explorer was written in C++. In fact, I think you'd have a very hard time finding a PC browser that WASN'T developed in C or C++.
But that's not the web programmer's problem. You don't GET direct access to hardware memory or the hardware operating system, because nobody is stupid enough to give up that access. Nor would you want to-- do you want to have to deal with how Windows drivers access memory, or Linux, or Android, or iOS, or would you rather let THEM deal with that stuff, and just send them the data, the data handlers, and the visual presentation information?
Last thing: ASP.NET allows you to do some pretty robust programming using C# "codebehind" files. You can use the Microsoft or other .NET libraries for graphics processing, sound editing, and a lot of other things, add files to your homepage, and then. . . pump out those same ol' html files. I recommend it highly.