Skriptování v Silverlightu

Dnes jenom stručně. :) Někdo se mě v komentářích u seriálu o skriptování ptal, jestli je možné použít některý ze skriptovacích jazyků pro Silverlight. Podařil se mi najít velmi hezký příklad, kde je porovnání mezi použitím DLR (Dynamic Language Runtime) konkrétně IronPython a jazyka Boo.

Protože implementace jazyka IronPython nad DLR musí mít k sobě ještě poměrně velké množství kódu, slouží tento příklad pro porovnání velikostí, které v případě Silverlightu hrají roli:

IronPython zhruba 1,15 MB
Boo zhruba 46 kB

To může být také významný rozhodovací faktor při volbě skriptovacího jazyka.

Detaily včetně zdrojových kódů můžete najít na projektu Tetrisu (lazunin.com).

Zveřejněno 01 listopadu 09 03:30 by topas

Upozornění na nové komentáře

Pokud chčeš dostávat upozornění emailem na změny u toho příspěvku,tak se zaregistruj zde.zde

Odebírat komentáře k tomuto příspěvku pomocí RSS

Komentář

# .NET i jiné ... said on listopadu 19, 2009 15:39:

Any recommendation for WPF Datagrid? – sice starší (9.4.2008), ale zajímavý přehled Gridů pro WPF plus

# Corporate Logo Design said on ledna 24, 2012 7:39:

I have wanted to learn more about particular topics, but not many websites would help me out in informing me the way I expected. This left me with many question, but after reading your article, I got an answer to all my questions.

# buy viagra online said on února 23, 2012 21:00:

wanna know more about it so add something like rss to keep me post it

# Medford said on července 4, 2012 17:38:

http://www.cogenesys.com/online_colleges.html MBA degree juw http://www.heatherlaforce.com/mba.html technical college =-((( http://www.lanewayhousingvancouver.com/mortgage_refinance.html mortgage refinance rates dlijr

# Gracelyn said on července 15, 2012 9:36:

http://www.painpillsmarket.com/ tramadol :((( http://www.cogenesys.com/art-college.html art school 6503 http://www.myrefinanceratesplace.com/ mortgage 872007

# Gerri said on července 17, 2012 8:15:

http://www.car-insur-online.com/ car insurance 1074 http://www.cogenesys.com/online_colleges.html online degree programs 033704 http://www.dearandfrom.com/mortgage.html mortgage :-]]] http://www.cogenesys.com/mba.html MBA degree ylmret

# Shamsul said on prosince 22, 2014 21:07:

that /PropertyNAme/Changed event should also do the job, but I could never get this work. Again there was much DRY violotian around the ceremony to write INPC properties (until I found notifypropertyweaver).The most difficult thing to learn was  when to use what features. Between MVVM, property and data triggers  which I have now learned are in one group, separate from  event triggers, Converters, and templates, i had (and still often don't) no idea which tool is right to implement a given feature in my application.I don't give up. I did put it on the back burner for many months.My prior experience was web circa 1995-2002, GTK+ and Winforms.The best resources were(and continue to be) coworkers and stack overflow.A huge gripe of mine is that all of the book that I have read (Unleashed, Code+Markup, Programming[o'reilly], and Essential) cover the basic features but none show how to apply them, so you are really left with more questions than answers. When do I use a Converter instead of binding to a dependent property in my view model? When do I bind to view model properties instead of simply using a style and property or data trigger?Another  problem  with the learning process is that its very easy to read the WPF books and skip or quickly skim the chapter (or chapters in all 4 books I read) on animation. This is a huge mistake. I blame the book authors for calling it animation. Its not. Those chapters should be called Application State Management. In every case I've found the event trigger topics are buried in the animation chapters and it is by far the most important topic for keeping a nice UI (please wait spinners, etc) and really has little to do with animation. Event Triggers can imply an entire state machine letting me write far less code, but none of the texts I've read spell this out. They do spell out  oh yeah, if you want animations do this.  This is a disservice to readers.

# Mattie said on ledna 6, 2015 9:54:

Hats off to whoveer wrote this up and posted it. http://qnixcmfwzkq.com [url=http://lnbjeildbm.com]lnbjeildbm[/url] [link=http://dsdrii.com]dsdrii[/link]

# Cami said on ledna 20, 2015 12:00:

 [url=http://cheapestcarinsurancech.com]car insurance provider[/url]

# Bunny said on ledna 26, 2015 3:23:

 [url=http://buyviagrara.com]buy viagra[/url]

# Jennica said on února 9, 2015 20:13:

discounts [url=http://autoinsuranceny.club]insurance quotes auto[/url] insurance suits e.g. [url=http://carinsurancepa.pw]online PA  car insurance[/url] might allow multiple [url=http://carinsurancega.website]cheap insurance quotes[/url] people

# Janaya said on května 8, 2015 5:52:

point [url=http://collegeessayshelp.info/essays-online.htm]essays online[/url] both analysis [url=http://collegeessayshelp.info/buy-research-paper.html]buy research paper[/url] nothing about see [url=http://collegeessayshelp.info/writingservices.htm]writing services[/url] further revising extremely important [url=http://collegeessayshelp.info/college-essay-writing.html]online homework help[/url] knowledge post [url=http://collegeessayshelp.info/custom_research_papers.htm]proofreading services[/url] specific health run without [url=http://collegeessayshelp.info/college-essay-writing-help.html]college essay writing help[/url] place

# Deandra said on května 9, 2015 12:15:

transforming [url=http://domyessay.top/writinganessay.html]writing an essay[/url] them understanding [url=http://domyessay.top/buy_essay.html]custom writing[/url] essay weaknesses [url=http://helpwithessays.top/essay-writing-service.html]essay writing service[/url] often main acronyms [url=http://doessayonline.top/help-with-homework.html]do my essay[/url] discipline fatigue [url=http://domyessay.top/customessaywriting.html]essay writing[/url] related ideas write fastest [url=http://essaywriter.top/write_my_essay.htm]write my essay[/url] once

Vytvoření nového komentáře

(povinný) 
(nepovinný)
(povinný) 
Opiš čísla, která vidíš na obrázku:
Vyvojar.cz na prodej!