#NextJS from PHP

1 messages · Page 1 of 1 (latest)

night forum
#

if you're used to PHP, then the biggest jump you will find to a NextJS or NodeJS webserver will be that the webserver is part of the codebase.

In PHP you need Apache or Nginx or similar to handle web requests, and it will run the PHP executable on a .php file to generate an HTML response.

In NodeJS, there is no need for another webserver, it is one

warm kiln
#

THIS! Before I used a different method to install it but now its even worse.

#

good thing i still have the notes for the old install method

#

FINALLY got it to run.

Now Like i stated in the introduction this was all gotten in:

#

Unlike adding and changing stuff is different from when I worked with html5

night forum
#

yes, it's quite different

#

but I promise it is worth the trouble

#

React is very popular, so just like wordpress, there are a lot of packages available

warm kiln
#

the hurdle is getting PAST this. I've been stuck for months figuring it out from the guide.

#

stuff like component adding...its a bit of a jargon

night forum
#

what's your background / job? If you don't have a more senior person where you work to teach you and unblock you on things like this, maybe an online course would be a good way to get you into it?

warm kiln
#

Digital Entrepreneur

I deal with mostly the HTML5/CSS/JS frontend when it comes to web development. For PHP its wordpress since I'm used to it.

My goal is to make websites on the frontend, integrate them with an autoresponder service and add a WordPress blog to them for clients on the backend. Down the line Ecommerce as well.

Meanwhile I do affiliate marketing to help support my efforts and drive traffic sooner or later.

This was before delving my hands in a JS framework.

#

..and yes I do have skillshare I can start to learn about this better.

warm kiln
warm kiln
#

hmm...I think the problem lies in the folder structure now that i starting to relearning it:

#

This is what most of the basic next.js folder structure is but:

#

When I installed the new next.js app in windows I get a bit more complicated structure.

#

To better understand Next.js is to do it from the manual route.

warm kiln
#

FINALLY it's working so far. The navbar and javascript is still imperfect but thank goodness I jumped over that hurdle.

#

Now I need to get the navbar working, put 4 other pages into this app and implement API for blog and autoresponder but after 5 months...FINALLY.