PDA

View Full Version : Which Framework do I need?



BeBo
May 2nd, 2016, 04:48 PM
Hello forum!
I'm new on this forum and pretty new to Web Development as well. Let's say I know the basics and am passioned to learn and try around. I know css,html and Java..im currently working myself into javascript. But coming from Java should give me a couple benefits.
Moving on, I am redoing the Website Architekten Planquadrat 3 in Köln (http://pq3.de/) which I did a while ago in Flash..lol, I know! The new website will look the same, with the same functions. I just want the multiplatform support and the faster page loading speed..lets face it, no one is as stupid as me and does a full website in Flash!
Never the less I am doing it full in HTML and CSS. I coded it already: Responsive with Bootstrap. The only "problem" I have, I want to switch the Content of the projects automatically. Meaning I want a folder for each project, where all the pictures and the text are. Then I want the Website automatically pull-in the data to the side, so I don't have to code every project from scratch. It also would be great if me or someone else want to add a project.

Leading to my question, I worked myself a little into Angular 2 but I have heard a lot about alternatives, like React etc.. or should I just do it with jQuery and Ajax+JSON file where the texts & links are written in?
What would you suggest me, to realize my wishes. I hope my explaination was understandable and this is the right category I am in! :D

Wish me luck!

coothead
May 2nd, 2016, 04:56 PM
Hi there BeBo,


and a warm welcome to these forums. ;)


Which Framework do I need?

According to this article...


HTML, CSS and JavaScript Frameworks - Incompetent Nonsense (http://www.cutcodedown.com/article/HTML_CSS_and_JS_frameworks)

...by our illustrious forum member "deathshadow", you don't meed any. :D



coothead

Philip M
May 3rd, 2016, 08:53 AM
According to this article...


HTML, CSS and JavaScript Frameworks - Incompetent Nonsense (http://www.cutcodedown.com/article/HTML_CSS_and_JS_frameworks)

...by our illustrious forum member "deathshadow", you don't meed any. :D

[/indent]

coothead

I agree 100%.

deathshadow
May 3rd, 2016, 09:38 AM
I'm not the only one promoting that viewpoint either, some people put it more politely than I do.

https://hacks.mozilla.org/2016/04/you-might-not-need-a-css-framework/

No more JS frameworks | BitWorking (http://bitworking.org/news/2014/05/zero_framework_manifesto)

You don't need a framework - BrandonSavage.net (http://www.brandonsavage.net/you-dont-need-a-framework/)


They make you start out with more code, usually make you write more code than you'd have without it or encourage you to do things you shouldn't be doing in the first place, and are not only more to learn, but more work and less sustainable over time. NONE of the claims of them being "easier" or "better" hold water.

... and quite often makes me think the people who promote them have minds like a steel... sieve.

I hear that's the best kind of sieve...

VIPStephan
May 3rd, 2016, 12:58 PM
Leading to my question, I worked myself a little into Angular 2 but I have heard a lot about alternatives, like React etc.. or should I just do it with jQuery and Ajax+JSON file where the texts & links are written in?
What would you suggest me, to realize my wishes. I hope my explaination was understandable and this is the right category I am in! :D

Oh my, the terms you throw around here! All the things you named above should either not even be considered for your application in the first place or otherwise be the very last link in the chain (and f**k Bootstrap, too – not required to make websites responsive!). You are too much thinking in visuals in the beginning when you should actually be thinking in structure and meaning.

A website (especially a simple one that is just supposed to display information to the visitors) should primarily be about the content, not about the looks. It should be usable and conceivable for users with even the lowest-level technology (simply spoken) which means you shouldn’t rely on advanced JavaScript libraries in the first place, and especially not in an early stage of development. Get your website working with just HTML and CSS at first, even if it’s just a more basic implementation than you have in mind eventually. But the important thing is that you write semantic HTML (https://en.wikipedia.org/wiki/Semantic_HTML) (i. e. a well-structured and logical document) so that the site can’t just be looked at by humans but also processed by other technology/devices (e. g. search engines, screen readers, or other parsers that process code and need to make sense of it).

And what you’re actually looking for when you want to “switch content of the projects automatically” is a content management system (CMS), and this has nothing to do with the above mentioned frameworks/libraries. For your site a simple “flat file CMS” might suffice (assuming you are natively speaking German this article might be of use: 20 Flat-File-Systeme im Test (http://trendschau.net/blog/uebersicht-flat-file-cms) althoug they didn’t include a system I’ve worked with in the past called Get Simple (http://get-simple.info/)). If you want to get more advanced Wordpress, Drupal, Joomla, Concrete5, and similar systems are popular (but I really think that might be overkill for a simple site). In any case, you can compare some open source CMSs at Open Source Scripts - OpenSourceCMS (http://www.opensourcecms.com/).

Now, all that JavaScript functionality you might like can and should be implemented after the site is basically working, i. e. as enhancement, not as prerequisite.

BeBo
May 5th, 2016, 10:08 AM
Thank you all very much! You helped me a lot. Feels like a great Forum! :)
I already thought that framworks itself are a bloat.

Well I will follow your tipps, looking into CMS.
I tried to create a Wordpress template a couple months ago, but I can not code php, which is essential.