Question

In: Computer Science

a style sheet was not new with HTML and even today other languages use a similar...

a style sheet was not new with HTML and even today other languages use a similar approach. JavaFX uses an almost identical style definition as CSS for its style sheets. .NET's Windows Presentation Foundation (WPF) uses an XML like style definition in a language named XAMLAll these different technologies have one thing in common: they separate what is being displayed from how it is being displayed. Why? What is the benefit of doing so, if any? What are the drawbacks, if any? For those of you who may have taken a software architecture/engineering class, the style sheet follows a, currently, very popular architecture, do you know what it is?

120 WORDS MINIMUM

Solutions

Expert Solution

Please find the answer.

Modern times the architechture used is MVC architechture. This seperates the data from the view.

Imagine you happen to go at a restaurant and you order a pizza. Lets say there is only a single person, who takes your order and goes to the kitchen, makes the pizza for you, and also does the job of catering you.

There are many problems with this method. The person cannot specialize in anything. It looks awful and many other things. It makes a huge sense to have a waiter, have some cooks, and have a receptionist(for lack of words), who do their own jobs.

Processing data, in one sense, does not have any connection with how the data is being processed. There would be business rules, which have no connection with how data is being displayed. Example: Waiter has nothing to do with what item I need to serve, but he only has to deal with "Have i served what i got properly." Waiter needs to serve properly what is being given to him.

Similar is true with CSS. CSS simply deals with how the data is being shown to the user. It has nothing to do with what data is being shown. HTML is the bare bones and CSS is like the clothing, and detailed clothing to the person.

Thanks


Related Solutions

Use a style sheet to define the following rules and implement the given HTML code. Please...
Use a style sheet to define the following rules and implement the given HTML code. Please put your style information within the same file as the HTML code. Rules • Hyperlinks using the nodec class should display no decoration. • Hyperlinks should display text in white with a green background color when the mouse pointer is held over the link. (use the hover pseudo-class) • Unordered lists not nested within any other lists should be displayed in blue text and...
this is done in HTML In footer, use HTML tags/style of your choice to explain steps...
this is done in HTML In footer, use HTML tags/style of your choice to explain steps you took to add css file and _Layout. Should include the following: Folder structure Short description of what layout does You should not include the content of css or how you defined your css
Using brackets you will need to create the HTML page and CSS style sheet for the...
Using brackets you will need to create the HTML page and CSS style sheet for the given Form example. Form 1: create an HTML page with a form that contains a text input field. The label for the text field should be “City”. Beneath it should be a submit button “Lookup”. Place a horizontal line beneath the Lookup button and add three radio buttons labeled “Beginner”, “Intermediate”, and “Advanced”. Your page should have a title and a header in the...
Overview Students will learn how to use block-level <div> elements in HTML and style them with...
Overview Students will learn how to use block-level <div> elements in HTML and style them with CSS to transform them using various properties such as: position top, left, right, bottom float border border-radius background-color etc. Related Lecture(s) Module 2: Lecture #3 - The Box Model & Positioning Elements Basic Content Create a folder on your local machine in the "csis1430/htdocs" folder called "little-boxes" with the following folder structure: css img js Create an index.html file with multiple (as many as...
Bruin Inc. is investing in a new project with similar risk profile as its other projects....
Bruin Inc. is investing in a new project with similar risk profile as its other projects. Considering that the cost of equity is 11.7%, the cost of debt is 6.6% and the company's tax rate is  35%, what is the appropriate discount rate for the project if the debt/equity ratio is 0.5? Select one: a. 9.1500% b. 8.3000% c. 9.2300% d. 7.9950% e. 6.7600%
Today, you open a new savings account and deposit $3,000. No other deposits or withdrawals are...
Today, you open a new savings account and deposit $3,000. No other deposits or withdrawals are made to your account. Assume you will earn 4% simple interest per year. How much will your investment be worth in 25 years?
Today, you open a new savings account and deposit $3,000. No other deposits or withdrawals are...
Today, you open a new savings account and deposit $3,000. No other deposits or withdrawals are made to your account. Assume you will earn 4% simple interest per year. How much will your investment be worth in 25 years
Today, you open a new savings account and deposit $3,000. No other deposits or withdrawals are...
Today, you open a new savings account and deposit $3,000. No other deposits or withdrawals are made to your account. Assume you will earn 4% simple interest per year. How much will your investment be worth in 25 years?
P16-31 (similar to) Info Systems Technology​ (IST) manufactures microprocessor chips for use in appliances and other...
P16-31 (similar to) Info Systems Technology​ (IST) manufactures microprocessor chips for use in appliances and other applications. IST has no debt and 200 million shares outstanding. The correct price for these shares is either $ 15.25 or $ 11.25 per share. Investors view both possibilities as equally​ likely, so the shares currently trade for $ 13.25 . IST must raise $ 550 million to build a new production facility. Because the firm would suffer a large loss of both customers...
The Airport Shuttle Services Inn provides the following balance sheet, income statement and other information. Use...
The Airport Shuttle Services Inn provides the following balance sheet, income statement and other information. Use this information to complete a Statement of Cash Flows using the Indirect Method. Airport Shuttle Services: Balance Sheets 12/31 20X1 20X2 ASSETS Cash $ 34,000 $ 56,000 Accounts Receivable    30,000    20,000 Prepaid Expenses    0      4,000 Land    0 130,000 Building    0 160,000 Equipment    10,000     27,000 Accumulated Depreciation    0    (14,000) Total Assets $ 74,000 $ 383,000...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT