Lurker News

Comments (176) 62 threads

swframe1 reply#
I've built similar platforms. Naturally, I think they are awesome. They are a core part of very valuable products like SAP, Salesforce, etc. You will get a lot of push back from high developers who prefer direct access to the native api or html. Please don't let them discourage you. My response to them is that they can build reusable components that are driven by your json layer (win-win). There are enough developers who will benefit. Try to get funding sooner than later. I waited too long. You can't keep up building this by yourself.
gliechtenstein3 replies#
Thank you for the advice! Honestly it means a lot!
throwaway433 replies#
Don't listen to the haters. This is extremely valuable. Especially in E-commerce.

Like when you have an ever expanding product line and new categories are being added all the time. Ever wondered why Amazon uses web views all over ?
Many E-commerce companies would love to be able to do extensive A/B testing or add analytics on the fly but are crippled by the App store and the limitations of native apps. Some have even built versions of this themselves.
What we need is an Android port of this and then this will be some hot shit. I am willing to help on the iOS side in any way I can.

gliechtenstein3 replies#
Thank you! Please follow the project and join the Slack channel if you can :)

Continue this thread — 3 replies

djsumdog#
When I read the Readme, I was thinking this could get a lot of limitations of store app updates. (As long as this thing can use a cached version of your json if it can't connect to the Interwebs).

I hate the walled gardens of the iOS/Android world and the fact that multi platform frameworks are so difficult. Seeing things like this are encouraging.

blazespin#
I think the key win here is very highly stylized native components that very elegant which solve specific use cases (content selection, database browsing, shops, etc). That way you can compete with react and friends who try to be everything to everybody.

I have built similar tools as well. You can't be generic because that requires programming skills. Focus on high value niches
And make everything look very very good. And perform very very fast.

mntmn#
Yes, keep it up! I shipped a fragment of something similar in an iOS app a few years ago, allowing my client to customize a complex form component of the app dynamically. It proved very useful.
gliechtenstein15 replies#
Guys, the author here. This is my first open source project and I worked really hard on it for 5 months.

I think it's really cool, and I hope you guys like it. I would appreciate any kind of feedback!

shakna1 reply#
What's the local fallback like? Does this continue to work at all if the client does something like change networks?

I quite like the look from the limited glance over. (Probably going in my list for the next tiny thing I have to build).

gliechtenstein1 reply#
There's a $cache action where you can store any JSON object into cache associated with the current url and reuse it later https://jasonette.github.io/documentation/actions/#cache-vs-...

Also there's an undocumented mode called "offline", where the JSON loads from the server once and after that it always loads from the initially fetched JSON stored locally. You just need to set "head": {"offline": "true}
Hope this answers the question!

joelhaasnoot6 replies#
It'd be even better if you could ship a version to the App Store with an embedded JSON. That way you'll always have some version of your app. Or does it do that already?

Continue this thread — 6 replies

yNeolh#
Really cool, I always thought about something like this, but yours is more powerful that I have ever thought XD. The thing about this Is you can make IDEs and UI designers "easily" because you already have the engine. So good job ;)

With this you could hide some porn apps in appStore so I don't know how "legal" it is, but that's just a minor problem ;)

ayumu722#
this is weird man, I had a similar idea like about a year ago, and just started coding some prototypes of it this week, my original idea was to scan a QR code and then you'll be presented with a native app, and I needed a way to code the elements of the app, and i didn't want to waste time writing a parser, so I used Json too lol. I was coding for android, maybe we should join forces ;)
saganus1 reply#
This is very interesting.

However I'm no iOS developer, so could you give me a cursory explanation on how it works? I mean, I can imagine creating a framework that has "empty" screens, and then just loading data into them, but this seems like it can do much more.
So for example, if I want an app with say 4 screens, and GPS access (if supported) and a few buttons, do you have all those objects already in memory and just copy them and inject the data to show on screen?
Or maybe it's too early and I'm missing something. Very neat though!

gliechtenstein1 reply#
Almost correct. To be precise, it doesn't have the objects in memory, it instantiates all the native components on demand based on the JSON recipe. And all of them of course go away once you close that view.

Continue this thread — 1 reply

hiou1 reply#
This is fantastic. Thank you for taking the time to create it. This looks like an amazingly simple way to create a prototype.
gliechtenstein#
Thank you! Why stop at prototype though? All you need is a couple of more lines to actually make it work (make network requests, call native functions, react to user interaction etc) :)
nthcolumn#
I don't haz Apple but it looks great.
profalseidol1 reply#
Great, but too bad, it's for getting into the jail.

edit: just in case, i am just criticizing the support of Apple's monopoly.

rahkiin#
What monopoly? There are many times more android devices than iOS devices.
ikeboy1 reply#
Does this break any of Apple's rules?
gliechtenstein2 replies#
nope!
JoelMcCracken1 reply#
Can you explain how it doesn't? I immediately think of embedding an interpreter in this thing for real, general application development.

Congrats on shipping. This thing is cool.

Continue this thread — 1 reply

djsumdog#
I've heard Android pulling apps that try to update themselves outside of the store. I was thinking this would be a great way to get by the update process in general, since you could cache the json if off-line or pull a new version if you're online.

