I need to create a custom AJAX proxy for my server requests. Architect doesn't seem to support this easily if at all: Screen Shot 2013-10-03 at 3.44.54 PM.png
After clicking the "Create Override for this Class" nothing happens. The option disappears for the "Ajax Proxy" until I restart Architect.
I would ideally like to create the override, then be able to add it to a store. I'm not sure if the store's default list of proxies would change if I somehow got the override to work correctly: Screen Shot 2013-10-03 at 3.48.14 PM.png
Please help! This is a critical hurdle to move forward with Sencha!
1) it's somewhat easy to miss, but when you perform that action, you should see a new resource under "Resources" in the inspector - by default it'll be called Ajax.js -- any chance you just didn't notice that?
2) If that's not the case, there may have been a bug in older builds of 3.0 that have since been fixed - because when I perform the same action, I do get a resource created!
Either way, it looks like it should work just fine in any future release of 3.x.
I can't give specific dates on the next build we'll push out, etc, but if the issue is in fact a bug, you can at least check out an example that does roughly the same thing.in the meantime - https://github.com/SenchaArchitect/Kiva is an example of an Architect project that uses an external resource with a custom proxy.
I hope that helps! Please let me know if you have additional questions/issues.
Sencha Architect Development Team
Good call, I didn't see it show up in the Resources. Ok so now Ajax.js is there, I didn't modify it at all (so it should be the same as a standard ajax proxy).
Now how do I tell my store to use this new Ajax.js proxy? I still only see the default proxies in the list when I attempt to add a proxy to the store: Screen Shot 2013-10-03 at 3.48.14 PM.png
I'm sorry if I'm being unclear of the issue. It seems I've asked this every way that I can, and am still stuck at this place. I just want to do what Kiva did somehow.
I downloaded the Kiva project and opened it up in SA3. The initial setup in the CMD window, this error is thrown:
C2008: Requirement had no matching files (Ext.data.proxy.Kiva) -- /private/var/folders/w_/g31j1h_54yb_v0zpkcl0s5bw0000gn/T/8zjm/Kiva/app.js:25:10
So, what you'll need to do is basically just what we did in the Kiva app:
1) in your Ajax.js, give it an alias, like so:
2) add an Ajax Proxy (a normal one, not your override), and set the createAlias config to "yourclassname"
That should be all you need to do!
For a working example I'd definitely recommend checking out that Kiva app I linked, just in case you need to see how anything else was accomplished - but I believe the above should answer your current question.
Please let us know if you do need additional assistance
Sencha Architect Development Team
Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."