I have a technical test for a position which consists in creating a simple TODO-App. I wonder about part of the instructions :
The product owner is curious and likes to read the application code on Github and test it via Github Pages
The application should have a mocked backend and store all todos on it (extension of HttpXhrBackend)
From what I read Github Pages allows to host "frontend" part of websites, so how is it possible to test a fullstack app with it? Does it just mean that I have to create a test pipeline via Github Action or I'm missing something?
Secondly, concerning the "mocked backend", it mentions HttpXhrBackend which is an Angular class. Is there any React alternatives? I have to specify that I've never used Angular yet and they left me the choice of programming languages to carry out this project:
The backend application should be based on your preferred languages (Java , JS, PHP, Python, Go, C++, ...) and/or Framework (Spring Boot,
Django, .NetCore , NodeJS, Angular, React, ...)
Which solutions should I consider if I want to use Spring/React and meet these requirements?
Related
As someone just started in web development, I was constantly bothered with these terms and really hoping someone could explain some of my questions for me.
What is the major difference and similarities between frontend frameworks and backend frameworks?
Can I use both in one web project or does they conflict? (Never seen a project that use both front and backend framework).
If one project only need one framework, then why are some named frontend frameworks some named backend frameworks.
Currently I'm more familiar with Django, a backend framework and in Django, and In Django development, frontend becomes basic html and css, though I was expecting something fancier (something like react components)
Never used a frontend framework in project or work. So how does backend stuff work in a frontend framework project?
Any answers would be helpful 🙏🏻
Yes, you can use both a frontend and a backend framework on the same project.
Some backend frameworks, such as Adonis.js, Django or Spring, offers you a template engine (I believe this is the one you are using with django https://docs.djangoproject.com/en/3.2/topics/templates/) which can be great for simple pages. But as you said, some times you need more complex features, in this case a frontend framework would come in hand (such as React.js or Vue.js).
In this last case, you could have two separate code bases that change information through an api. In my experience I always prefer to have a frontend separated from the backend, this way its easier to maintain the codes and you can use the same backend from multiple clients, lets say and website and a mobile app.
I completely agree with Pedro - you can use frontend and backend frameworks when building the same software / app / website.
If you want to build a complex project, I think Vue.js will be a perfect choice. However, recently I have noticed an increased interest in developing digital products with React Native. To be completely honest, I don't have much experience with this framework, so I can't tell you whether it's a good choice. If you would like to check the best development frameworks, this piece of content will tell you everything you need to know: https://www.miquido.com/blog/the-best-frontend-development-frameworks/
Yes you can both frontend framework and backend framework at the same site.
the benifit of using backend framework includes Security, uniqueness, scalability and the benifit for using frontend framework includequicker prototype, standardized, more efficient and reliable
I want to develop a system module based using Laravel 6 and reactjs 16. It will be included Roles and Permissions functionalities.
I am using https://github.com/spatie/laravel-permission for roles permissions. I just want to know how to use it with reactJs.
Laravel 6.0 is being used for database and backend functionalities.
IMHO it's not depending from front-end technologies (like react).
And suggest you to read this article or watch appropriate youtube video.
By the way, I don't think that here we need to write about installation steps for that popular package. Because all that stuff written in the official package Readme, and issues are there too. So if you will get an error, or have some troubles, people will try to help for the specific case
I want to create an application using Ionic and AngularJS and Grails?
Also, I want to use Grails Spring Security Core plugin for login or registrations procedure.
Although, Stack Overflow is not the correct site to ask this type of questions which simply needs suggestions and other's opinions.
Well, we are here to help. You can try other StackExchange sites like https://softwareengineering.stackexchange.com/.
Grails + Ionic + AngularJS is a perfect combination of frameworks to build a fully functional and elegant mobile application for all platform. We've build various mobile applications using these three technologies and they work awesome.
Since Grails fully support the concept of rest API for JSON and AJAX based calls, it is absolutely possible to use it along with AngularJS. AngularJS doesn't care about the server-side technology you are using as long as your server side code can communicate over JSON data.
Ionic is just a beautiful front-end SDK which works on the top of AngularJS and provides various utilities to develop a hybrid user-friendly mobile APP.
So you can easily use these 3 technologies and get your mobile app ready in a few weeks.
Ionic doesn't care about what you use as a server stack. As long as you create a service which has well defined interfaces (REST?), you should be fine.
I for example use PHP (yeah, I know, shocking, right?) Slim framework + Postgres database as my backend.
I'm thinking about upgrading my site. It's a trade place a lot like ebay.com.
My site is build in Laravel 5.1, but without any front-end framework. Because of that, I was wondering if it made any sense to use a front-end framework like angular js?
Pros and cons please.
I don't know that much about angular js, but if I convert my laravel application to fully obey the REST principles, i'm also well suited for building an iOS-app when that time comes???
http://tilsalg.dk - Link to my site
I don't know whether it is suitable to use angularjs for this purpose. The problem is as far as I am concerned, that website which are written in javascript (so angular) can not be indexed well by SEO's. I'm hearing a lot that Google can index it but I'm a little sceptical about this. For a trading website like ebay it's very important that the site is SEO optimized. Of course if you use REST principles you can always change the frontend and that is also the way to do it.
I know what angular.js is and I even had a question about it #Why use AngularJs in frontend if Laravel is already used as backend?.
but recently I started to read about React.js and from its site (its the V in the MVC) which is exactly what am after "handling the view and nothing else".
for me, I think Angular.js as an MVC framework was made to be used with something that is built with JavaScript from start to end like Node.js
and it seems like an overkill when used with something like Larval, where I simply need something to handle the frontend and nothing else + Angular have 2 main drawbacks
with the latest news about a new version that won't have back compatibility with the current version makes me even feared to start learning it just to find that more or less every project out there is using the old version which mostly is true.
angular renders the whole dom if anything got changed which again is an issue for big projects.
so based on the above, plz note that I want to learn/use JS solely to enhance the user experience not to build another Gmail or Facebook and so my question is,
could React.js be used with Laravel to handle the view and do everything Angular was going to give, or I have to use Angular liked or not?
could React.js be used with Laravel to handle the view and do everything Angular was going to give?
No
React is just for views. React components are stateful components with some really clever rendering stuff happening behind the scenes. To build a fully functional front-end app, you'd need to tie in some other code (or write it yourself).
React works well with Facebook's Flux architecture. I would suggest looking into that to learn how to manage the state of your react components.
What's key to understand here is that Flux and React are not parts of a large front-end framework. React is a library and Flux (as provided by Facebook) only provides a Dispatcher. The rest is up to you to implement. There are some pre-existing implementations you can look at if you need some help to get started.
What I like about flux is that it allows me implement things the way that fits my application best. React takes care of the heavy DOM lifting and is very easy to learn. Compared to Angular, I don't have to learn arbitrary conventions and gigantic APIs of a huge framework.