Brandon Buteaux

Joined

900 Experience
0 Lessons Completed
1 Question Solved

Activity

I deal with 5-7 languages every week (out of necessity not desire) and was wondering how you felt about the future long-term success of ROR would play out.

My take is that the apps that I build for company will be fine for years to come and adopting a new 'cutting edge' ecosystem is really moot for a company the size of mine as well as the fact that if 1,000 business users are using our app at a given time then we are doing better than a social network with 500,000 concurrent users (monetarily speaking).

Our clients use our apps for business ease, not for social interaction, so when people are using them, money is being saved on their side and money is being made on our side.

Do you think developing apps that we plan on being around for a decade or more is safe in ROR? My thoughts are that ROR is going nowhere anytime soon. I was wondering what you thought since you are much more knowledgable on ROR.

I'm glad you asked.

https://developer.salesforce.com/docs/atlas.en-us.platform_connect.meta/platform_connect/canvas_framework_intro.htm

Salesforce has amazing documentation on pretty much everything and it is used by tens of millions of people, so the market for even a small series is potentially huge. The main thing I could see being able to be used with salesforce (which is what most people are asking for, or trying to figure out on forums) is how to pump the data between the two apps (their current rails app, and the salesforce crm that their company likely uses for sales and client relationship management). This is achieved using a "canvas app" as salesforce calls it. Salesforce allows the people to have an open api for all of their data that they have, so it makes it pretty useful for implementing this type of thing.

For instance, my company has 2 different, rather simple, ROR apps our clients use to see general information on their cases and projects, however, our salespeople use salesforce and that is where 95% of the communication comes from. I have been able to use standard REST calls and get some decent functionality between the two. I think you could really capture an audience to your channel by looking into it - if only for that series for 'pro' subscribers. These people using salesforce are paying some serious $$$ per year and they would have no problem fronting the costs to help their devs quit bumbling around trying to roll their own stuff between their sales and client side apps.

Just a thought, I know there are a few hundred, if not thousands of people that ROR apps for their companies and use SF as their sales CRM - so it is definitely worth taking a look at. Plus, I am alway interested to see what you come up with, because my implementations are usually more 'hacky' since I own a business and don't have the needed time to sit down and plan before coding. You always approach solutions a little more elegantly, haha.

I see a lot of ROR coders in forums looking for information on how to implement some Ruby or ROR with their salesforce implementations.

I was wondering if you ever considered doing a series on that - seeing as the salesforce community is enormous. I know that most use or adapt to the APEX code but some companies already have large ROR implementations and that is where I see most of the questions and theories on how to best implement that.

Thanks

Posted in Liskov Substitution Principle Discussion

Awesome.

Keep up the SOLID principles work.

Posted in Single Responsibility Principle Discussion

I am glad you are doing this SOLID series.  

Awesome content.

Posted in Create form object with has_many attribute

Have you looked at the different dynamic solutions for nested associations using cocoon?

https://github.com/nathanvda/cocoon

It may not be complete solution for what you are looking for - but unwrapping on the front-end is pretty straight-forward and cocoon can pretty decently handle the children associations and addition pretty well.  

*the neat part about cocoon is that it takes the complicated JS I used to roll up to make this same thing possible.
**I have been using cocoon with paperclip and amazon s3 to store documents that are associated with projects that our client's are working on and it works pretty flawlessly.  Just do not get crazy with paperclip if you do this - each resizing of an image is 2 or 3 calls to the tmp folder and imagemagick on the server, I just store everything at original size.
You are pretty awesome.  Thanks for the great work you do - and you are correct about other communities - i.e. "This is the WAY to do x, any other way is inefficient or incorrect" is pretty much what one gets most of the time.
Spaces are working from my macbook on chrome and firefox.  However, on my windows 10 machine on the newest version of chrome spaces still are not working for some reason - that is just an fyi.

Thanks for your quick response and I realized the JS and endpoints - I also will go look at the selectize video of yours.  I did not know if there is a best practices or like they call it "Rails Way or Railsy" of doing it.  I come from C# and Python and those two languages are pretty explicit in ways to do things - I am trying to get used to Rails/Ruby and their being multiple proper ways to do things, haha.
Spaces-are-not-working-in-wysiwyg-editor-but-the-question-from-above.