Comments (26)
https://github.com/Shopify/batman/blob/master/examples/alfred.html
here's the link to batman's alfred todo example. I'm thinking should we do this or do we wait for the shopify guys to upload on their own(since it is their app anyway)
Here's the corresponding ticket: https://github.com/Shopify/batman/issues/108
from todomvc.
It probably makes more sense for you guys to write the example since you're more familiar with the nuances you're trying to explore in comparing the frameworks.
from todomvc.
imo, taking the alfred todo example, stripping it down and then building it up to match the other todo apps might be the easiest way to get a batman.js example landed, but ideally we would try writing it from scratch.
from todomvc.
im trying the writing from scratch way as the alfred example didn't really "conform" to the MVC standards. it was a quick example that had all the code in one html file only
from todomvc.
Sounds good!. Let us know how you get on :)
from todomvc.
@corroded Just checking in to see if you've had a chance to look at this yet. There are a few other frameworks that have submitted Todo apps for inclusion that we're in the process of getting through and I just wanted to see if Batman might be on it's way :)
from todomvc.
heya, yup. im working on it but if there are others who can do it quicker then im good with it. i was having a hard time just doing a quick replica and have deferred to the groups for help but being in the alpha stage, it seems there are a few kinks to ron out?
from todomvc.
Hey @corroded. That's cool. Is the general feeling over on the batman.js groups that it's at a place where it's stable to be used?. If not, I wouldn't be against including an example, but we would need to make it clear to users what they can expect if they opt to use it.
from todomvc.
well part of the reason i can't progress is the groups are kinda silent right now. Im not sure what the devs are up to but maybe they're busy refining it so it can go to beta? Just a hunch though. I'll try to contact them again and ask help on the problem I;m having this week :)
from todomvc.
@corroded: What are you having trouble with?
from todomvc.
i've got no problems recreating the batman js todo app...but only if i follow their example to the dot. if i move out the code to the real "mvc" style, it breaks. i'll be trying to cloning batmanjs again and see if it will help.
from todomvc.
I guess the broader question is whether Batmanjs encourages development using their style or whether they expect developers to greatly diverge from the pattern they appear to be advocating with their todo example.
from todomvc.
@corroded: Another Shopifier recently released a Rails gem for Batman. Hopefully you find it helpful!
from todomvc.
hi guys i recently just upgraded to the new batman js(an oct 12 release) and doing it the "right" way now works! there's some weird thing goign on with the delete though(it appears at the top before it disappears) but that's no biggie. I'll just implement the double click edit and the styles and we're all set :).
if anyone wants to help with the double click i can push it to my repo and someone can fork, but ill try to do those by the weekend here(+0800 GMT)
from todomvc.
Sounds great @corroded!. I'll do a code review when you get a chance to make a pull request but it sounds like you've got a handle on the requirements for the app. At some point I'll probably create a little boilerplate pack to make it easier for anyone wishing to contribute todo examples for other frameworks :)
from todomvc.
It's been a while since I've pinged regarding the batman.js example - is anyone currently working on this?
from todomvc.
@corroded any luck on this issue?
from todomvc.
heya guys sorry got tied up with wedding preparations. will be able to work on this again after i get back from the honeymoon. I'll try to push what i have so far so someone can take over?
from todomvc.
No worries @corroded! If you could push what you have done so at that would be great. Thanks and enjoy the wedding!
from todomvc.
Tell us when a working version get's pushed, I might take a look at it if I have time.
from todomvc.
I was looking at the Alfred example again this weekend and I don't think it would take a huge amount of effort to get it in line with the other examples in TodoMVC. It's missing inline editing and multi-select for delete but perhaps we can target this for the example rewrites that are planned for version 1.0.
from todomvc.
@johnknott We've pulled in your Batman todo app in our Labs branch. Would you be interested in finishing it?
Here's is what needs to be done:
- Use the latest template
- Use the latest Batman version
-
It's missing inline editing and multi-select for delete
- Routing
- Make sure you follow the newly released App Specification.
Please let me know if anything is unclear or could be improved. It's not field tested yet. The spine.js example, not yet landed, can be used as a reference. - This project uses tab indention and follows the Idiomatic guide to writing JavaScript. Please ensure your code follows this closely. If something is unclear, follow the existing style. Use double-quotes in HTML and single-quotes in JS and CSS.
from todomvc.
@sindresorhus Thanks for letting me know!
As you've noted the example I had up there is a bit dated and also isn't really very 'MVC'. There's also a bug where the 'x left' section doesn't update properly when a Todo item is removed from the collection. If I get chance I'll rewrite it to fit the new specifications but I am a bit busy at the moment so I'm not sure when that will be, unfortunately!
from todomvc.
@johnknott Ok, no problem :)
from todomvc.
Hey @johnknott. Thanks a lot for replying to this thread. We would love to get the app rewritten when you get a chance. The only thing I'm really hoping to get fixed in our Labs version of it before pushing it out for people to play with is 'editing' (i.e double-click an item to edit it). It appears that there's most of the logic already in place to support the feature, but if you get an opportunity to look over the code at all and can let us know what's missing that would be great. Otherwise, I'll try patching up some of the minor bugs myself :)
from todomvc.
The version we pulled in is currently located on the labs branch.
from todomvc.
Related Issues (20)
- Elm Visual Bug caused by "Active" filter.
- A new todo demo written in React 18 in here - https://k19wbt.csb.app/
- Update the broken link to Philiosophy behind react HOT 2
- Change footer's todo item filter anchor tag components to button tag
- [New App] Bonsai Framework
- Yew framework TODO request HOT 1
- Upstream Speedometer 3.0 TodoMVC apps
- More developer-friendly Ember builds HOT 3
- bug: Found this on https://todomvc.com/
- Azure cloud example for Todo
- Title HOT 1
- Thoughts on contributing an updated version of the React example
- Running tests with node 20.10 or 20.11 raises "ReferenceError: primordials is not defined" HOT 1
- Ember example link broken HOT 6
- Ember example link broken in index.html page
- Native app development
- Flutter
- React Native
- Astrojs SSR
- update Speedometer link
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 todomvc.