Open main menu

lensowiki β

Changes

Computer Science/164/HW3

1,103 bytes added, 08:00, 21 November 2009
Part 3: What features specifically will your language support
There are not currently any languages or libraries that solve this problem. The closest thing to it is an HTML form application that takes in a few parameters and a list of name-link pairs and spits out the HTML, CSS, and JavaScript code to draw the described navigation bar. Although this does allow users to create navigation bars quickly and easily, it has several limitations. The first is the fact that the navigation bar can only be customized using the very limited set of parameters the creators of that program allow you to specify. Our program will give users access to a much broader set of CSS attributes. Secondly, the navigation bar is inconvenient to change down the road; the customer would have to essentially create a new navigation bar from scratch, find the code of the original navigation bar, and replace it. Our program has a file for the navigation bar that can easily be modified, and since the navigation bar is generated dynamically, the changes can take effect immediately.
==Part 3: What features specifically will your language support==# The domainSome sample programs were listed above. Give Here's a list of few more. *Design a few small programs that you hope to be able to write in your languagesimple, horizontal navigation bar with three elements which have a tab-like appearance.<pre><nowiki>{ layout: horizontal; element-style: rounded-tab; }*One | /one*Two | /two*Three | /three</nowiki></pre> *Design a vertical navigational bar with sections and subelements (all shown together)<pre><nowiki>{ layout: vertical; }*Roadmap | /roadmap.html*Projects | /projects*Coding | /developer{ direction: same; marker: dot; }**Module Owners | /about/owners. These will guide your html</nowiki></pre> *Design a horizontal navigation bar with drop-down menus<pre><nowiki>{ layout: horizontal; }*About us{ direction: below; }**Directors | /directors**Developers | /developers**Users | /users*Support**FAQs | /faq**Knowledge Base | /kb</nowiki></pre> While this language designdoes not provide true objects, some code reuse is possible.# Give Existing menus can be embedded in larger ones by simply prepending all the elements with an outline of additional '*' character (or more than one, depending on how deeply in the programming model of your languagenavigational hierarchy you are inserting the nav bar). What are The <tt>direction</tt> keyword effectively controls the interaction between these navigation bars and their relationship to each other. Furthermore, some "objectsinheritance" in your language? What operations -like features make the task easier for the web developer. For example, the <tt>direction</tt> keyword needs to be specified only on these objects will you allow? How will you combine small programs into bigger ones, hiding the implementation details of first submenu and is automatically applied to all the sibling submenus in the smaller ones (what abstraction mechanism will you support, if any?)hierarchy. CSS properties are inherited by child menus from their parents.
==Decide on the implementation==
1,277
edits