Jump to content

Recommended Posts

Posted

Hi @ Fantomas,

On your website you are using a bootstrap css compiled down to only 7kb, so what's inside that is still of some advantage compared to hand coded css ?

 

Posted

Hi @pwired,

a bit off-topic, but so what...

I use bootstrap to always have the grid and basic options available. Maybe this is not needed on my own page, but maybe I wanted to be prepared to release more content.

Is there a question which packages I use, or should this be an advice to code css without bootstrap?

 

Posted

Hi Fantomas,

Thanks for jumping in. No it's just that in the past I was obsessed with css grids because I couldn´t code my own css grid. I must have tried all css grids out there. Nowadays, the more I write my own css grid, the less I see the overkill use of a css grid such as bootstrap or uikit, etc. The only use I still see for css grids like bootstrap, uikit, etc. is when you are working together with a group of coders where a consistent way of working is needed on the same project.

  • 2 months later...
Posted
1 hour ago, AndreasWeinzierl said:

is this tutorial still up to date?

It must be. ProcessWire almost never introduces breaking changes at API level. The API gets additions and bug fixes only.

Posted (edited)
7 minutes ago, AndreasWeinzierl said:

best

Tough question ? Have you seen this module? 

Edit:

or this one as another related alternative:

 

Edited by szabesz
added Page Query Boss link
  • Like 2
Posted
2 hours ago, AndreasWeinzierl said:

And it is still the best way to go?

From the API side it is still valid and working code. I don't think there is one best way to go. This tutorial shows one possible approach. There are many different other approaches possible. But at least it shows the basics of implementing a REST API.

You can also have a look at https://modules.processwire.com/modules/rest-api-profile/ which is the most recent approach I'm aware of.

  • Like 3
  • 3 weeks later...
Posted

@gebeer It was a great post. Just one addition to what you have written. In case someone has a multilingual website the route to api will become => http://mywebsite.com/en/api/pages/. Notice the addition of language key here (en).

  • Like 1
  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...