You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
AngularJS ã¢ããªã±ã¼ã·ã§ã³ã§ localStorage ã使ãã¨ãã«ä¾¿å©ãªã¢ã¸ã¥ã¼ã«ã®ç´¹ä»ã agrublev/angularLocalStorage æ©è½ AngularJS ã® model 㨠localStorage ãåæ¹åã«ãã¤ã³ã ãªãã¸ã§ã¯ããé åãå¤æä¸è¦ localStorage é対å¿ã®ãã©ã¦ã¶ã§ã¯ $cookies ã«ãã©ã¼ã«ããã¯ï¼angular-cookies.min.js ãåç §ããngCookiesãä¾åã¢ã¸ã¥ã¼ã«ã¨ãã¦è¨è¿°ï¼ 使ãæ¹ ä¾åã¢ã¸ã¥ã¼ã«ã¨ãã¦localStorageã追å ã app.js
ãã¤ãã£ãã¢ããªã¨ãã¦ä½ãã«ãã¦ã¯ã³ã¹ãããå¶éããããããã¦ãã¾ã件ãèæ ®ãã¦ãWebã¢ããªãã®æ¹ãè¯ãã¨å¤æããBackbone.localStorage.jsã使ã£ã¦ãªãã©ã¤ã³Webã¢ããªã±ã¼ã·ã§ã³ãæ§ç¯ããæã®ã¡ã¢ãæ®ãã¦ããã¾ãã Backbone.localStorage.js Backbone.jsã®ModelãCollectionã®SaveãCreateã®ã¡ã½ãããOverrideããHTML5ã®localStorageæ©è½ãå©ç¨ãã¦ã¯ã©ã¤ã¢ã³ãå´ã«ä¿åããã©ã¤ãã©ãªã§ãã DLã¯ãã¡ãããï¼jeromegn/Backbone.localStorage é常ã§ããã°Ajaxã§éä¿¡ããæãlocalStorageã«ä¿åããæµãã«ãªãã¾ãã®ã§ãéä¿¡ãããå ´åã¯jQueryãZeptoãå©ç¨ãã¦æåã§è¡ãå¿ è¦ãããã¾ãã ä¾ãã°Collectionã§Backbone.localS
ã¬ãªã¬ãªã¹ã³ã¼ãéçºãã¼ã ã«ãã �ææ°Webååãæè¡ã¡ã¢ ( Ruby, Rails, node.js ) ã§ã åºBackbone.jsã§DBã«ä¿åãã¹ãModelã®æ å ±ã¯APIãéãã¦ä¿åãã¾ããã ã¡ãã£ã¨ããUIãªã©ã®ç¶æ ãCookieãªã©ã«ä¿æãã¦ããããã¨ãããã¼ãºã£ã¦ããã¾ãããã ãã®å ´åãCookieãããlocalStorageããªã¹ã¹ã¡ã§ãã localStorageã¯Cookieããæ¯åã®éä¿¡ã§æ å ±ãéã£ã¦ããæ©è½ã¨ãæå¹æéãé¤ããæ©è½ã§ãã å種ãã©ã¦ã¶ã§å¯¾å¿ããããªãã«é²ãã§ãã¾ããã使ãæ¹ãã·ã³ãã«ã§ãã åç´ãªä½¿ãæ¹ã¯ã > localStorage["a"] = "ABC" > localStorage["a"] #=> "ABC" ã¨å ¥ããã ãã§ãã ã§ãä»åã¯Modelã§ã®saveã¨fetchãoverrideãã¦ãlocalStorageã«ä¿å
ããã¯ä¼ç¤¾ã§vue.jsãæ¡ç¨ã説å¾ããããã®è³æãªã®ã§stickitãç½µåãã vue.js http://vuejs.org/ backbone.stickit http://nytimes.github.io/backbone.stickit/ Backbone.stickitã¨Vue.jsã®æ¯è¼ ã#menuãæ¼ãããå³ã«100pxåããã¿ãããªã³ã¼ããæ¸ãã¦ã¿ãã¨ããã templateé¢æ°ã¯Jadeãã³ãã¬ã¼ããå±éããé¢æ°ã ã¨æã£ã¦ã»ãã Backbone.stickit ã®å ´å class MenuView extends Backbone.View initialize: -> @model = new Backbone.Model() @render() render: -> @$el.html template(""" #menu.js-open """) @stic
ãã¾ã«ã¢ããªããã®facebookãã°ã¤ã³å¤±æãã¦ããã©ãªããªã® cakePHP(v2.2.2)ã«Facebook SDK for PHP(v.3.2.2)ãå ¥ãã¦Facebookã¸ã®ãã°ã¤ã³ãå®è£ ãã¦ããã®ã§ããã1度ç®Facebookã¸ã®ãã°ã¤ã³ãã¿ã³ãæ¼ãã¦ããã°ã¤ã³ããã2åç®æ¼ãã¨ãã°ã¤ã³ããã¨ããç¾è±¡ãèµ·ãã¾ããã®ã§åå ã調æ»ãã¾ããã åé¡ã®ã½ã¼ã¹ã¯ãããªæãã App::uses('Controller', 'Controller'); App::import('Vendor','facebook',array('file' => 'facebook'.DS.'facebook.php')); class AppControlle
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}