Git Product home page Git Product logo

webcalendar's People

Contributors

carolinagc avatar mamhoff avatar phansch avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

webcalendar's Issues

How to work with Ember and Rails?

Good resource tutorial:
http://reefpoints.dockyard.com/2014/05/07/building-an-ember-app-with-rails-part-1.html
http://reefpoints.dockyard.com/2014/05/08/building-an-ember-app-with-rails-part-2.html
http://reefpoints.dockyard.com/2014/05/09/building-an-ember-app-with-rails-part-3.html
http://reefpoints.dockyard.com/2014/05/31/building-an-ember-app-with-rails-part-4.html

Even this is use a EmberCLI and Broccoli instead of Grunt (or similar), I found very interesting for us in order to understand how organise our Ember/Rails project

I like a lot their clear division in two subfolder:
WebCalendar
|_ _ Rails
|_ _ Ember

https://github.com/bostonember/website

For what I got the division is more or less like:

Ember:
Js test
templates (with Handelbars)
stylesheets
define models (which kind of data they are)
routers
bower.json
grunt.json

Rails:
model
data
routes
controller
BE tests

Improving the localization

Using the English localization as a basis, feel free to create new locales or fix existing ones. You can even do this from the GitHub editor.

To get started:

  1. Fork the repository
  2. Pull up the right locale file in config/locales on your fork.
  3. Compare the locale file you want to improve with the English locales, making updates to your locale file.
  4. Submit a pull request with your changes.

If you have any questions, feel free to ask by creating a comment below.

Support multiple calendars

Currently events are independent of each other and don't belong to a specific calendar.
As discussed in #2, in the initial version, a user should be able to:

  • Add a new calendar (New users should start with an example calendar to start off with)
  • Add events to the calendar
  • Remove events from the calendar
  • Remove the calendar, including all events
  • Share the link to the calendar

How to integrate fronted tools with Backend: Tools

What we have to integrate:

  • Ruby on Rails (Rake and Sprockets)
  • Ember.js (Bower and Grunt)

Solutions:

  1. Get rid of Sprockets and totally relay on GruntJS through Gruntfile.js
    Write a Gruntfile.js which can compile, minify and build.
    http://blog.pedago.com/2014/01/21/goodbye-sprockets-a-grunt-based-rails-asset-pipeline/

I like a lot but I guess it required a very good Gruntfile and knowledge of grunt.
It will take more time but is for sure a good way to learn.

  1. Using Yeoman
    http://www.emmanueloga.com/2013/07/23/Using-AngularJS-with-a-Rails-backend.html
    http://www.base2.io/2014/03/14/using-multi-buildpacks-to-deploy-a-yeoman-bower-grunt-application-on-rails/

I”m not so sure that this solution is actually helping us or it just make us use another tool.
Anyway using another tool but for good reasons, let’ go for it.

  1. Use just rails (Ember gem)
    http://robots.thoughtbot.com/emberjs-with-a-separate-rails-api
    https://github.com/dockyard/ember-appkit-rails
    http://www.ember-cli.com/

This will not allow us to separate easily BE and FE. If the project will grow up we’ll probably have some trouble.

I want to highlight this sentence which i totally agree with:
“While it is possible to include AngularJS(or Ember for us) as part of the rails assets, I think it is better to setup the angular code base on a standalone folder, leaving the rails app as a (more or less) isolated backend.
By keeping the frontend isolated from the backend you get an amazingly fast development environment and draw a clear line between backend and frontend (great for making sure you are writing the right unit/integration tests).”

Other questions:

  • Don’t commit and ignore .css files
  • Better solution for main.css file? Right now we compile in local, not commit it and then compile in deploy, but seems not really working because main.css is not ignored! (we have to uncommit every time!) and it always give a problem during deployment

Good Practice:

  • Don’t commit /bower_packages. Just bower.json WITH packages versions specified!
    Write a bower init task on deploy task

Calendar as a Service?

Hey,

this came up when @carolinagc told me about the calendar project and I just wanted to know how far we could take this.

It would be nice to have a service like etherpad.org but for creating calendars. Right now, there's not a lot of web calendars out there, so I think this is something a lot of people would like.

There would be no user login required, to keep things simple for the user.
You could exchange calendars by using a random url. Everyone with access to the url would be able to add, modify and remove events.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.