Of course with that extreme of a view, web views would break the rules too. :-P
In any case, it's a cool project. I hope to see more production stuff using it.

primitivesuave1 reply#
I think it's really cool too. I especially love open-source projects like this that just work. I also appreciate your significant effort to make extensive and helpful documentation.

Out of curiosity, what prompted you to start building this?

gliechtenstein#
I didn't start from a grandeur goal, but had an existing app on the appstore and was frustrated with every single aspect of the app development process. So I started implementing little by little just to make it easier, and ended up with an app that's actually a precursor to Jasonette.

I extracted Jasonette out from that app so others can use it too :)

Ecio783 replies#
Hi Ethan, it looks very interesting, one feedback and one question: Feedback: you should try to slow down the gif demos, at least in my Chrome/laptop they are quite fast and the viewer can't really appreciate it completely

Question: I see that XCode is required, I don't have a Mac only an iPhone). Any possible way to use Jasonette without a Mac? I've seen some services like Mac in a cloud but I was more thinking about alternative methods. For example, as the only setup required is to provide the URL, couldn't you create a generic Jasonette test/dev app where you can provide the url and do the testing/development directly only on the json side?

downandout2 replies#
You can run the latest MacOS in VMware on Windows. It works perfectly - Google "VMware Unlocker" as a starting point. This setup actually runs faster than the older Mac Mini I bought specifically to develop for iOS, and it's obviously much more convenient to be able to use a Mac from Windows whenever needed. Both Xcode and a $99 Apple Developer subscription are required if you wish to distribute the app anyway, so I'd suggest you go the VMware route if you don't want to buy Mac hardware or use a cloud service.
Ecio783 replies#
I heard that running MacOS on a non-Apple hardware was not considered a legal solution. Am I wrong?

I thought my idea of having a test Jasonette app where you put the url from the app after the boot to do your testing could be very easily doable and way not it could allow also to test the various existing apps that OP created: he could create a test app that downloads a list of his demo apps (so it is always up to date), show a dropdown or similar to choose the demo app + allow you to specify your own custom test url using the keyboard of the device. In this way you have both a demo and a test application :)

Continue this thread — 3 replies

gliechtenstein1 reply#
Yes, it's called Jason, it's on the appstore https://itunes.apple.com/us/app/jason./id1095557868?mt=8

In fact, I first created Jason about 5 months ago, and have since been working on open sourcing it, which became Jasonette.
One warning though, note that this current version of Jason is not completely up to date with the most recent version of Jasonette (I've been too busy trying to release the open source), which means about 95% of the apps should work but not all. I plan to push an update soon, please follow the project or join the slack channel to stay updated :)

Continue this thread — 1 reply

Continue this thread — 1 more reply

Continue this thread — 5 more replies

mpweiher6 replies#
Instead of JSON, you could also consider sending XML markup. Oh wait, or maybe reuse an existing SGML/XML standard called...HTML.

And then you could add scripting...

joelhaasnoot1 reply#
The problem with this is that there will always be some sort of disadvantage HTML5/hybrid/etc apps have over real native apps. Things like interaction, calendar integration, 3D graphics, etc, etc never work as well as they do as for native apps. In addition, if they do work on a technical level, Apple or Google may add an API tomorrow that either breaks, or you'll have to wait on the supplier of your HTML5 magic framework to add support, etc. If you want high quality, responsive UIs and apps, native is the way to go.

For a simple app, I think this is a good idea - going to play around with it for some simple apps.

derefr3 replies#
You're assuming that choosing HTML as a format forces you to use all the associated web-platform goop to render it.

In the end, HTML is just a standard for defining view element hierarchies; CSS is just a standard for specifying declarative layout constraints on those element hierarchies; and JavaScript is (supposed to be) just a standard for specifying how interactions with those views are bound to your view-controller. (The view-controller in a browser originally being an NPAPI

vog#
The problem here is backwards compatiblity. As your HTML file evolves, you will want to restructure it. CSS only takes you that far, at some point you need to adjust your HTML structure.

And then you have the problem that most clients will break with the new HTML structure.
In contrast, a separately designed JSON or XML structure (if you follow some simply sanity rules) can be kept backwards compatible for a long time.

gliechtenstein4 replies#
I totally understand where you're coming from. Here's my rationale: Most mobile devices and future devices will already use JSON as main method of data transmission.

And I'm trying to build something that's optimized for the future devices, and when you're building something from scratch you have freedom to make a choice, and I think JSON makes a lot of sense going forward, since this is just the beginning of this project.
Hope this makes sense!

Continue this thread — 4 replies

Continue this thread — 5 more replies

ajhit4061 reply#
I found it interesting that the author has actually submitted the same idea 4 times to varying degrees of interest:

https://news.ycombinator.com/submitted?id=gliechtenstein
It’s easy to forget that good ideas take a lot of time and iterations until they become magical. Great things do not happen overnight and without much sacrifice. The majority of people would give up the first time the community dismissed their prototype.
Big props for not giving up.

Continue this thread — 1 reply

Load more comments