Essential require.js plugins for large projects

April 25, 2012 16 Comments

When working on large javascript projects (like what we do in Backbone.js), its a godsend to have something like require.js to help you split your project into organized pieces. But in addition to require.js, there are quite a few require.js plugins out there that you should take advantage of.


depend.js - Rock solid loading of dependancies in order

This plugin (millermedeiros/requirejs-plugins) insures that a particular dependency is loaded prior to loading the next. I initially thought the order.js plugin accomplished this, but when you have things like jquery-ui plugins extending the base jquery-ui this can cause problems. The files would be requested in the correct order, but the plugin would load faster than the large `jquery-ui` library. Compiling was fine, but his caused intermentant errors during development. Depend.js solves this issue.


text.js - Text-based dependancies

This plugin (require.js) works great with the underscore.js _.template function. It allows you to load text-based files and use the content as a dependancy. I find this works much better than trying to load javascript templates in other ways (i.e. ajax requests or from the DOM). Also, when you run your project through the r.js compiler, all the templates are compiled right into your javascript!


cs.js - Coffeescript in require.js

This plugin (jrburke/require-cs) lets you intermix coffeescript and js dependancies within your project. All the coffeescript dependancies are complied in realtime allowing you to develop without the need to have coffeescript watch your directories for changes. Upon compiling with r.js (note: some special configuration is necessary), the files are compiled into javascript.

