倧ããªããŒã¿ããããã¯ãã§ãŒã³ãã¢ãžã£ã€ã«ããã®ä»ã®ãã±ããç§åŠã¯ãããŸããã ããããæã人æ°ã®ããã¢ããªã±ãŒã·ã§ã³ãåäœããAPIã«ã€ããŠèª¬æããŸãã ãã®èšäºã®äŸ¡å€ã¯ãç»æçãªã¢ã€ãã¢ã§ã¯ãªããæãèŠæ±ã®å³ãããªãŒãã£ãšã³ã¹ã®1人ããã倧èŠæš¡ãªã¢ããªã±ãŒã·ã§ã³ã§æ©èœããã¢ãããŒããšãã©ã¯ãã£ã¹ã«ãããŸãã
ç§ãã¡ã®çµéšããèªè ã補åãæ¹åããæãéèŠãªããšãšããŠã¹ã±ãŒã©ãã«ã«ããã®ã«åœ¹ç«ã€ããšãé¡ã£ãŠããŸãã
è°è«ãããããš
Sberbank Onlineã®ã¢ãã€ã«ããã³ãŠã§ãã¢ããªã±ãŒã·ã§ã³ã§ã®æ¯æãã·ããªãªã®ä»çµã¿ãã€ãŸããã¢ããªã±ãŒã·ã§ã³ãšãµãŒããŒåŽã®éã®APIã«ã€ããŠèª¬æããŸãã
APIã«æ³šç®ããçç± ãã¹ãŠãåçŽã§ã-ããã¯ãå®éã«ã¯ã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ãšããã¯ãšã³ããæ¥ç¶ããå¯äžã®ããªããžã§ãã ãããžã§ã¯ããå°ããå Žåã¯ãAPIãç°¡åã«å€æŽããã¢ããªã±ãŒã·ã§ã³ãæžãæããããšãã§ããŸãã ãã ãããããžã§ã¯ãã倧èŠæš¡ãªå ŽåïŒç§ãã¡ã®ãã®ãªã©ïŒãAPIãå°ãã§ãå€æŽãããšãããã³ããšã³ããšããã¯ãšã³ãã®äž¡æ¹ã§å€§éã®ãªãœãŒã¹ãå¿ èŠã«ãªããéåžžã«é«äŸ¡ã«ãªããŸãã 2çªç®ã®ãã€ã³ã-APIãä¿®æ£ããã®ãæ©ããã°æ©ãã»ã©ãããã³ãããŒã ãšããã¯ããŒã ã®éçºãæ©ããããšãã§ããŸãã 圌ãã¯ãã äžç¹ã«éãŸãå¿ èŠããããŸãã
ãŸããæ©èœãšå¶éã«ã€ããŠå°ã説æããŸãããã®ãããå¥ã®ãœãªã¥ãŒã·ã§ã³ã§ã¯ãªããããéžæããçç±ãæ確ã«ãªãã次ã«APIãããã³ã«èªäœãæäžäœã«æ瀺ããŸãã
ç¹ç°æ§ãšåæ©ä»ã
ã¢ããªã±ãŒã·ã§ã³ã¯çŽ æŽãããã§ãã ãã®èšäºãæžãããšããAndroidã®Sberbank Onlineã¢ããªã±ãŒã·ã§ã³ã¯çŽ80äžè¡ã®ã³ãŒããå æããiOSã§ã¯500,000è¡ã®ã³ãŒããå æããŠããŸããã ãããŠãããã¯ãã©ã°ã€ã³ã©ã€ãã©ãªãªãã®åãªãã³ãŒãã§ãã
äžäœäºææ§ãšå€ãã®ãŠãŒã¶ãŒã MAU-ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã®3,200äžäººã®ã¢ã¯ãã£ããŠãŒã¶ãŒã ãŸããAPIã¬ãã«ã§äžäœäºææ§ããªãå Žåãå šåœã®å€ãã®ãŠãŒã¶ãŒãã¢ããªã±ãŒã·ã§ã³ãå床ããŠã³ããŒãããå¿ èŠããããŸãã ããã¯éåžžã«æªãã§ãã ã¡ãªã¿ã«ããããã³ãŒãã®æ°ãå€ãçç±ã®1ã€ã§ãã
Sberbank Onlineã¯å€ãã®å°ããªããŒã ãéçºããŠããŸãã ãããããSberbankã§ã¢ãžã£ã€ã«ã«ã€ããŠèããããšãããã§ãããã 確ãã«ã9人ã®ããŒã ã§ã¢ãžã£ã€ã«ã«åãçµãã§ããŸãã
ãã³ãã³ã°ã¢ããªã±ãŒã·ã§ã³ïŒãã³ãã³ã°ã¢ããªã±ãŒã·ã§ã³ã®æ©èœã¯éåžžã«æ¥éã«æé·ããŠããã«ããããããããªã¢ãŒããã³ãã³ã°ã§çºçããäž»ãªããšã¯ãã·ãŒã±ã³ã·ã£ã«ããã»ã¹ïŒã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ã®åŠçïŒã§ãã ãã®ãããªããã»ã¹ãã¯ãŒã¯ãããŒãšåŒã³ãŸãã ãããã®ã¢ããªã±ãŒã·ã§ã³ã«ã¯ããŸããŸãªçš®é¡ããããéè¡ã®åšèŸºã«ããçžäºæ¥ç¶ãããèšå€§ãªæ°ã®ãµãŒãã¹ã«ãã£ãŠåŠçãããŸãã
2çš®é¡ã®ããŒã ã ãã©ãããã©ãŒã ã®ãã®ããããŸã-ã¢ããªã±ãŒã·ã§ã³ã³ã¢ã®éçºãæ åœããŸãã ãŸããæ©èœã³ãã³ãããããŸã-ãã©ãããã©ãŒã ãæäŸããã¢ãŒããã¯ãã£ãšããŒã«ã䜿çšããŠããšã³ããŠãŒã¶ãŒåãã®ã¢ããªã±ãŒã·ã§ã³æ©èœãäœæããŸãã
ãªã ããã£ãã«ã éåžžã«éèŠãªè©±ã äœåºŠããããã³ã°ãéçºããªãããã«-ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãšWebããŒãžã§ã³ãATMã§å¥ã ã«ããã¹ãŠã®ãã£ãã«ã§APIãã§ããéãé¡äŒŒãããå¿ èŠããããŸãïŒå°ãªããšãåçæ§é ã¯åãã§ãªããã°ãªããŸããïŒã
ã¢ãã€ã«ã¢ããª
ããŒã¿ã¯åçã«å€åããŸãã ã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã§æãäžè¬çãªæäœã¯ãæ¯æããšæ¯æ¿ã§ãã ãŠãŒã¶ãŒãå ¥åããå¿ èŠãããäžé£ã®ãã£ãŒã«ãã§ãããµãŒãã¹ãããã€ããŒã®è©³çŽ°ã¯ãé »ç¹ã«å€æŽãããå¯èœæ§ãããåçãªæ å ±ã§ãã
ãã ãããŠãŒã¶ãŒãã¢ããªã±ãŒã·ã§ã³ãããã€ã¹ã«ã€ã³ã¹ããŒã«ããåŸãã¢ããªã±ãŒã·ã§ã³ãæŽæ°ããããšã¯ã§ããŸãã ã 圌ããã§ããããã§ãã å€ãã®å Žåãããã«ã¯æ£åœãªçç±ããããŸããããšãã°ãOSããŒãžã§ã³ãæŽæ°ããããã«å¿ èŠãªã¢ããªã±ãŒã·ã§ã³ãæŽæ°ãããã®ããã«æ°ããé»è©±ãè³Œå ¥ããå Žåã§ãã ãããã£ãŠãã¢ããªã±ãŒã·ã§ã³ããªãªãŒã¹ããã«ããŒã¿ãå€æŽã§ãããœãªã¥ãŒã·ã§ã³ãå¿ èŠã§ãã
ã¢ãã€ã«ã€ã³ã¿ãŒãããïŒã€ã³ã¿ãŒããããäžå®å®ã§äœéãªå Žåã§ããã¢ããªã±ãŒã·ã§ã³ã¯ã©ãã§ãåäœããã¯ãã§ãã ãããã£ãŠãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ãšãµãŒããŒåŽã®éã®ã¡ãã»ãŒãžã®ãµã€ãºãšæ°ãåžžã«äºããŸãã
æé«ã®ã«ã¹ã¿ããŒãšã¯ã¹ããªãšã³ã¹ïŒç§ãã¡ã¯ãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³éçºã®ããã®åºæ¬æè¡ã§ããæ¯åœèªã§ã®éçºãéžæããŸããã ããã¯ãæé«ã®é¡§å®¢äœéšãåŸãããã®å¯äžã®æ¹æ³ã§ãã
ãããã®ãã¹ãŠã®èŠä»¶ãèŠçŽããã«ã¯ãã¢ããªã±ãŒã·ã§ã³ã¯æ¯åœèªã§éçºãããåå©çšå¯èœãªã³ã³ããŒãã³ããå éšã«æã€å¿ èŠããããŸãããåæã«ãã¹ãŠã®ããžãã¹ããžãã¯ã¯ãµãŒããŒã«ãã£ãŠç®¡çãããå¿ èŠããããŸãã
ããªãæ¹æ³
å¢çæ¡ä»¶ãç¹å®ããåŸãåæããæ¢åã®ãœãªã¥ãŒã·ã§ã³ããç¥ããããŸãã
JSONããã°ã©ãã³ã°
ããžãã¯ã¯ããã©ãããã©ãŒã ã®ãã€ãã£ãèšèªãããåžžã«å¶éãããæ°ãã宣èšåèšèªãçºæããïŒãããŠåŠã¶ïŒïŒããããã³ãŒãã§åœä»€åã§èšè¿°ããæ¹ãç°¡åã§ãã ããã«ããµã³ãããã¯ã¹ããšã©ãŒåŠçããã€ãããã®ããã€ãã®æ®µéãæäŸããå¿ èŠããããŸã-æ¬äŒŒã³ãŒãã¯åŸã ã«ãŠãŒã¶ãŒããã€ã¹ã«åºãããé害ãããå Žåã¯ããŒã«ããã¯ããå¿ èŠããããŸãã ããã¯ãã¹ãŠãå ·äœçãªã¡ãªãããªãã«éçºãè€éã«ããŸãã
CSS 3000
ã³ã³ããŒãã³ãã¹ã¿ã€ã«ã®èª¬æã¯ããã©ãŒã ãã¡ã¯ã¿ãŒããã©ãããã©ãŒã ãããã«ã¯åäœã¢ãŒãïŒããŒãã¬ãŒã/暪åããWebã§ã®å¿çæ§ïŒã«ãã£ãŠç°ãªãå¯èœæ§ãããããã䜿çšããŸããã æçµçãªå®è£ ã§ã®ã¹ã¿ã€ã«å®£èšã¯åžžã«ããè¯ããçŸå®ã«è¿ããå¢çã®å Žåã«ããæ£ç¢ºã«æ©èœããŸãã ããã«ãåæ§ã®ããžãã¯ãæã€ã³ã³ããŒãã³ãã¯ãããã€ã¹ã«ãã£ãŠæ ¹æ¬çã«ç°ãªãåäœãããããšããããŸããããšãã°ãé»è©±çªå·ãå ¥åãããšãã¢ãã€ã«ããã€ã¹ã§ã¯é»è©±åž³ã䜿çšããWebã§ã¯äœ¿çšããŸããã
ã¢ããªã±ãŒã·ã§ã³ã€ã³ã¿ãŒãã§ã€ã¹ã§ã®ããŒã¿ã¢ãã«ã®ä¿®æ£
ãã®æ¹æ³ã¯ãéæã¡ããšãåŒã°ããŸãã ãã€ã³ãã¯ããµãŒããŒããéä¿¡ããããªããžã§ã¯ãã®äžæã®èå¥åã«åºã¥ããŠã¢ããªã±ãŒã·ã§ã³ã€ã³ã¿ãŒãã§ã€ã¹ãæ§ç¯ãããããšã§ãã ãã®ãããªã¹ããŒã ã§ã¯ããµãŒããŒåŽã§ã®å€æŽã¯ã¯ã©ã€ã¢ã³ãéšåã®åŠçã«ã€ãªãããŸãã ã³ãŒããåå©çšã§ããŸããã ç¶æããã®ã¯é£ããã§ã
ãããžã§ã¯ãã§ãã®æ¹æ³ãéžæããå¿ èŠãããå¯äžã®çç±ã¯ãAPIãå€æŽãããªããšãã99ïŒ ã®ä¿¡é Œæ§ã§ãã ãŸãããŸãã¯ãããžã§ã¯ããéåžžã«å°ãããAPIã®èšèšã¯ãAPIã®å€æŽã®ããã«ãŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ããã°ããäœãçŽããããè²»çšããããå Žåã§ãã
ã¹ã¿ã€ã«
åãªããžã§ã¯ãã«ã¹ã¿ã€ã«å±æ§ãè¿œå ããŸãã UIã¢ããªã±ãŒã·ã§ã³ã¯ããã®æ©èœã«åºã¥ããŠæ§ç¯ãããŠããŸãã ã¹ã¿ã€ã«ã®æ°ã«ã¯å¶éããããããã€ã³ã¿ãŒãã§ãŒã¹ãåçã«æ§ç¯ããããšãå¯èœã«ãªããŸãã ããããUIã®æ©èœãå¢ãããšãã¹ã¿ã€ã«ã®æ°ãå¢ããå¿ èŠããããŸãã
ãã®ãªãã·ã§ã³ã§ã¯ãåã ã®èŠçŽ ã®è¡šç€ºãå¶åŸ¡ããããšãå¯èœã«ãªããŸãããç°ãªããã£ãŒã«ãéã®æ¥ç¶ãå®è£ ããè€éããå¢ããŸãã ãããŠæãéèŠãªããš-UIã®å€æ§æ§ãå¢ãã«ã€ããŠãAPIãããã³ã«ãæ¡åŒµããå¿ èŠæ§ã絶ãããããŸãã
JSON API
JSON APIã«ã¯ ãããŒã¿ãæ§é åããããŒã¿éã®é¢ä¿ã説æããããã®è©³çŽ°ãªæšå¥šäºé ããããŸããããã¥ãŒã説æã§ãããã®ã¯ãããŸããã ã¿ã¹ã¯ã«ã¯èŠèŠçãªæ¡åŒµãå«ãŸããŸã-æ°ããå ¥åãã£ãŒã«ããè¿œå ããããããã®ãªãã·ã§ã³ã¯ç§ãã¡ã«ã¯é©ããŠããŸããã
Webã³ã³ããŒãã³ã/ Reactã³ã³ããŒãã³ãAPI
Reactã³ã³ããŒãã³ãAPIã«å€§ããªåœ±é¿ãäžããWebã³ã³ããŒãã³ãã®æŠå¿µã¯ãç§ãã¡ã«ãšã£ãŠéåžžã«é©ããŠããŸããäžæ¹ã§ã¯ã衚瀺ãå¶åŸ¡ã§ããäžæ¹ã§ãUIèŠçŽ ã«ããŒã¿ããã€ã³ãããæ©èœããããŸãã
æ®å¿µãªããããã¹ãŠãHTML + CSS + JSã«çžãããããŠããŸãã çŽæ¥äœ¿çšããããã§ã¯ãããŸããããèŠããŠãããŠãã ãã-åŸã§äŸ¿å©ã«ãªããŸãã
ã©ããã£ãŠæ±ºããã®ã§ãã
UIã³ã³ãããŒ
ãªããžã§ã¯ãã¯ã³ã³ããã«ããã¯ãããã¢ããªã±ãŒã·ã§ã³ã®ãã¬ãŒã³ããŒã·ã§ã³ããžãã¯ã¯ãããã®ã³ã³ããäžã«æ§ç¯ãããŸãã äž»ãªå©ç¹ã¯ãããã€ãã®åçŽãªãªããžã§ã¯ãã1ã€ã®ã³ã³ããã«ã°ã«ãŒãåã§ããããšã§ãã ããã«ãããã¯ã©ã€ã¢ã³ãã§UX / UIãèªç±ã«ããã°ã©ãã³ã°ã§ããŸããããšãã°ãå¥ã®ãã£ãŒã«ãã«ããŒã¿ãå ¥åãããšãã«ããããã£ãŒã«ãã®é衚瀺/衚瀺ãå¶åŸ¡ã§ããŸãã ããã«ããªããžã§ã¯ãã®åºæ¬ã¿ã€ãã¯éãããæ°ã§ããããã¹ãŠã®ããžãã¹ãã©ã³ã¹ããŒãã¯ãããã«å®è£ ãããŸãã
ãã®ã¢ãããŒããéžæããŸããã æåã«ãAPIãããã³ã«ã«ã€ããŠèª¬æãã次ã«ã¢ãã€ã«ããã³Webã¢ããªã±ãŒã·ã§ã³å ã§ã®ãã¬ãŒã ã¯ãŒã¯ã®é 眮ã«ã€ããŠèª¬æããŸãã
API
ããããããããããã«ãã¢ã«ãŠã³ãéã§ã®è»¢éãªã©ãç°¡åãªããã»ã¹ã®äŸã䜿çšããŠAPIãæ€èšããŠãã ããã ãšã³ããªãã€ã³ãã«å°éããæ¹æ³ã¯èæ ®ããŠããŸãããããã¯ããã»ã¹ã§ã¯ãªãããã®ããã«ç¬èªã®APIããããŸãïŒäœããã®æ¹æ³ã§èª¬æããŸãïŒã åèšãããã»ã¹ã¯ãšã³ããªãã€ã³ãããå§ãŸããŸãã
ããŒã¿è»¢é
ãããããããŒã¿ã®éä¿¡æ¹æ³ãšããåºæ¬ååã«åæããŸãã ããŒãšå€ã®ãã¢ãšãããæãåçŽãªã¢ãããŒããåºç€ãšããŠããŸãã ããŒã¯ã©ãã³ã¢ã«ãã¡ãããã®æååã§ãå€ãæååã§ããããã§ã«ä»»æã§ãã
å ¥åçšã®ãã©ãŒã ã¯è€éã§ãèŠçŽ ãšãµãã»ã¯ã·ã§ã³ããã¹ããããŠããŸããã€ãŸãããã¹ããèš±å¯ãããŠããå¿ èŠããããŸãã ããŒã«camelCase圢åŒã§ååãä»ããããšã¯ã§ããŸãããèªã¿ã«ããå ŽåïŒãã°ãªã©ïŒã倧æåãšå°æåãåºå¥ããªãã·ã¹ãã ã§ã¯ãå°ç¡ããã«ãããªãå¯èœæ§ããããŸãã åºåãæåãå ¥åããå¿ èŠããããŸãã
æãæçœãªåºåãæåã§ãããããã¯ãå€ãã®èšèªã§ãªããžã§ã¯ãããããã£ã«ã¢ã¯ã»ã¹ããããã«äœ¿çšãããŸãã äžæ³šæã«äœ¿çšãããšããã®ãããªã»ãã¬ãŒã¿ãæã€ããŒã¯ãè¡çªãå¯èœãªèŸæžïŒãŸãã¯ãªããžã§ã¯ãïŒãäœæããŸãã ããšãã°ãjavascriptã®ãfoo.barã=ãfoobarãããã³ãfoo.bar.bazã=ãfoobarbazãã¯ããfooããªããžã§ã¯ãã®ãbarãããããã£ãæååãããªããžã§ã¯ãã«äžæžãã§ããŸãã æåŸã«ãã³ãã³ã«ã€ããŠåæããŸãããäžæ¹ã§ããã¹ãã®æ瀺çãªèŠèŠçåé¢ãšã»ãã³ãã£ãã¯ãªãã¬ã¯ã·ã§ã³ã¯ã䜿çšããããã¹ãŠã®èšèªã«å¯ŸããŠéåžžã«å®å šã§ãã
ç¹°ãè¿ãå¯èœãªãã£ãŒã«ããã©ããããïŒ è¿œå ã®èŠåãå°å ¥ããŸããåºåãæåã®ãã¢ã®éã«ã¯ãã©ãã³æåãŸãã¯æ°åã䜿çšã§ããŸãã ãã©ãŒã ã®æ§æãååŸãããŸãïŒ childrenïŒ5ïŒnameïŒfirst ã
ãã®ãããªæ§é ã§ãã°ããäœãã§ãããããå¶éããããŸããè€æ°éžæã¯å®è£ ããã®ãç°¡åã§ã¯ãªããé«è² è·ãä¿æããããã«ããã¯ãšã³ãã§è¿œå ã®ããªãã¯ãå¿ èŠã§ãã
解決çïŒå€ã¯æååãŸãã¯æååã®ãªã¹ãã§ãã ãã®ããããœãªã¥ãŒã·ã§ã³ã¯äžè¬çã«èŠããŸãããåæã«ãªãŒããŒãããã¯ãããã§ãã
æé
ã¹ãããã¯ãããã»ã¹ã®ç¶æ ã§ãã æåã®ã¹ãããã¯ãåæ¹åå®ãšè²žæ¹åå®ã®éžæãšéé¡ã®å ¥åã§ãã
ãã®å³ã®UIã¯è¡šç€ºãããŸãããããã¯ãã¹ãããããã¬ãŒã³ããŒã·ã§ã³ããžãã¯ã§ã¯ãªããµãŒããŒããžãã¯ã«é¢ãããã®ã ããã§ãã ã¹ãããã®æäœã«ã¯2ã€ã®æ¹æ³ããããŸãããµãŒããŒããã®å·®ç°ïŒã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ã®çŽ¯ç©åèšïŒã®ã¿ããŸãã¯åã¹ãããå šäœïŒãµãŒããŒã®çŽ¯ç©åèšïŒã®ã¿ã転éã§ããŸãã
èŠä»¶ã®åæã«ãããããã»ã¹äžã«ç°ãªãã¹ãããïŒããã»ã¹åå²ïŒã§ç»é¢ãç°ãªãæ¹æ³ã§åœ¢æã§ããããšã瀺ããããããæ¢ã«è»¢éããããšã³ãã£ãã£ãå€æããããã®å¶åŸ¡ã³ãã³ããè¿œå ãã代ããã«ããŠãŒã¶ãŒãèŠãã¹ãæ¹æ³ã§åã¹ããããå®å šã«è»¢éããæ¹ãç°¡åã§ãã
ãã®ä»ã®å©ç¹ïŒç·šéã«æ»ããšãã«ãã¹ã¯ãªããå šäœãåçããããããã¹ãŠãäžãããè¿œå ãã©ã¡ãŒã¿ãŒãæž¡ãå¿ èŠã¯ãããŸããã ã¹ãããã®éå§æã«ãã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ã¯ç»é¢ã®æ§ç¯ã«å¿ èŠãªãã¹ãŠã®æ å ±ãããã«åãåããŸãã
"output": "screens": "events": "references":
ã¹ã¯ãªãŒã³
ãã®ç»é¢ã¯ãããã»ã¹ãã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ã®æ®µéã«åå²ãããã®ã§ãã éåžžãç»é¢ã¯ãã©ãŒã ãèªã¿ãããããããã«äœ¿çšãããŸãã ç§ãã¡ã®å Žåããã¹ãŠãã·ã³ãã«ã§ãã1ã¹ããã-1ç»é¢ã§ãã
ã¹ã¯ãªãŒã³ã«ã€ããŠã¯ã2ã€ã®ã«ãŒã«ãå°å ¥ããŸããã
- ç»é¢éã®é·ç§»ã¯ãåå²ããã«ç·åœ¢ã«ã®ã¿ã§ããŸãã
- ç»é¢ãåãæ¿ããã«ã¯ãããã¯ãšã³ããšã®å¯Ÿè©±ã¯å¿ èŠãããŸããã
ã€ãŸããç»é¢ã¯å®éã«ã¯åçŽãªã°ã«ãŒãã«ãªããã¹ãããã«å ¥ããšããã«ããã¯ãšã³ããã転éã§ããŸãã
"screens": "title": "UI Block": "properties":
UIã³ã³ããŒãã³ãïŒãããã¯ïŒ
UIã³ã³ããŒãã³ã-ã¯ã©ã€ã¢ã³ãããžãã¯ãå®è£ ããããã¥ã¡ã³ãã«ããŒã¿ãå ¥åããç¬ç«ããã³ã³ããŒãã³ãã æ¬è³ªçã«ãããã¯ãããã³ã«ã®ç®¡çããŒã ãšã¢ããªã±ãŒã·ã§ã³ã®ã³ãŒããšããŒã¯ã¢ãããšã®éã®é¢é£ä»ãã§ãã æåã®ç»é¢ã«ã¯3ã€ã®ã³ã³ããŒãã³ãããããŸãã
- ååŽåå®
- ç»é²ã¢ã«ãŠã³ãã®åãã³ã³ããŒãã³ã
- æ¯èŸŒé¡
æã ãäœããããŸããããªãå ŽåããããŸããããšãã°ãæ°ããããã»ã¹ãã¢ããªã±ãŒã·ã§ã³ã®å€ãããŒãžã§ã³ã«è»¢éããããããããã¯ã®å€ãããŒãžã§ã³ãã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ã§åé€ããããããµãŒããŒã¢ããªã±ãŒã·ã§ã³ããã»ã¹ã®1ã€ã«æ®ã£ãã ãã®å Žåãã¢ããªã±ãŒã·ã§ã³ã¯ãœããå£åãå®è¡ããŸãããããã¯ã¯ã·ã¹ãã ïŒãã£ãŒã«ãã®åçŽãªã°ã«ãŒãïŒã«çœ®ãæããããè¿œå ã®ããžãã¯ã¯ãããŸããããæ§æå ã®ãã£ãŒã«ãã®ã¿ã衚瀺ããŸãã 詳现ã¯ä»¥äžã«ãªããŸãã
ãã®å Žåããã©ãŒã ã¯èŠæ ããæªããªããŸãããå°ãªããšããŠãŒã¶ãŒã¯ããŒã¿ãå ¥åããŠãµãŒããŒã«éä¿¡ã§ããŸãã ãã®åŸããµãŒããŒã¯å ¥åãæ€èšŒããä¿®æ£å¯èœãªãšã©ãŒãè¿ããŸãã
"UI Block": "type": "properties": "field":
ãã£ãŒã«ã
ãã£ãŒã«ãã¯ãåã ã®ããŒã¿èŠçŽ ã®ãã©ã³ã¹ããŒããšããŠæ©èœãããããã¯ãå£åããå Žåã«ãŠãŒã¶ãŒå ¥åãåŠçããã¢ãããã¯ã³ã³ããŒãã³ãã§ãã ãã£ãŒã«ãã¿ã€ãã®æ°ã«ã¯å¶éãããããããã¯ãã¹ãŠãã¬ãŒã ã¯ãŒã¯ã¬ãã«ã§ãµããŒããããŠããŸãïŒããã¹ãããã§ãã¯ããã¯ã¹ãéžæãè€æ°éžæã
ã€ãŸããã¢ããªã±ãŒã·ã§ã³ã®ã©ã®ããŒãžã§ã³ã§ãããã£ãŒã«ãã¿ã€ãã®ã¿ã«åºã¥ããŠã€ã³ã¿ãŒãã§ãŒã¹ãæç»ã§ããŸãã
ãã®äŸã®UIã³ã³ããŒãã³ãã®ãã£ãŒã«ãïŒ
1.ããããã¢ã«ãŠã³ãããã³ç»é²ã¢ã«ãŠã³ãã®ãã£ã¬ã¯ããªãžã®ãªã³ã¯ãå«ããã£ãŒã«ãã éçãã£ã¬ã¯ããªã«ãªã³ã¯ããçç± ãµãŒããŒãžã®äžå¿ èŠãªã¢ã¯ã»ã¹ãªãã§ãã«ãŒãïŒã¢ã«ãŠã³ãïŒã®ãªã¹ãããã¢ã«ãŠã³ããéžæããããã§ãã
2.éé¡å ¥åã³ã³ããŒãã³ãã®éé¡ãšé貚ã®2ã€ã®å¥åã®ãã£ãŒã«ã
ãããã£ãŠããã£ãŒã«ãã®åœ¢åŒã¯æ¬¡ã®æ§é ã«ãªããŸãã
"field": "id": "type": "title": "value": "style": "validator":
ã€ãã³ã
ã¢ããªã±ãŒã·ã§ã³ã¯ããã»ã¹ã«ã€ããŠäœãç¥ããªããããã€ãã³ãïŒãŠãŒã¶ãŒã«è¡šç€ºããããã¿ã³ïŒããµãŒããŒããã®å¿çã®äžéšã§ããããšãè«ççã§ãã
ã€ãã³ãã2ã€ã®ã¿ã€ãã«åããŸããã
1ïŒåºæ¬-ãŠãŒã¶ãŒã®éåžžã®å Žæã®ã»ãŒãã¹ãŠã®ç»é¢ã«è¡šç€ºãããŸãã äŸãšããŠããããã¯ãåŸæ¹ãããã³ãç¶ç¶ãã®ã€ãã³ãã§ãã 1ã€ç®ã¯1ã¹ãããæ»ãã2ã€ç®ã¯å®äºããããŒã¿ãã¯ã©ã€ã¢ã³ããã©ãŒã ããåéããã次ã®ã¹ãããã«é²ããã³ãã³ããšãšãã«ãµãŒããŒã«éä¿¡ããŸãã
2ïŒãããŠç¹å¥ãªãã®-äºåã«äºæž¬ã§ããªãéæšæºã®ã¢ã¯ã·ã§ã³ã®ããã«ããããŠãããã¯ãšã³ãžã³ã®äžéšã«çœ®ãããšã¯ã»ãšãã©ãããŸããã®ã§ãæå³ããããŸããã
ç§ãã¡ã®å Žåãç»é¢äžã®ã¡ã€ã³ã€ãã³ãã®ã¿ããç¶ç¶ããšãæ»ããã§ãã ãã©ãããã©ãŒã ã¬ãã«ã§å®è£ ãããŸãã
ãã¹ãŠã®ã€ãã³ãã«ã¯ãã€ãã³ãèªäœã®ã¿ã€ããã¿ã€ãã«ãå¯èŠæ§ã®ãµã€ã³ãªã©ãå€ãã®å±æ§ããããŸãã ãŸãããã¿ã³ã®ãµã€ãºãäœçœ®ãè²ãªã©ã®ãµãŒããŒåŽã®UIã¯ãããŸããã ãã®ããžãã¯ã¯åé¢ã«å®è£ ãããŠããŸãã
"events": "name": "type": "title": "description":
ãã£ã¬ã¯ããª
ãªãã¡ã¬ã³ã¹ããã¯ã§ã¯ããã¹ãŠãæšæºã§ãã å°ããå Žåã¯ããµãŒããŒããã®å¿çã§å®å šã«éä¿¡ããéçã«åŒã³åºããŸãã ããã¯ããµãŒããŒåŽãžã®èŠæ±ã®æ°ãšãã€ã³ã¿ãŒãã§ã€ã¹ã§ã®ãŠãŒã¶ãŒã¢ã¯ã·ã§ã³ã«å¯Ÿããå¿çæéãæå°éã«æããããã«è¡ãããŸãã ç»é¢äžã®ãã©ãŒã ã«è¡šç€ºããã«ã¯ãã¿ã€ã-selectListã®ãã£ãŒã«ããè¿œå ããŸããselectListã®ããããã£ã®1ã€ã¯ãéçãã£ã¬ã¯ããªãžã®ãªã³ã¯ã§ãã
ãã£ã¬ã¯ããªã倧ããå Žåãåå¥ã®äŒæ¯ãµãŒãã¹ãšããŠå®è£ ãããŸãã ã€ã³ã¿ãŒãã§ãŒã¹ã§ã¯ãããã¹ããã£ãŒã«ãã®ããã«è¡šç€ºããããã£ã±ãã«ãªããšãå¯èœãªãªãã·ã§ã³ã®ãªã¹ãããã£ã¬ã¯ããªããè¿ãããŸãã
"references": "referenceId":
ã¯ã©ã€ã¢ã³ããšãµãŒããŒã®æ€èšŒãšã©ãŒ
ã¡ã€ã³ã€ã³ã¿ãŒãã§ã€ã¹èŠçŽ ã¯ããŒã¿å ¥åãã£ãŒã«ãã§ãããããã¯ã©ã€ã¢ã³ãã§æ€èšŒããããšã¯è«ççã§ãã æ€èšŒã«ãŒã«ãšã¡ãã»ãŒãžã¯ãã£ãŒã«ããšãšãã«éä¿¡ãããæ€èšŒã倱æããå Žåã«è¡šç€ºãããŸãã
"validator": "value": "message": "type":
çãã®æ§é ã¯æ¬¡ã®ããã«ãªããŸãã
"output": "screens": "title": "UI Block": "type": "properties": "field": "id": "type": "title": "value": "style": "validator": "value": "message": "type": "properties": "events": "name": "type": "title": "description": "references": "referenceId":
ãã¬ãŒã ã¯ãŒã¯
ããã§ãã¢ããªã±ãŒã·ã§ã³å ã®ãã¬ãŒã ã¯ãŒã¯ããã®ãããã³ã«ã§ã©ã®ããã«æ©èœãããã«ã€ããŠå°ã説æããŸãã æ¡ä»¶ä»ãã§ããã¬ãŒã ã¯ãŒã¯ã¯ãã¯ãŒã¯ãããŒãšã³ãžã³+ UIã³ã³ãããŒãã³ãã©ãŒã®2ã€ã®äž»èŠéšåã«åå²ã§ããŸãã ãã®åé¢ã¯ãã¢ããªã±ãŒã·ã§ã³ã¢ãŒããã¯ãã£ã ãã§ãªããçµç¹æ§é ã«ãã£ãŠãåŒãèµ·ããããŸãã ãšã³ãžã³ã¯ãã©ãããã©ãŒã ã³ãã³ãã«ãã£ãŠéçºããã³ãµããŒããããUIã³ã³ããã¯å®éã«ã¯æ¡åŒµãã€ã³ãã§ãããæ©èœã³ãã³ãã¯ããããããã°ã©ã ããŸãã ãããã£ãŠãããå€ãã®ããŒã ãã«ãŒãã«ãå€æŽããå¿ èŠã¯ãããŸããã
ã¯ãŒã¯ãããŒãšã³ãžã³
ã¢ããªã±ãŒã·ã§ã³ïŒWebããã³ã¢ãã€ã«ïŒå ã®ãšã³ãžã³ã¯ãããã¥ã¡ã³ãã®åŠçããã»ã¹ãéå§ããããããã³ã«ã«åŸã£ãŠãã¹ããããç»é¢ãUIã³ã³ãããŒããã£ãŒã«ãã¿ã€ããªã©ã®å€ãã®å±æ§ãåãåãããšãèªèããŠããŸãã ãã®ããŒã¿ã«ã¯ãåºæ¬çãªã€ã³ã¿ãŒãã§ã€ã¹ãæç»ãããŸã-äžéšããã³äžéšã¡ãã¥ãŒãã¡ã€ã³ãã¿ã³ãåçŽãªã¿ã€ãã®ãã£ãŒã«ãã®UIïŒäœ¿çšããå ŽåïŒã
åæã«ããšã³ãžã³ã¯ãã¹ã¯ãªããå ã®ããã»ã¹ã®ã¹ãããæ°ãç»é¢éã§ã®ã¹ãããã®åå²æ¹æ³ãããã³ãã£ãŒã«ãã®çš®é¡ãæ£ç¢ºã«ç¥ããŸããã
ããšãã°ãæ°ãããã£ãŒã«ãã衚瀺ããå¿ èŠãããå Žåãªã©ãã·ããªãªãå€æŽãããå ŽåããµãŒããŒã®å¿çã«è¿œå ããã ãã§ååã§ãããã¯ã©ã€ã¢ã³ãã¢ããªã±ãŒã·ã§ã³ã¯ããã衚瀺ããŸãã ãããè¡ãã«ã¯ãããã³ããšã³ãã¢ããªã±ãŒã·ã§ã³ããªãªãŒã¹ããå¿ èŠã¯ãããŸããã
UIã³ã³ãããŒã¯ã©ã®ããã«æ©èœããŸããïŒ
ãã¶ã€ããŒãšããžãã¹é¡§å®¢ã®ããŒãºã®åæã«ããããã£ãŒã«ãã®å±æ§æ§æãåçŽã«æ¡åŒµããã ãã§ã¯ãã¹ãŠã®ããŒãºãæºããããšãã§ããªãããšã瀺ãããŠããŸãã
ãããã£ãŠãæ¡åŒµãã€ã³ããå¿ èŠã§ããã ãããã®æ¡åŒµãã€ã³ãã¯UIã³ã³ããŒãã³ãã§ããããã¯ãã¢ããªã±ãŒã·ã§ã³èªäœã®ã³ãŒãã®ãã€ãã£ãå®è£ ã§ãããååã«ãã£ãŠãšã³ãžã³ã«ãã£ãŠèå¥ãããŸãã åºæ¬çã«ãã«ã¹ã¿ã UIã衚瀺ã§ããè«çãŠããããžã®ãã£ãŒã«ã/è€æ°ã®ãã£ãŒã«ãã®ã°ã«ãŒãåã§ãã åæã«ããããã³ã«ããŒã¿ã¢ãã«ã¯ããã¯ãšã³ããžã®ããŒã¿ã®è»¢éã«ã®ã¿äœ¿çšããããã¹ãŠã®UXããã³UIã¯ã¢ããªã±ãŒã·ã§ã³åŽã§å®è£ ãããŸãã
2ã€ã®ãã¬ãŒã ã¯ãŒã¯ã¢ãŒã
ãšã³ãžã³ãããŒã¿ã¢ãã«ã解æãããšããUIã³ã³ããã®ååã®ãªã¹ãããã¢ããªã±ãŒã·ã§ã³å ã«ä¿åãããŠããã¬ãžã¹ããªãšæ¯èŒããŸãã ã¢ããªã±ãŒã·ã§ã³ãã³ã³ããŒãã³ãã®ååãèŠã€ããããªãå Žåãã€ã³ã¿ãŒãã§ãŒã¹ã¯åçŽãªã¿ã€ãã®ãã£ãŒã«ãäžã«æ§ç¯ãããŸãã ãã®ããã»ã¹ã¯å®å šã«æ©èœããŸãããæšæºã®UIèŠçŽ ã§è¡ãããŸãã
å·ŠåŽã¯ãåçŽãªãã£ãŒã«ãã¿ã€ãã®ãªã¹ãã«åèšãå ¥åããããã®ã³ã³ããã®è¡šç€ºæ¹æ³ã§ãã å³-ã¢ããªã±ãŒã·ã§ã³ã¢ã»ã³ããªã«UIã³ã³ãããŒãããå Žåã åçŽãªãã£ãŒã«ãã®ãªã¹ãã«ã¯ã¹ã©ã€ããŒããªããé貚ãéžæã§ããã¢ã€ã³ã³ã®ä»£ããã«å¥ã®ãã£ãŒã«ãããããšããäºå®ã«ãããããããPLãããã¹ãŠã®ããŒã¿ã転éã§ããããã»ã¹ã¯æ©èœããŸãã
ãããŠããã§ããšã³ãžã³ã®äž»ãªå©ç¹ã®1ã€ãã€ãŸããã¢ããªã±ãŒã·ã§ã³ãæŽæ°ããã«ãŠãŒã¶ãŒã«å€æŽãæäŸããããšãã§ããŸãã ã¢ã»ã³ããªã§ã¯ãã³ã³ããŒãã³ãåã®ã¯ã©ã¹ãžã®ãããã³ã°ãããããããã®ã³ã³ããŒãã³ãã®UIãããã°ã©ã ããããŠãŒã¶ãŒã€ã³ã¿ãŒãã§ã€ã¹ããã®äžã«æ§ç¯ãããŸãã
UIã³ã³ããŒãã³ãã䜿çšããéã«ã©ã®ãããªã«ãŒã«ãå®ãããšããŠããŸããïŒ
- ã·ã³ãã«ãã£ãŒã«ãã¿ã€ãã®ãªã¹ãã¢ãŒãã§æ©èœã®æ©èœãç¶æããŸãã ã¢ããªã±ãŒã·ã§ã³ãããžã§ã¯ãã¯ãåçãããã³ã«ãéçãããã³ã«ã«å€ããããšããèªæã«é§ãããŸãã ãã®ãããæåã«äžè¬çãªUIã³ã³ãããŒã§æ©èœãéçºãããã®ããŒã¿ã¢ãã«ã«ã«ã¹ã¿ã ã³ã³ãããŒãè¿œå ããŠUX / UIã匷åããããšãå šå¡ã«ãé¡ãããŸãã ããã«ãããå°æ¥çã«å€ãã¢ã»ã³ããªã®ããã»ã¹ãæŽæ°ã§ããã ãã§ãªããAPIã®è«ççãªæŽåæ§ãèªåçã«ç¶æãããŸãã
- UIã³ã³ãããŒã®ããŒã¿ã¢ãã«ïŒJSONïŒãæ¢ã«æºåãããŠããå ŽåïŒæçµãã¹ãäžãŸãã¯æ¢ã«éçšäžïŒã¯å€æŽããªãã§ãã ããã PLã®ããžãã¯ã¯ããŒã¿ã¢ãã«ãšå¯æ¥ã«é¢é£ããŠãããããå€æŽãããšãæŽæ°ãããŠããªãã¢ãã€ã«ã¢ããªã±ãŒã·ã§ã³ã®ããŒãžã§ã³ã®æ©èœãç ŽæããŸãã ãã ããäžäœäºææ§ãç¶æããªããã¢ãã«ãæ¡åŒµã§ããŸãã
- UIã³ã³ããŒãã³ããã·ã¹ãã åãšåŒã³ãŸãã UIã³ã³ããŒãã³ãã®ååã¯ãããã³ã«ã®å¿ é å±æ§ã§ãããåç»é¢ã§å°ãªããšã1ã€ã§ãªããã°ãªããªãããããã£ãŒã«ãã®åçŽãªãªã¹ããå®è£ ããç¹å¥ãªã·ã¹ãã åãå°å ¥ããŸããã
- UIã³ã³ããŒãã³ãã«ããžãã¹ããžãã¯ãå®è£ ããªãã§ãã ããã ããžãã¯ã¯ãµãŒããŒã«å®è£ ããå¿ èŠããããŸãããã®çç±ã¯äžèšã®ãšããã§ãã
è¿æ¥å ¬éäºå®...
ç°¡æœã«æžãããšæžåœã«åªåããŸããããããã¯Sberbank Onlineãã©ãããã©ãŒã ã«é¢ããæåã®æè¡èšäºã§ãããå€ããã«ããŒããå¿ èŠããããŸããã
æ確ã§ã¯ãªãããšãèå³æ·±ãããšãã³ã¡ã³ãã«æžããŠãã ãã-ç§ãã¡ã¯ããå°ãªããããé »ç¹ã«ããããŠæå³çã«æžãããã«ããŸãã ç§ãã¡ã«ã¯å€ãã®èå³æ·±ã課é¡ããããããå€ãã®è³æããããŸãã
èè ïŒ
- dmitry_zadorin Dmitry ZadorinãããŒã ãçµ±åãã©ãããã©ãŒã ããããžã¿ã«ããžãã¹ãã©ãããã©ãŒã ãSberbankããã³Sbertehã§Sberbank Onlineã«åãçµãã§ããŸã
- stcherenkov Stas CherenkovããŠã§ãã¢ããªã±ãŒã·ã§ã³Sberbank OnlineãSberbankãSbertehã®ã¢ãŒããã¯ã