noeticpenguin / ngForce

Force.com && Angular.js integration framework.
noeticpenguin.github.io/ngForce
MIT License
142 stars 61 forks source link

SRC folder out of date or Unnecessary #17

Closed idanblich closed 9 years ago

idanblich commented 10 years ago

SRC folder with SF components contain Resources not included in the git repository. TX for your great job .

Idan

gunish commented 10 years ago

The src folder is definately out of date, I tried deploying the components of the folder to a developer org, and the pages included in the src do not work.

e.g. There are references to the following components in static resources.

    <apex:stylesheet value="{!URLFOR($Resource.Bootstrap, 'bootstrap231/css/bootstrap.min.css')}"/>
    <apex:stylesheet value="{!URLFOR($Resource.Bootstrap, 'bootstrap231/css/bootstrap-responsive.min.css')}"/>  
    <apex:stylesheet value="{!URLFOR($Resource.ngForce, 'ngForce/css/bootstrap-custom.css')}"/> 
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/jquery-2.0.0.min.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/angular.min.1.1.5.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/angular-ui.min.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/ui-bootstrap-tpls-0.3.0.min.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/log.min.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/select2.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/underscore.min.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/services/safeApply.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/services/ngForce.js')}"/>
    <apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/ngForceDemoApp.js')}"/>

but, the static recource included in the package only contains the following files.

screen shot 2014-09-04 at 14 36 41

Are there other sample implementations out there that we can refer to find out the best way to use this library ?

noeticpenguin commented 10 years ago

yes, the pages included are out of date. I’ll work on updating that today.

What kind of information are you looking for with regard to sample implementations?

-Pkj --  Kevin Poorman Sent with Airmail

From: Gunish Rai Chawla notifications@github.com Reply: noeticpenguin/ngForce reply@reply.github.com> Date: September 4, 2014 at 9:37:28 AM To: noeticpenguin/ngForce ngforce@noreply.github.com> Subject:  Re: [ngForce] SRC folder out of date or Unnecessary (#17)

The src folder is definately out of date, I tried deploying the components of the folder to a developer org, and the pages included in the src do not work.

e.g. There are references to the following components in static resources.

<apex:stylesheet value="{!URLFOR($Resource.Bootstrap, 'bootstrap231/css/bootstrap.min.css')}"/>
<apex:stylesheet value="{!URLFOR($Resource.Bootstrap, 'bootstrap231/css/bootstrap-responsive.min.css')}"/>   
<apex:stylesheet value="{!URLFOR($Resource.ngForce, 'ngForce/css/bootstrap-custom.css')}"/>  

<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/jquery-2.0.0.min.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/angular.min.1.1.5.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/angular-ui.min.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/ui-bootstrap-tpls-0.3.0.min.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/log.min.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/select2.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/js/underscore.min.js')}"/>

<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/services/safeApply.js')}"/>
<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/services/ngForce.js')}"/>

<apex:includeScript value="{!URLFOR($Resource.ngForce, 'ngForce/ngForceDemoApp.js')}"/>

but, the static recource included in the package only contains the following files.

Are there other sample implementations out there that we can refer to find out the best way to use this library ?

— Reply to this email directly or view it on GitHub.

gunish commented 10 years ago

I am specifically looking for best practises on using the right libraries for building angular based ui on salesforce vf stack.

Something on the lines of this : https://github.com/noeticpenguin/AngularOnSalesforceDemoApp

But unfortunately, even this example has a broken src folder.

I am looking for e.g. which show the best way to use Routing and building SPA's (showing an sample using ngForce and its advantages)

I was going to write one myself if I didnt find anything, but to begin with, I just need a working example to get me started.

noeticpenguin commented 10 years ago

the source folder is just an example, it’s not meant to be used without tweaking. 

Let me see what I can come up with .

--  Kevin Poorman Sent with Airmail

From: Gunish Rai Chawla notifications@github.com Reply: noeticpenguin/ngForce reply@reply.github.com> Date: September 4, 2014 at 11:09:53 AM To: noeticpenguin/ngForce ngforce@noreply.github.com> Cc: Kevin Poorman kjp@brightleafsoftware.com> Subject:  Re: [ngForce] SRC folder out of date or Unnecessary (#17)

I am specifically looking for best practises on using the right libraries for building angular based ui on salesforce vf stacks.

Something on the lines of this : https://github.com/noeticpenguin/AngularOnSalesforceDemoApp

But unfortunately, even this example has a broken src folder.

I am looking for e.g. which show the best way to use Routing and building SPA's (showing an sample using ngForce and its advantages)

I was going to write one myself if I didnt find anything, but to begin with, I just need a working example to get me started.

— Reply to this email directly or view it on GitHub.

noeticpenguin commented 9 years ago

see: https://github.com/noeticpenguin/AngularVisualforceSeed