Warning: call_user_func_array() expects parameter 1 to be a valid callback, class '' not found in /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/class-wp-hook.php on line 324
Warning: Cannot modify header information - headers already sent by (output started at /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/class-wp-hook.php:324) in /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/class-wp-hook.php:324) in /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/class-wp-hook.php:324) in /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/class-wp-hook.php:324) in /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/class-wp-hook.php:324) in /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/class-wp-hook.php:324) in /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/class-wp-hook.php:324) in /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831
Warning: Cannot modify header information - headers already sent by (output started at /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/class-wp-hook.php:324) in /srv/disk3/3488897/www/designenterprisestudio.com/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":1528,"date":"2022-05-26T12:22:13","date_gmt":"2022-05-26T12:22:13","guid":{"rendered":"https:\/\/designenterprisestudio.com\/?p=1528"},"modified":"2022-05-30T09:18:17","modified_gmt":"2022-05-30T09:18:17","slug":"libraries-frameworks","status":"publish","type":"post","link":"https:\/\/designenterprisestudio.com\/2022\/05\/26\/libraries-frameworks\/","title":{"rendered":"Libraries & Frameworks"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
Libraries and frameworks for a budding front end developer<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t
by Cameron Tebbenham-Small, Design Enterprise Studio Member, March 2022<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t
So, you\u2019ve made your first website, maybe even a few, but now you want to look ahead and advance to an intermediate level. Let me introduce you to the wonderful world of CSS and JavaScript libraries frameworks by exploring a few that I have used in my own workflows. But firstly, what are frameworks and libraries and how do they differ?<\/strong><\/p>
A coding library is a collection of standard functionalities \u2013 pieces of reusable code that enable developers to skip a great many steps that have likely already been accomplished by developers before them. These could be maths functions, interactive web-forms or other that are then inserted into your code as a supplementary function. Think of it like adding an extra chair to your room \u2013 you\u2019ve already done some decorating, but don\u2019t want to build a full new Ikea chair so get something premade that fits the job.<\/p>
If a library is like a piece of furniture, a framework is the entire room \u2013 if not the entire house. A framework sets the shape and layout of your website\/webapp in a fundamental way. They are the scaffolding for your entire project, which more often than not may happen to also contain libraries inside of it. This is extremely useful if you intend to make things like single page applications with optimised UI rendering, want to neatly structure every aspect of your project or don\u2019t want to code every single function from scratch.<\/p>
As a front-end developer, I\u2019ll be focusing on a couple different frameworks for both CSS and JavaScript \u2013 but will for the most part skip explanations about back-end support.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
CSS frameworks can be boiled down into two main categories \u2013 those that pre-style elements and those that don\u2019t. The former is often easier to learn, while the latter offers more choice in how you style your elements. As such I will discuss one of each that I have personally used.\u00a0<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t
You cannot search for a CSS framework without seeing Bootstrap, and for good reason. Initially branded \u201cTwitter Blueprint\u201d and created by a couple of developers at Twitter to encourage styling consistency, it became often source and freely available in 2011. That is, essentially, the purpose of all CSS frameworks \u2013 consistency. The more consistent your styling within a website, the better the flow of navigation, information and efficiency for the end user.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t
Bootstrap\u2019s own website describes itself as being a customisable \u201cresponsive mobile-first\u201d tool that features grid systems, prebuilt components and JavaScript plugins. It even features support for Sass \u2013 an extension for CSS that enables a host of extra functionality such as in-CSS nesting, mixins etc, a potential topic for further reading. Bootstrap is highly desirable for its ease of use and responsive structure, as evident in the fact that according to Stack Share even in 2022, over 50,000 companies use bootstrap. These include big names such as Twitter, Udemy, Spotify, Snapchat and more.<\/p>
\u00a0<\/p>
\u201cBootstrap is highly desirable for its ease of use and responsive structure\u201d<\/em><\/p>
\u00a0<\/em><\/p>
Bootstrap is also one of the easiest CSS frameworks to dive into as as many of the elements (such as buttons) come pre-styled. Documentation is extensive and Bootstrap has a vibrant community that is always coming up with new themes and styles.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t