Jasonette / Jasonette/JASONETTE-iOS
Extract out JASON template parsers into their own repos
- Dominant language
- JavaScript
- Stars
- 5.2k
- Forks
- 347
- PR merge metrics
- No merged PRs in 30d
Description
The built-in template parsers are responsible for [parsing different types of data with a template expression ](https://jasonette.github.io/documentation/templates/) written in JSON. Here's an example template for parsing JSON:
{
"{{#each $jason.items}}": {
"type": "label",
"text": "{{title}}"
}
}
There are currently four parsers: `CSV`, `HTML`, `JSON`, `RSS`. All template parsers are written in Javascript. It's because:
1. Javascript is the native language for dealing with JSON (JavaScript Object Notation).
2. It allows us to use full fledged Javascript expressions inside the template
3. It's cross platform (Will be using the same parser for all other platforms in the future)
Currently these files are compiled using Browserify before being added to the project, so it's not so readable and not versionable), which makes it impossible for anyone to contribute. Will need to extract these JS files out into their own repos soon, along with tests.
Contributor guide
Research direction
Start by locating the four built-in CSV, HTML, JSON, and RSS template parsers and the Browserify compilation step that adds them to the project. Review how the parsers are currently bundled, then define separate repositories and tests for each parser. Done means the parsers are extracted, versionable, tested, and still usable by the iOS project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100