"μλμ°8 μ± κ°λ° κ°μ΄λ" μ± μμ€λ₯Ό 곡κ°ν©λλ€. data.js νμΌκ³Ό html/css μμ λ§μΌλ‘ μ νλΈμ μ¬λ¦° λλ§μ λΉλμ€λ₯Ό κ°μ§κ³ μλμ°8 μ±μ λ§λ€ μ μμ΅λλ€.
[μ± μν]
Windows μ€ν μ΄μμ "μλμ°8 μ± κ°λ° κ°μ΄λ" 보기 : http://apps.microsoft.com/windows/app/windows-8/769f42d0-870a-4b21-93c0-d2ac1497972a
[μμ€ λ€μ΄λ‘λ]
AppDevBook νλ‘μ νΈ νμ΄μ§(https://github.com/rghwang/AppDevBook ) μμ μλ¨ λ©λ΄μ ZIP λ²νΌμ ν΄λ¦νμ¬ νλ‘μ νΈ μμ€μ μμΆνμΌμ λ€μ΄λ‘λ λ°μ΅λλ€.
[μ¬μ©λ°©λ²]
-
AppDevBook.sln νλ‘μ νΈ νμΌμ Visual Studio 2012μμ μ΄κ³ , js ν΄λμ data.js νμΌμ μ΄μ΄μ λμμ κ·Έλ£Ή μ 보λ₯Ό μμ ν©λλ€.
var sampleGroups = [ { key: "group1", title: "JavaScriptλ₯Ό μ΄μ©ν μ± κ°λ°", subtitle: "Windows 8 μ€ν μ΄ μ± κ°λ°", backgroundImage: darkGray }, { key: "group2", title: "C#λ₯Ό μ΄μ©ν μ± κ°λ°", subtitle: "Windows 8 μ€ν μ΄ μ± κ°λ°", backgroundImage: darkGray }, ];
κ° λμμ κ·Έλ£Ήμ κ°―μ λ§νΌ { key:... } λΆλΆμ μΆκ°ν©λλ€. κ° κ·Έλ£Ή λ€μλ μ½€λ§(,)κ° λ€μ΄κ°μΌ ν©λλ€. keyλ κ° κ·Έλ£Ήμ κ³ μ μ΄λ¦μ΄ λ€μ΄κ°λ©΄ λκ³ (group1, group2, group3,...), titleμλ κ·Έλ£Ήμ μ΄λ¦, subtitleμλ λΆμ κ° λ€μ΄κ°λ©΄ λ©λλ€.
-
κ°μ νμΌμμ κ° κ·Έλ£Ήλ³ λμμ νλͺ©λ€μ λν μ 보λ₯Ό μμ ν©λλ€.
var sampleItems = [ { group: sampleGroups[0], title: "μ€λΉνκΈ°", subtitle: "λ§ν¬", description: "κ°λ°μ μν΄ νμν ν΄ μ€μΉ νμΌκ³Ό νλ‘μ νΈμ μ€μ΅ μλ£κ° ν¬ν¨λ νΈλ μ΄λν· λ€μ΄λ‘λ", content: "λ³Έ κ°μ’μ λ΄μ©μ λ°λΌμ μ€μ΅νκΈ° μν΄μλ Windows 8μ Visual Studio 2012κ° νμν©λλ€. μλ λ§ν¬μμ Visual Studio 2012λ₯Ό λ€μ΄λ‘λ λ°μΌμΈμ. <br /><a href='http://msdn.microsoft.com/ko-kr/windows/apps/br229516'>Visual Studio 2012 μ€μΉ</a><br /><br />μ΄ μ€μ΅μ μ¬μ©λ μν μ½λ λ° νμΌλ€μ μλ λ§ν¬μμ λ€μ΄λ‘λ ν μ μμ΅λλ€.<br /><a href='http://www.microsoft.com/en-us/download/details.aspx?id=29854'>νΈλ μ΄λν· λ€μ΄λ‘λ</a>", backgroundImage: lightGray }, { group: sampleGroups[0], title: "Windows μ€ν μ΄μ±μ μν νλ«νΌ", subtitle: "μ€λͺ ", description: "μ€ν μ΄μ±μ κ°λ°νκΈ° μν΄μ κΈ°λ³Έμ΄ λλ Windows RT νλ«νΌμ λν΄μ μμλ΄ λλ€.", content: "", videoId: "RhuaH6t6CtM", backgroundImage: darkGray }, ];
κ° λμμ νλͺ©λ€μ { group:... } λ‘ μ μν©λλ€. κ° νλͺ©λ€μ λ§μ§λ§μ μ½€λ§(,)λ‘ κ΅¬λΆν΄μΌ ν©λλ€. sampleGroups[μ«μ]μμ μ«μλ λμμ νλͺ©μ΄ μνλ κ·Έλ£Ήμ μλ―Έν©λλ€. 0λΆν° μμνλ μΌλ ¨λ²νΈλ₯Ό κ°μ΅λλ€.(3λ²μ§Έ κ·Έλ£Ήμ μν νλͺ©μ sampleGroups[2]μ κ°μ΄ μμ ) λμμ νλͺ©λ€μ λν μ 보λ₯Ό κ°κ° title(μ λͺ©), subtitle(λΆμ ), description(μ€λͺ ), content(λμμ νμ΄μ§μ μΆκ°ν λ΄μ©), videoId(μ νλΈ λΉλμ€ ID)μ κ°μ΄ μΆκ°ν©λλ€. μ νλΈ λΉλμ€ IDλ μ νλΈ λμμ νμ΄μ§μμ μ£Όμ μ°½μ λ§μ§λ§ 11μ리 μ½λλ₯Ό 볡μ¬ν΄μ μ λ ₯νλ©΄ λ©λλ€.
-
pages/items ν΄λμ μλ items.html νμΌμμ μλ λΆλΆμ μμ ν©λλ€. μ± μ²«νλ©΄μμ νμλλ μ λͺ© νμ΄νμ λνλ λλ€.
<span class="pagetitle">Windows 8 μ± κ°λ° κ°μ΄λ</span>
-
js ν΄λμ default.js νμΌμ κ°μΈ μ 보 λ³΄νΈ μ μ± νμ΄μ§μ URLμ μμ ν©λλ€.
var uri = Windows.Foundation.Uri("http://uxfactory.tistory.com/10");
μΈν°λ· μ μμ νλ λͺ¨λ μ±μ μ€ν μ΄ μΈμ¦ μꡬμ¬νμ λ°λΌμ κ°μΈ μ 보 λ³΄νΈ μ μ± νμ΄μ§μ λ§ν¬λ₯Ό μ 곡ν΄μΌ ν©λλ€. μ± μ μΆ μμ μ€λͺ μλ κ°μ URLμ λ°λμ μΆκ°ν΄μΌ ν©λλ€. κ°μΈ μ 보 λ³΄νΈ μ μ± νμ΄μ§μλ "κ°μΈ μ 보λ₯Ό μμ§νμ§ μμ΅λλ€."μ κ°μ μ΅μνμ μ μ ν λ¬Έκ΅¬κ° μ 곡λλ©΄ λ©λλ€.
- images ν΄λμ λ‘κ³ νμΌ(logo.png, smalllogo.png, storelogo.png, widelogo.png)μ μ€νλ μ μ€ν¬λ¦° μ΄λ―Έμ§(splashscreen.png)λ₯Ό κ΅μ²΄ν©λλ€. κΈ°μ‘΄ νμΌ μ΄λ¦κ³Ό λμΌνκ² νκ³ , μ¬μ΄μ¦λ μλμ κ°μ΄ μ ννκ² μ 곡ν΄μΌ ν©λλ€.
logo.png - 150 x 150 px
smalllogo.png - 30 x 30 px
storelogo.png - 50 x 50 px
widelogo.png - 310 x 150 px
splashscreen.png - 620 x 300 px
[μ°Έκ³ ] μλμΌλ‘ νμν μ¬μ΄μ¦μ μμ΄μ½μ μμ±ν΄μ£Όλ ν΄ : https://github.com/DavidBurela/WindowsMarketplaceIconMaker
- package.appxmanifest νμΌμ μ± λ΄μ©μ λ§κ² μμ ν©λλ€. μμ ν΄μΌ ν λΆλΆμ μλμ κ°μ΅λλ€.
[Application UI] ν
Display name : μ± μ΄λ¦
Description : μ±μ λν μ€λͺ
[Packaging] ν
Package display name: μ± μ΄λ¦
Publisher display name: μ 곡μ μ΄λ¦
- F5λ₯Ό λλ¬μ κ²°κ³Όλ₯Ό νμΈνκ³ , Project-Store-Create App Package λλ Store-Create App Package λ©λ΄λ₯Ό μ€νν΄μ μ€ν μ΄ μ μΆμ© ν¨ν€μ§λ₯Ό μμ±ν©λλ€.