Comments (6)
if you know the how, I’d love to do it!
--
Kevin Poorman
Sent with Airmail
From: chasd00 [email protected]
Reply: noeticpenguin/ngForce [email protected]>
Date: August 20, 2014 at 10:05:24 AM
To: noeticpenguin/ngForce [email protected]>
Subject: [ngForce] Idea: remove dependence on VF Remoting javascript (#22)
I looked a little bit into VF Remoting, it's basically just EXTJS. Do you think it's worth the effort to remove VF Remoting and go with straight Angular $http? Regular Angular $http opens the door for interceptors and all the other Angular features when making calls back to SFDC. It also means we no longer have to include the VF component to get VfRemote.js included.
—
Reply to this email directly or view it on GitHub.
from ngforce.
I may have some free time coming up in the next few weeks, i'll check it out when I can.
from ngforce.
I believe the VF component is still required. It injects essential info - stuff we can't just figure out. Stuff like a CSRF token and a Visualforce page Id. Each VFR action, like MyPage.methodName
, has a different CSRF. Do you know a different way to get this info?
But, yeah, if you can accept keeping the VF component in, we can set up an API alternative to the Visualforce.remoting.Manager
interface. Is that still acceptable?
from ngforce.
Sorry guys, I've been absolutely swamped at work. Yeah, it looks more complicated than I initially thought. I'll keep it in mind but right now it doesn't seem worth the effort.
from ngforce.
Chas, it's not possible to remove the dependency on the component. It
injects a security token kinda thing into the page which is required by the
visualforce remoting web service.
If all you want is to send it through the $http service, I've got a working
implementation of that.
Sorry guys, I've been absolutely swamped at work. Yeah, it looks more
complicated than I initially thought. I'll keep it in mind but it doesn't
seem worth the effort required to just remove the dependency on the
component.
—
Reply to this email directly or view it on GitHub
#22 (comment).
from ngforce.
closing this issue due to inactivity
from ngforce.
Related Issues (20)
- README may need update HOT 1
- Restangular is an undocumented dependency HOT 1
- SRC folder out of date or Unnecessary HOT 5
- Providers causing module error HOT 17
- Documentation for external configuration incomplete HOT 2
- ngForce will not deploy HOT 2
- Error Handling HOT 1
- Invalid JSON response using create HOT 4
- Example fails to install HOT 6
- vfr not defined HOT 13
- Latest version 3.0.3 is not published HOT 3
- vfr.send() throws error if Remote Action returns an empty array
- If an exception is thrown during a vfr.send() call, no useful information comes out of the promise, nor is it rejected HOT 1
- Can't deploy test HOT 2
- Production vs. Demo
- Master branch is not building HOT 3
- Grunt not deploying to SalesForce instance
- VF Remoting - How to pass values? HOT 2
- Visualforce is not defined error when trying to use ngForce/js/ngForce/ngForce.js HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngforce.