{"id":242,"date":"2008-04-13T09:46:55","date_gmt":"2008-04-13T14:46:55","guid":{"rendered":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=242"},"modified":"2008-04-13T09:48:55","modified_gmt":"2008-04-13T14:48:55","slug":"silverlight-aggravation-accounting-basics-for-programmers-and-storefront","status":"publish","type":"post","link":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=242","title":{"rendered":"Silverlight Aggravation, Accounting Basics For Programmers, And Storefront"},"content":{"rendered":"<p>Last week I wasted a lot of time on <strong>Silverlight<\/strong>. I used the word &#8220;<em>wasted<\/em>&#8221; because after putting a lot of time in a project I discovered that it is impossible to create a simple hyperlink! I could scarcely believe it but the hot new Microsoft technology that is supposed to revolutionize the Internet with rich client web applications can&#8217;t even create a simple hyperlink! You are supposed to follow the convoluted instructions on &#8220;<em>Simulating a Hyperlink using the TextDecorations Property<\/em>&#8221; from the SDK. WTF!! This makes Silverlight pretty useless for web development because you can hardly create a web application without using hyperlinks. I did update my Silverlight 1.0 SDK from the Release Candidate version to the Release To Web version and carefully researched some other Silverlight aggravations. I&#8217;ll have to move on to Silverlight 2.0 but you need Visual Studio 2008 to create a project for Silverlight 2.0.<\/p>\n<p>I&#8217;ve started to read a book on accounting, <a href=\"http:\/\/www.amazon.com\/Alpha-Teach-Yourself-Personal-Finance\/dp\/0028636198\">Alpha Teach Yourself Personal Finance in 24 Hours<\/a> by Janet Bigham Bernstel and Lea Saslav. I don&#8217;t intend to get too deep into accounting but I want to know the basics so I can understand a system that I&#8217;ll be working on. The hotshot software engineers (I&#8217;m thinking Jeff Atwood) write a lot about learning source control, unit testing, and other high end computer science topics but they probably would not urge their readers to study accounting to become a better programmer. However, accounting is definitely an important real world skill for the business programmer. <\/p>\n<p>Yesterday I added another minor Storefront 6.0 customization to my knowledge base. I needed to add a class to some tables so I could reference them in CSS for the print media style. This requires a minor change in the compiled code because the HTML is dynamically generated in the XEUITools project. If you did not have access to the source code for Storefront I suppose you could accomplish this using jQuery to add a class to the table but this would be a fragile solution because you would need to base it on the table count. That needs some further explanation. There is a collection of table elements in the web page&#8217;s document object model (DOM) so you can reference a particular table by its index number. However, if you later add another table its index number will change so that is not a reliable method.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week I wasted a lot of time on Silverlight. I used the word &#8220;wasted&#8221; because after putting a lot of time in a project I discovered that it is impossible to create a simple hyperlink! I could scarcely believe &hellip; <a href=\"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=242\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,12,11],"tags":[25,28,24,26,27],"_links":{"self":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/242"}],"collection":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=242"}],"version-history":[{"count":0,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/242\/revisions"}],"wp:attachment":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=242"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}