32
Wombat
6y

Last night I nearly finished my portfolio site. I was working on the perfect framework and workflow like forever. But in the end I accomplished a pretty pleasing solutions. For the back-end I choose Laravel with it's built in rest-api, the front-end is managed by Vue. I'm also proud of my assets-management which is handled by Gulp + Webpack (Laravel Mix). But here I decided to run Gulp on images, fonts and CSS and let Webpack bundle the JavaScript.

And what really crawls my balls is that I can write Sass and Jade, even use partials and organized the shit out of this website, and let Gulp just vomit some minified HTML and CSS on the other end.

Man that feels so good.

Comments
  • 2
    Teach me master!

    Don't forget to share the link when done, I'd love to see the output of what you described in your rant :D
  • 2
    @gitpush I definitely will 😉
  • 1
    @Divisionbyzero i'd like to see it, too
  • 1
    @Divisionbyzero Thanks :D

    By the way out of scope question, PHP or NodeJs for backend? I usually do C# but now I'm into NodeJs, not sure if I need to learn PHP for backend or what I know is enough
  • 1
    @gitpush I use PHP. Node.js was on the list, too. But then I decided it would be an overkill for my needs and choose Laravel. 😅
  • 2
    @Divisionbyzero it should have been the other way around lol
  • 1
    I also have a similar workflow. Difference is that in the Backend I use Koltin with ktor.io and on frontend I use Nuxt which builds on Vue and makes the dev enviroment easier to overlook.
  • 0
    @tahnik tell me more maybe?
  • 0
    @FilipeRamalho sounds interesting, too.
  • 2
    @Divisionbyzero Laravel is way too complicated for something like a portfolio website. With nodejs you could use express which is a lightweight server. It takes a lot less time to build and run the server as well. But whatever you did is awesome too 🙂
  • 1
    I would like to see your website as well.
  • 1
    @Divisionbyzero @tahnik thanks for your input guys.

    If I'm not mistaken devRant uses Nodejs for the backend, let us assume it reaches 1million user with 500K online at any given time, will NodeJs be able to handle that load, or going with PHP, C#, Java would be a better choice?
  • 3
    @gitpush
    Here is an article about scaling NodeJS and it recommends Microservices for 100k to 999k concurrent users. http://adrianmejia.com/blog/2016/...
  • 3
    @gitpush If I ever had that many users with that many requests, I would create server in either C++ or Go.

    You could continue to use nodejs with something like kubernetes.
  • 1
    @FilipeRamalho @tahnik thank you guys, really appreciate your help 😀😀
  • 1
    ++ for Laravel and Vue
  • 1
    @Divisionbyzero translates to scared of peer review
  • 1
  • 0
    @tahnik good point, though I had to learn node.js installation and serving first. PHP and Apache I knew pretty well, so for me Laravel is okay. I always had the which to learn both so it was just a decision about "wich is faster to do in the current situation". 😅
  • 2
    With SpringBoot you can also build a good REST API.
Add Comment