This is also an easy way to play around and learn coffeescript without the need to install it on your local system.

  • Ali - April 25, 2012 3:27 PM

    Very helpful. You need to post more like this Daniel :)

  • Daniel - April 27, 2012 5:59 PM

    Thanks Ali. Going to try and a post every week or two

  • Michaeldrali - March 25, 2019 6:13 AM

    We offer you the opportunity to advertise your products and services.

    Ciao! Please note an interesting offers for you. I can help you with sending your commercial offers or messages through feedback forms. The advantage of this method is that the messages sent through the feedback forms are included in the white list. This method increases the chance that your message will be read. The same way you received this message.

    Sending via Feedback Forms to any domain zones of the world. (more than 1000 domain zones.).

    The cost of sending 1 million messages is $ 49 instead of $ 99.

    All us sites that have a feedback form. (10 million messages sent) - $349 instead of $649

    Domain zone .com - (12 million messages sent) - $399 instead of $699

    All domain zones in Europe- (8 million messages sent) - $ 299 instead of $599

    All sites in the world (25 million messages sent) - $499 instead of $999

    Discounts are valid until March 31.

    Feedback and warranty!

    Delivery report!

    In the process of sending messages, we do not violate the rules of GDRP.

    This message is created automatically use our contacts for communication.

    Contact us.

    Telegram - @FeedbackFormEU

    Skype – FeedbackForm2019

    Email - FeedbackForm2019@gmail.com

    Sorry to bother you.

  • Wayneelack - April 8, 2019 5:22 AM

    My name is Pete and I want to share a proven system with you that makes me money while I sleep! This system allows you to TRY the whole thing for F R E E for a whole 30 days! That's right, you can finally change your future without giving up any sensitive information in advance! I signed up myself just a while ago and I'm already making a nice profit.

    In short, this is probably the BEST THING THAT EVER HAPPENED TO YOU IF YOU TAKE ACTION NOW!!!

    If you're interested in knowing more about this system, go to http://globalviralmarketing.com/?ref=qkgWOPkN5RoC1NWh and try it out. Again, it’s FREE!

    You can thank me later

    /Pete

  • Kevinsnida - May 6, 2019 10:16 PM

    Hello from Plan B - Funding Options LLC

    *If you're thinking about starting your own business or if you need funding for most other reasons there's 3 things that you need to keep in mind.

    1. You need to make a well thought out plan, try to cover everything you want to accomplish and think of what could go wrong along the way. You could create a business plan and or executive summary to use as your guideline. As a rule, it’s best NOT to ask family or friends for money its best to use (other people’s money) a funding source that you have no personal relationship with.

    2. Expect your plan to fail in part or full in many cases this will happen no matter how well you thought out your plan. Unforeseen obstacles and speed bumps often will come in your path that prevent your plans from going as you had projected.

    3.Always without exception have a (Plan B). And that's where we come in. We are your Plan B!

    *Please visit our website for details at: https://www.planbfundingoptions.com

    Email us for funding or questions info@planbfundingoptions.com

    Call Us : 949-682-9235 (California Office)

    **If you do not need funding at this time, perhaps you know someone who does. We Pay Referral Fees!!! See this link to the page on our website that explains what it means for you! http://www.planbfundingoptions.com/we-pay-referral-fees.html

  • DarylEnern - May 9, 2019 8:51 PM

    Hello there,

    Hope you are well.

    I’m Simon, Outreach Manager at a leading Digital Marketing Agency. I came across your website and read some of your articles. They are so unique and informative.

    I would be happy to establish a cooperation with you. We would like to promote our client’s services on your website through multiple articles with a do follow link.

    Please let me know whether you accept this kind of advertisement and what will be the best cost for publishing a guest post on your website. As we’re here for a long-term relationship, we would expect the best pricing from you.

    Please provide your details here: https://forms.gle/1HzNQYg46p6pTPmX9

    If you run more potential sites, feel free to submit all your worthy sites.

    Looking forward to your details.

    Thanks & Regards,

    Simon Cooper

    Outreach Executive

  • ShaneTic - May 16, 2019 1:36 AM

    Hi Look what we possess for you! an stimulatingpropose

    To be fit click on the link underneath

    https://drive.google.com/file/d/1jPajpeQ1GSe2rufuyCQjn19Joa76uq5X/preview

  • Anthony Smith - May 18, 2019 11:10 PM

    Hello there,

    I am Anthony & I’m currently working on an online campaign with a client who would be interested to post an article on your website. The article would discuss topics relevant to your readership and include a natural link to my client’s website.

    If you’re interested in guest post collaboration, please provide your pricing information through the form below or get in touch for more information.

    Provide Your Website Details: https://forms.gle/dZDaMutecFpyehAZ6

    If you run more potential sites, feel free to submit all your worthy sites.

    Looking forward to hearing from you.

    Thanks & Regards

    Anthony Smith

    Outreach Executive

  • RobertGrire - May 18, 2019 2:45 PM

    Ciao! dlrust.com

    Have you ever heard of the possibility of sending messages through feedback forms?

    We offer you to test this feature for free. Our database has all the sites in the world to which you can send the above message. At the moment it is more than 25,000,000 sites from around the world.

    When sending out we solve the captcha, as there is a possibility of solving recapch2.

    Discounts are valid until May 25.

    Feedback and warranty!

    Delivery report!

    In the process of sending messages we don't break the rules GDRP.

    This message is automatically generated to use our contacts for communication.

    Contact us.

    Telegram - @FeedbackFormEU

    Skype – FeedbackForm2019

    Email - FeedbackForm@make-success.com

    WhatsApp - +44 7598 509161

    http://bit.ly/2W7Odl2

    Sorry to bother you.

  • Andre William - May 22, 2019 6:03 PM

    Hello,

    I hope you are well. I have had a colleague pass over your details to me regarding your website in the hope you’d be interested in accepting a great article I am working on?

    Would you be able to let me know what your lowest budgets are to publish content on your blog, please? I write informative articles for websites readers, not just for Google and Include good research.

    I would be linking to Compare the Market and my budget is between £50- £100 GBP.

    Eagerly awaiting for your response

    Thanks,

    Andre William

    WMG Agency

    https://www.wmgagency.co.uk

  • DonaldSmeaf - May 28, 2019 6:13 PM

    Hi, dlrust.com

    Let's see how we can achieve better advertising result for your business.

    I would like to start by sharing with you a case study of a local campaign we ran for a Burger King franchise.

    Their budget was only $1200 and we got them $4,825 in value of sales!

    See how we did it - Click here https://www.conciergedigitalleads.com/uploads/sYvnOSwp/SuccessStories-ReachFrequency-BurgerKing.pdf to download the Burger King case study

    Our company runs full-service Facebook Advertising campaigns with guaranteed results for as low as $95 for a one-off campaign.

    Let’s talk today. Click here https://conciergeleads.youcanbook.me/ to Book a 15mins Free Consultation Now

    Our process is super short and easy

    1. We set up a 15min call in which we learn about your business

    2. On the same call, we can design a campaign and start running

    3. We do all the work – a 100%

    4. You can try us with a very low budget

    We do everything from writing the copy, designing the ad, set up, and delivery on Facebook, ongoing optimization and reporting.

    We deliver a FULL-service solution.

    Book a 15mins Free Consultation Now...Click here https://conciergeleads.youcanbook.me/

    Looking forward to talking with you.

    Thanks,

    Emily Van Garderen

    Client Management Executive

    Concierge Leads

    conciergeseoleads@gmail.com

    T. 844-899-9770

    5887 N 42ND Street Milwaukee WI 53209

  • RobertGrire - May 30, 2019 9:19 PM

    Hi! dlrust.com

    We submit

    Sending your business proposition through the feedback form which can be found on the sites in the Communication section. Feedback forms are filled in by our program and the captcha is solved. The profit of this method is that messages sent through feedback forms are whitelisted. This method increases the probability that your message will be read. Mailing is done in the same way as you received this message.

    Your commercial offer will be seen by millions of site administrators and those who have access to the sites!

    The cost of sending 1 million messages is $ 49 instead of $ 99. (you can select any country or country domain)

    All USA - (10 million messages sent) - $399 instead of $699

    All Europe (7 million messages sent)- $ 299 instead of $599

    All sites in the world (25 million messages sent) - $499 instead of $999

    There is a possibility of FREE TEST MAILING.

    Discounts are valid until May 31.

    Feedback and warranty!

    Delivery report!

    In the process of sending messages we don't break the rules GDRP.

    This message is automatically generated to use our contacts for communication.

    Contact us.

    Telegram - @FeedbackFormEU

    Skype – FeedbackForm2019

    Email - FeedbackForm@make-success.com

    WhatsApp - +44 7598 509161

    http://bit.ly/2WaDiqS

    Sorry to bother you.

  • JeromeBrola - June 23, 2019 10:39 PM

    EVROSIS Technologies’s turnkey solutions: we customize our products and services to meet the exact requirements of our clients. At EVROSIS TECHNOLOGIES, our developers, engineers, and data scientists are experts in Financial Engineering, High Frequency Trading, Trading Platform & financial markets.

    Our competitive strengths: High Speed Networks Development, High Performance Computing, Deep Learning A.I., High Sharpe Ratio Trading models, and talented Quant Traders.

    You can Get custom Trading Solutions for any Exchanges/ECNs in The World or use pre-prepared Solutions and Profit from a state-of-the-Art Model. You will save Time and Money by Working with Us.

    Contact us and we will implement your needs.

    Kind regards

    Website : http://bit.ly/2ZECvjp

    Skype: support.evrosis

    E-mail : info@evrosis.com

    EVROSIS Technologies Ltd.

    130 Old Street, London, United Kingdom, EC1V 9BD

  • StanleyViz - June 27, 2019 2:23 PM

    Good Morning,

    I hope you and your family are fine.

    I sent you a message last 2 days ago regarding a transaction of $ 10.5 million left by my deceased client before his sudden death. Unfortunately I could not read any email you sent till now. For this reason, I am writing to give you my personal email to communicate with you.

    If you’re interested and want me to feed you with more information about this transaction, please write me on this email: belzuzlarruy@gmail.com. TEL: +34 631 336 413

    This transaction is 100% risk free and it will not take us more than 14 days to complete.

    After the transaction I will want us to donate 10% of this money to charity organizations while the remaining 90% will be shared between us thus 45% each;

    Once I hear from you I will feed you with more information and am sure you will be happy.

    Yours sincerely

    Abogados Belzuz Larruy.

    Attorney

  • air jordan 4 - July 2, 2019 11:39 AM

    I wish to convey my admiration for your kind-heartedness for folks that really need help on this particular issue. Your personal dedication to getting the message all around appears to be wonderfully invaluable and have consistently empowered professionals just like me to arrive at their objectives. Your personal invaluable publication denotes a whole lot a person like me and extremely more to my mates. Warm regards; from each one of us.

  • Richardswale - July 3, 2019 6:58 PM

    Hi there, I just came across your website and wanted to get in touch.

    I run an animation studio that makes animated explainer videos helping companies to explain what they do, why it matters and how they're unique in less than 2 minutes.

    You can watch some of the videos we’ve made here:

    http://bit.ly/301f7ga - what do you think about it?

    I really wanted to make you a super awesome animated video explaining what your company does and the value behind it.

    We have a smooth production process and handle everything needed for a high-quality video that typically takes us 6 weeks to produce from start to finish.

    First, we nail the script, design storyboards you can’t wait to see animated. Voice actors in your native language that capture your brand and animation that screams premium with sound design that brings it all together.

    Our videos are made from scratch and designed to make you stand out and get results. No templates, no cookie cutter animation that tarnishes your brand.

    If you’re interested in learning more, please get in touch on the email below:

    Email: storybitevideos@gmail.com

    Thank you!

Add a comment

Post categories

Post archives