ü\Óü¿Æ¼¼Íø

 ÕÒ»ØÃÜÂë
 Á¢¼´×¢²á
mito
²é¿´: 2370|»Ø¸´: 2

[JAVA] Angular ´òÔìÆóÒµ¼¶Ð­×÷ƽ̨ Material+RxJS+Redux Angular½ø½×ʵսÊÓÆµ½Ì³Ì

[¸´ÖÆÁ´½Ó]

8Íò

Ö÷Ìâ

608

»ØÌû

27Íò

»ý·Ö

¹ÜÀíÔ±

Rank: 9Rank: 9Rank: 9

»ý·Ö
275170
QQ
·¢±íÓÚ 2018-5-1 17:36:40 | ÏÔʾȫ²¿Â¥²ã |ÔĶÁģʽ
¿Î³ÌÃû³Æ:  Angular ´òÔìÆóÒµ¼¶Ð­×÷ƽ̨ Material+RxJS+Redux Angular½ø½×ʵսÊÓÆµ½Ì³Ì

¿Î³Ì¼ò½é:    

±¾Ì׽̳ÌÕë¶ÔAngular½øÐÐÁËÉîÈëµÄÆÊÎö½²½â²¢·ÇÈëÃſγ̡£Ç°¶Ë¹¤×÷ÏÖÔÚÒѾ­±äµÃÔ½À´Ô½¹¤³Ì»¯Ö®Ç°ºÜ¶àµÄ´óÐÍJAVAÓ¦ÓúÍ.netÏîÄ¿¶¼ÂýÂýÖð½¥ÉøÍ¸µ½Ç°¶ËÁìÓòÁË¡£½Ì³Ì½²½âÁËÄ£¿é»¯±à³Ì½«×é¼þµÄñîºÏ½â³ý´ó´óµÄÌáÉýÁË´úÂëµÄ¸´ÓÃÐÔ¡£ÉîÈëѧϰAngular¡£¿Î³ÌÉæ¼°Ãæ¹â£¬²»¹âÊÇAngular°üÀ¨Éæ¼°µ½µÄes6¡¢rxjsºÍredux¶¼½²µÄÌØ±ðÉîÈë¡£Èç¹ûûÓÐǰ¶Ë»ù´¡µÄÐèÒªÂýÂýÏû»¯Àí½â¡£½Ì³Ì°üº¬ÁËÒÔÏÂ֪ʶµã£ºMaterial£º·á¸»µÄ×é¼þ¿â£¬¶àÖ÷ÌâµÄÖ§³Ö£¬¿ìËٴUI¡£¶¯»­£ºÖ§³ÖʵÏÖ×é¼þ¡¢Â·Óɵȶ¯»­Ð§¹û¡£ÒÀÀµ×¢È룺AngularÒÀÀµ×¢Èë¿ò¼Ü£¬ÊµÏÖ´úÂëËÉñîºÏ¡£±íµ¥¿Ø¼þ£º·â×°±íµ¥¿Ø¼þ£¬½µµÍ¸´ÔÓ±íµ¥µÄÄѶȣ¬ÊµÏָ߿ɸ´ÓÃÐÔ¡£RxJS£º¸ß¼¶ÏûÏ¢´«µÝºÍÊý¾ÝÂß¼­µÄÆ´×°Redux£º´¦ÀíÓ¦ÓóÌÐò״̬£¬°þÀëUIºÍÂß¼­´úÂë¡£×Ô¶¯»¯²âÊÔ£ºÊ¹ÓÃJasmine¡¢karma¡¢protractor²âÊÔ×é¼þ¡¢·þÎñ¡¢reducer¡£

----------------------¿Î³ÌĿ¼------------------------------
1.¿Î³Ì½éÉÜ
½éÉܲúÆ·µÄ¹¦ÄܺÍÓÃ;£¬¿Î³ÌÄÚÈݰ²ÅÅ£¬½¨Á¢¿ª·¢»·¾³ºÍ±ØÒªµÄ¿ª·¢¹¤¾ß½éÉÜ

2.Óà Angular Material ×é¼þ´òÔìÒ³Ãæ
¶Ô Angular ¹Ù·½×é¼þ¿â -- Angular Material -- ½øÐÐÖð²½Ñ§Ï°£¬Ê¹Óà Sidenav ºÍ flexbox ½øÐÐÒ³Ãæ²¼¾Ö¡£Ñ§Ï°±íµ¥³£ÓÃ×é¼þ£ºMdInput£¬MdSelect ºÍ MdRadio ÒÔ¼°Æäʼþ´¦Àí¡£Í¨¹ý´òÔìÓ¦Óÿò¼ÜºÍµÇ¼ҳÊìϤÕâЩ×é¼þµÄʹÓã¬ÒÔ¼° Web API µÄ½ÓÈëºÍµ÷ÊÔ

3.Angular ¶¯»­
Angular ¶ÔÓÚ¶¯»­µÄÖ§³ÖÏ൱ǿ´ó£¬¶øÇҺô¦ÔÚÓÚ¿ò¼Ü±¾ÉíÆÁ±ÎÁËÏà¶Ô¸´Ô css ºÍ js£¬µ«ÓÖ±£ÁôÁË×ã¹»µÄÁé»îÐÔ¡£ÕâÒ»ÕÂÎÒÃÇ»á´Ó»ù´¡µÄ¶¯»­½²Æð£¬Öð²½ÉîÈë¸÷ÖÖ¶¯»­ÀàÐͺÍÓ¦Óó¡¾°

