kevinblanco / drupal-ionic

This repository holds an Ionic app to use as a base to consume Drupal Services REST API
MIT License
38 stars 15 forks source link

Update drupal-ionic for Drupal 8 #4

Open jameswilson opened 9 years ago

jameswilson commented 9 years ago

Very cool project!

D8 has built in REST API using HAL. Do you have any plans to update this to work with D8?

flexgrip commented 8 years ago

I'd be interesting in forking or a redux using ionic and D8.

kevinblanco commented 8 years ago

I'll get started with that now that Drupal8 is officially released!

flexgrip commented 8 years ago

Want some help? I was thinking about rolling the Drupal backend into docker

scotthooker commented 8 years ago

Ionic 2 might also be a good fit. @flexgrip - Drupal 8 docker also sounds like a good idea https://github.com/mglaman/platform-docker may be a good fit as an example.

kevinblanco commented 8 years ago

Ionic2 is in beta as Angular2 is still in beta as well, I'm worried that if we use NG2/Ionic2 and then stuff changes a lot it will break a lot our build, what do you think?

About the docker that sounds great! You could create the backend stuff @flexgrip

flexgrip commented 8 years ago

I think you're right. It looks like, for right now, ionic 2 cli works with existing angular/ionic 1 apps. Maybe it's best to continue with ionic 1 and Drupal 7, but then branch ionic 2 with D8.

For my purposes, I've found out a lot of the modules I need in D8 are not ready. Stripe subscription stuff, etc.

However, I'm going try and muddle through. So yes, I'll whip up a docker build of D8 that's made to work with your project out of the box.

flexgrip commented 8 years ago

Sound good?

flexgrip commented 8 years ago

Actually, I'm going to create a D7 companion for this in docker as well. Both will be hosted on the registry :)

kevinblanco commented 8 years ago

@flexgrip sounds perfect. Let me know about the D7 services and endpoints, maybe you could setup an API doc wherever you wish for me to integrate into ionic. This ionic repo is using an old version of ionic so I will work on updating it and improve it. We could setup a gitter conversation maybe Any help is well received from other contributors.

kevinblanco commented 8 years ago

What do you guys think about having a yeoman generator for drupal-ionic ?

flexgrip commented 8 years ago

Well, I don't know. I have some not so liberal views on the current JS trends. I'd be hesitant to make any project too dependent on all the js stuff.

However, yeoman seems to be ok. I figured you'd eventually make it into a 3rd party installable npm package. But that's probably too deep.

kevinblanco commented 8 years ago

I think that an NPM package that installs or generate a new project it's a good way to go, maybe way more complicated than a yeoman generator, but more profesional. I want something like 'drupal-ionic generate projectName` and that will generate the ionic app with our services n stuff

Boby commented 5 years ago

I think this is already not valid for the current d8 version?