CSE 3901 – MIDTERM 2 EXAM (ACTUAL EXAM)
WITH CORRECT QUESTIONS AND WELL
ANSWERED ANSWERS LATEST WELL GRADED
A+
Practice questions for this set
Learn 1 /7 Study with Learn
Terms in this set (118)
What is static site generation? Using a program to produce HTML pages
(kind of like compiling programs)
Middleman
what are the source files used in .md
SSG? .erb
.scss
, What is Middleman? A ruby Gem
the project is its own directory
lots of subdirectories for css, images, etc
Compile the source files like a program
can then copy to any location
What are the three benefits of using 1. Code reuse and single point of control (visual
a program for Static Site identity)
Generation? 2. Authoring of content in a language that is more
human-friendly (improved syntax)
3. Parameterized generation of markup and
content (content generation)
Describe Visual Identity (code -Having common headers and footers and
reuse/single POC) Motivation making the whole website have a base design for
every page
-duplicated code ruins single POC
-Solution: putting common HTML in one file (a
partial) and every page includes it
What is ERb? Embedded Ruby
-things like <% code %> <%= expr %> and <%# text
%>
How to generate a site save source files as html.erb
>> bundle exec middleman build
this then makes them .html
WITH CORRECT QUESTIONS AND WELL
ANSWERED ANSWERS LATEST WELL GRADED
A+
Practice questions for this set
Learn 1 /7 Study with Learn
Terms in this set (118)
What is static site generation? Using a program to produce HTML pages
(kind of like compiling programs)
Middleman
what are the source files used in .md
SSG? .erb
.scss
, What is Middleman? A ruby Gem
the project is its own directory
lots of subdirectories for css, images, etc
Compile the source files like a program
can then copy to any location
What are the three benefits of using 1. Code reuse and single point of control (visual
a program for Static Site identity)
Generation? 2. Authoring of content in a language that is more
human-friendly (improved syntax)
3. Parameterized generation of markup and
content (content generation)
Describe Visual Identity (code -Having common headers and footers and
reuse/single POC) Motivation making the whole website have a base design for
every page
-duplicated code ruins single POC
-Solution: putting common HTML in one file (a
partial) and every page includes it
What is ERb? Embedded Ruby
-things like <% code %> <%= expr %> and <%# text
%>
How to generate a site save source files as html.erb
>> bundle exec middleman build
this then makes them .html