4.Angular ºËÐĸÅÄî»Ø¹ËºÍÌá¸ß
½øÐÐÒ»Ð©ÖØÒª»ù´¡¸ÅÄîµÄ»Ø¹Ë£¬¶ÔÓÚÕâЩ¸ÅÄî´Ó¸üÉî²ã´ÎÓèÒÔ½âÊÍ£¬ÈÃͬѧ¶Ô Angular µÄ¿ò¼Ü¸ü¼ÓÇå³þµÄÁ˽⡣

5.Rxjs³£¼û²Ù×÷·û
ÓÉÓÚÔÚ Angular ÖÐ rxjs µÄÖ§³ÖÊǹ㷺µÄ£¬Á˽âºÍÊìÁ·ÕÆÎÕ rxjs µÄ˼ÏëÊÇÌá¸ß angular ±à³Ì¼¼ÄܵÄÖØÒª»·½Ú¡£µ«ÓÉÓÚѧϰÇúÏ߱Ƚ϶¸ÇÍ£¬ÎÒÃǻỨ´óÁ¿Æª·ùÔڴ˽øÐн²½â¡£Rxjs µÄ²Ù×÷·û·Ç³£¶à£¬ÕâÒ»µã¼ÈÊÇÆäÇ¿´óÖ®´¦£¬Ò²ÊdzõѧÕß»á¸Ðµ½¿Ö¾åµÄµØ·½¡£ÎÒÃÇÓÃһϵÁÐСÀý×ÓÀ´ËµÃ÷³£¼û²Ù×÷·ûµÄÓô¦¡£

6.Angular ÖеÄÏìӦʽ±à³Ì
ÕâÒ»½Ú×ÅÖØÓÚ rxjs µÄ¸ß½×²Ù×÷·ûºÍ Subject ÔÚAngular ÖеÄÓ¦Óá£Async ¹ÜµÀ¶Ô rxjs µÄÖ§³Ö¿ÉÒÔÈÃrxjs ÔÚ Angular ÖеÄʹÓÃ±ÈÆäËûƽ̨·½±ãÌ«¶à¡£

7.ʹÓà Redux ¹ÜÀíÓ¦ÓÃ״̬
´óÐÍÏîÄ¿ÖеÄ״̬¹ÜÀíÊǷdz£ÈÝÒ×ÏÝÈë»ìÂҵģ¬Redux ÊÇ״̬¹ÜÀíµÄÒ»ÖÖÓÐЧģʽ¡£ÔÚÖ÷Á÷¿ò¼ÜÖУ¨vue£¬react£¬angular£©¶¼»ò¶à»òÉÙµÄÊÜÆäÓ°Ïì¡£Óà Redux ¹ÜÀí״̬¿ÉÒÔÈÃÓ¦ÓÃÂß¼­¸üÇåÎú£¬½áºÏ Effects ģʽ£¬Âß¼­ºÍ½çÃæÒÔ¼°·þÎñ¶¼¿ÉÒÔÍêÈ«¸ôÀ룬ʵÏÖ¸üºÃµÄ¿Éά»¤ºÍ¿ÉÀ©Õ¹ÐÔ¡£

8.Angular µÄ²âÊÔ
²âÊÔÇý¶¯¿ª·¢ÊÇÏÖ´úÈí¼þ¹¤³ÌÖеÄÖØÒªË¼Ï룬ҲÊǽϴóÐ͵ÄÈí¼þ¹¤³ÌÖбØÐëµÄ»·½Ú¡£Àí½âºÍÕÆÎÕ±ØÒªµÄ²âÊÔ·½·¨ÊDZ£Ö¤Èí¼þÖÊÁ¿µÄÖØÒª¼¼ÄÜ¡£

ÏÂÔØµØÖ·£º
Óοͣ¬Èç¹ûÄúÒª²é¿´±¾ÌûÒþ²ØÄÚÈÝÇë»Ø¸´

¸ü¶àÌû×ÓÍÆ¼ö

»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

0

Ö÷Ìâ

3909

»ØÌû

9811

»ý·Ö

ÂÛ̳ԪÀÏ

Rank: 6Rank: 6

»ý·Ö
9811
·¢±íÓÚ 2018-5-2 09:51:24 | ÏÔʾȫ²¿Â¥²ã
дµÄÕæµÄºÜ²»´í
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

0

Ö÷Ìâ

2Íò

»ØÌû

4Íò

»ý·Ö

½ûÖ¹·ÃÎÊ

»ý·Ö
41607
·¢±íÓÚ 2021-10-11 17:53:27 | ÏÔʾȫ²¿Â¥²ã
Ìáʾ: ×÷Õß±»½ûÖ¹»òɾ³ý ÄÚÈÝ×Ô¶¯ÆÁ±Î
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

QQ|Archiver|ÊÖ»ú°æ|ü\Óü¿Æ¼¼Íø

GMT+8, 2025-11-30 11:57 , Processed in 0.226792 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí