<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CS202 GDB1 Solution and discussion]]></title><description><![CDATA[<p dir="auto">Discussion Topic</p>
<p dir="auto">Suppose you are working as a web designer and you have developed a website for some client. Your supervisor is concerned with layout of your website. He has conducted a meeting with you to correct issues related to layout of website, so you have to quickly respond to his requirements and change the website layout quickly. After making quick changes, you have to consider the factor of maintainability too. You have been given two options, CSS Inline styling and external styling to style your web pages. So, by considering quick response and maintainability factors, which option you will use for above scenario? Justify your answer with solid points.</p>
]]></description><link>https://community.secnto.com//topic/323/cs202-gdb1-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 19:59:47 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/323.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Aug 2019 19:51:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS202 GDB1 Solution and discussion on Wed, 29 Jan 2020 10:02:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zareen" aria-label="Profile: zareen">@<bdi>zareen</bdi></a> said in <a href="/post/3667">CS202 GDB1 Solution and discussion</a>:</p>
<blockquote>
<p dir="auto">Use AJAX</p>
</blockquote>
<p dir="auto">AJAX is a technique for creating fast and dynamic web pages. AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the whole page.</p>
]]></description><link>https://community.secnto.com//post/3668</link><guid isPermaLink="true">https://community.secnto.com//post/3668</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Wed, 29 Jan 2020 10:02:13 GMT</pubDate></item><item><title><![CDATA[Reply to CS202 GDB1 Solution and discussion on Wed, 29 Jan 2020 10:00:23 GMT]]></title><description><![CDATA[<p dir="auto">Discussion Topic</p>
<p dir="auto">Suppose you are assigned a task to develop a web application for stock exchange market. One of the client requirements is to show the updated stock exchange data of Pakistan, China, America, Australia and India. The data of Pakistan, China America, Australia and India should be updated after every 2 seconds, 4 seconds, 1 second, 6 seconds and 8 seconds respectively. Another requirement is to show summary of updated data of all given countries after every 8 seconds. If you as a developer are provided with the following two options to choose to implement the above requirements, which option would you prefer and why? Support your answer with solid arguments.</p>
<p dir="auto">Option1: Use AJAX</p>
<p dir="auto">Option 2: Reload whole page after each update</p>
<p dir="auto">Give your opinion with solid reasons to support your answer.</p>
]]></description><link>https://community.secnto.com//post/3667</link><guid isPermaLink="true">https://community.secnto.com//post/3667</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Wed, 29 Jan 2020 10:00:23 GMT</pubDate></item><item><title><![CDATA[Reply to CS202 GDB1 Solution and discussion on Fri, 09 Aug 2019 13:06:49 GMT]]></title><description><![CDATA[<p dir="auto">Imagine if your css is in inline styles through a 1000 pages of your site. How an earth can you respond quickly as you would need to change all 1000 pages. With an external stylesheet the changes can be made in seconds and the css is cached for the whole site unlike inline styling.</p>
<p dir="auto">Inline styling is mainly used these days for above the fold rendering on speed critical sites but used very sparingly. Most websites do not need this type of structure if coded correctly in the first place.</p>
<p dir="auto">Avoid inline styling at all costs unless you have a justified use case as mentioned above or perhaps for dynamic styling with js for some special effects.</p>
<p dir="auto">In general stylesheets should be external.</p>
]]></description><link>https://community.secnto.com//post/846</link><guid isPermaLink="true">https://community.secnto.com//post/846</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Fri, 09 Aug 2019 13:06:49 GMT</pubDate></item><item><title><![CDATA[Reply to CS202 GDB1 Solution and discussion on Fri, 09 Aug 2019 13:05:18 GMT]]></title><description><![CDATA[<p dir="auto">External styling all the way. Inline styling may be “quicker” in the short run, but over time, it’s going to be a nightmare to maintain, and the chances of inconsistency grows exponentially…</p>
]]></description><link>https://community.secnto.com//post/845</link><guid isPermaLink="true">https://community.secnto.com//post/845</guid><dc:creator><![CDATA[moaaz]]></dc:creator><pubDate>Fri, 09 Aug 2019 13:05:18 GMT</pubDate></item></channel></rss>