How many website do you think i can develop on a 1 cpu and 1gb ram?

|
focalfossa20 2020-09-09 12:16:05
GistOf 2020-09-09 12:12:50
Please give more details. Display them where? The user has selected them from where?

laravel_discuss-50260.jpg
the user must create order in this form

focalfossa20 2020-09-09 12:16:36
GistOf 2020-09-09 12:12:50
Please give more details. Display them where? The user has selected them from where?

laravel_discuss-50261.jpg
and, detail order must be display in here

focalfossa20 2020-09-09 12:16:56
focalfossa20 2020-09-09 12:10:40
I’m beginner in laravel, anyone can help me to display products based on what the user has selected?

sorry for typo, i mean display detail order

2020-09-09 12:47:21
2020-09-09 08:46:46
Did u check controller path? Everything organised in their folders.

No thing wrong ! All things right

2020-09-09 12:48:09
Mikedee 2020-09-09 10:38:31
Composer require inertiajs/inertia-laravel

This worked for me yesterday

same problem

GistOf 2020-09-09 12:50:25
focalfossa20 2020-09-09 12:16:36
and, detail order must be display in here

It’s hard to help you without seeing the code. Sorry

The solution depends on how and where you’re storing the order and the cart

g0kuaDL 2020-09-09 13:33:54
Anyone implemented CK editor with custom upload adapter
heisenberg0123 2020-09-09 13:43:17
Hi guys, I’m planning to develop my business site. I want to use Vue JS as my frontend and Laravel as my server. Hmm can I use $5 VPS without any issue ? I have to run node server and php server right?
GistOf 2020-09-09 13:48:35
heisenberg0123 2020-09-09 13:43:17
Hi guys, I’m planning to develop my business site. I want to use Vue JS as my frontend and Laravel as my server. Hmm can I use $5 VPS without any issue ? I have to run node server and php server right?

You will be fine with 1 decent CPU and and 1GB of RAM for most use cases

heisenberg0123 2020-09-09 13:49:16
Thanks brian!
heisenberg0123 2020-09-09 14:10:22
How many website do you think i can develop on a 1 cpu and 1gb ram? My client has 3 website averaging @ 5,000 visitors a day. So I will have 4 websites if ever I added mine.
heisenberg0123 2020-09-09 14:10:39
Will I havr any problems?
GistOf 2020-09-09 14:13:45
The way I see it, it’s more about requests per second than how many sites there are. Obviously what the sites are doing is a huge factor
heisenberg0123 2020-09-09 14:14:37
I see
heisenberg0123 2020-09-09 14:14:52
Thanks.
Babur001 2020-09-09 15:16:24
imhajiiii 2020-09-09 09:47:57
please help me for write api

Hey look how many resources i found just by putting it on google

Babur001 2020-09-09 15:23:16
GistOf 2020-09-09 09:42:33
I’ve been too busy to look at Jetstream, but from what I gather, it uses Tailwind. I don’t like that Taylor is trying to push for the adoption of Tailwind just because he’s so fond of it.
Laravel is bigger than him. His personal preferences are not as important as they were in Laravel versions 1 to 4

Hey, do not judge smth before actually seeing it in practice. I really like tailwind as opposed to bootstrap, it is super flexible framework. Do you prefer to do the on the way someone has put the foundation for you or create and discover new things for yourself. I think in that case TailwindCss is go-to

GistOf 2020-09-09 15:28:05
Babur001 2020-09-09 15:23:16
Hey, do not judge smth before actually seeing it in practice. I really like tailwind as opposed to bootstrap, it is super flexible framework. Do you prefer to do the on the way someone has put the foundation for you or create and discover new things for yourself. I think in that case TailwindCss is go-to

I think Tailwind should be an option, not the only way. The Jetstream dashboard is very beautiful. I think it sells Tailwind very well. Tailwind is probably better than Bootstrap, but that’s not the point. We don’t use technologies because they are better. If that was the case, I would be using Gmail for my emails. Just because something is better doesn’t mean we have to switch to it

GistOf 2020-09-09 15:29:58
My point is that developers will now have to do a lot of design work. One of the reasons why we need scaffolding is rapid development. Having to do the design work is going to slow us down
Bhuvi100 2020-09-09 15:30:53
GistOf 2020-09-09 15:28:05
I think Tailwind should be an option, not the only way. The Jetstream dashboard is very beautiful. I think it sells Tailwind very well. Tailwind is probably better than Bootstrap, but that’s not the point. We don’t use technologies because they are better. If that was the case, I would be using Gmail for my emails. Just because something is better doesn’t mean we have to switch to it

Yep agree with your point

Babur001 2020-09-09 15:31:04
I have just have researched in terms of bootstrap and found this
Bhuvi100 2020-09-09 15:31:06
There should be an option for bootstrap too
Babur001 2020-09-09 15:31:26
The jetstream is actually based on a Tall and Lit stack
Babur001 2020-09-09 15:31:43
laravel_discuss-50291.jpg

GistOf 2020-09-09 15:32:38
The good thing is that the industry is going to respond and start building admin templates with Tailwind
Babur001 2020-09-09 15:32:51
So probably because of the stack bootstrap wont be added.
GistOf 2020-09-09 15:33:04
It will take time till we can go online and download or buy a nice Tailwind pased HTML template that doesn’t look too generic. Till then, most admin panels are going to look the same
GistOf 2020-09-09 15:33:44
Bhuvi100 2020-09-09 15:31:06
There should be an option for bootstrap too

+1

Babur001 2020-09-09 15:33:45
GistOf 2020-09-09 15:32:38
The good thing is that the industry is going to respond and start building admin templates with Tailwind

Definitely. With both sides agreements (taylor-adam) they both are in win-win

Babur001 2020-09-09 15:34:59
GistOf 2020-09-09 15:33:04
It will take time till we can go online and download or buy a nice Tailwind pased HTML template that doesn’t look too generic. Till then, most admin panels are going to look the same

How about creating our own ui components.

GistOf 2020-09-09 15:35:34
Babur001 2020-09-09 15:31:26
The jetstream is actually based on a Tall and Lit stack

That doesn’t mean they couldn’t have used Boodstrap is they wanted. Livewire and Inertia don’t care about your CSS framework

GistOf 2020-09-09 15:36:26
Babur001 2020-09-09 15:34:59
How about creating our own ui components.

Obviously, that’s what we’re gonna have to do. That means more design work. Don’t you get that point?

Babur001 2020-09-09 15:36:54
I see your point.
GistOf 2020-09-09 15:38:37
I’m a programmer. I buy templates from Themeforest and build things without too much design work. Now that option is going to be difficult to use
GistOf 2020-09-09 15:40:15
Tailor needs to start acting like Matt Mullenweg, Linus Torvalds, etc
Not like Steve Jobs
Babur001 2020-09-09 15:40:17
Till then we have to wait for someone smart enough to be able to add bootstrap to that
Babur001 2020-09-09 15:41:28
GistOf 2020-09-09 15:40:15
Tailor needs to start acting like Matt Mullenweg, Linus Torvalds, etc
Not like Steve Jobs

He should also make for a living too though

GistOf 2020-09-09 15:41:38
Babur001 2020-09-09 15:40:17
Till then we have to wait for someone smart enough to be able to add bootstrap to that

That’s something I’m thinking of. Like add a flag —bootstrap together with —jet

GistOf 2020-09-09 15:44:03
Babur001 2020-09-09 15:41:28
He should also make for a living too though

This has nothing to do with earning money. Taylor is making a lot of money from Spark and other Laravel related products. Matt and Linus make money from the open source projects they pioneered, but they realise that the projects are much bigger than them now

Babur001 2020-09-09 15:46:06
GistOf 2020-09-09 15:44:03
This has nothing to do with earning money. Taylor is making a lot of money from Spark and other Laravel related products. Matt and Linus make money from the open source projects they pioneered, but they realise that the projects are much bigger than them now

Hey calm down. Just wait for the next realease

Babur001 2020-09-09 15:46:51
Maybe they are planning to add on the new version
GistOf 2020-09-09 15:47:11
True
2020-09-09 15:50:49
public function destroy($id)
{
$category = Category::find($id);
$category->delete();

return redirect(‘/categories’)->with(‘a’, “Категория номер $id удалёна”);
}

Route::get(“/categories/category/destroy/{category}”, “AdminCategoriesController@destroy”);

<a href=”/categories/category/delete/{{$category->id}}” class=”card-link”>удалить</a>

2020-09-09 15:51:20
Deleting categories writes 404
Babur001 2020-09-09 15:55:40
2020-09-09 15:50:49
public function destroy($id)
{
$category = Category::find($id);
$category->delete();

return redirect(‘/categories’)->with(‘a’, “Категория номер $id удалёна”);
}

Route::get(“/categories/category/destroy/{category}”, “AdminCategoriesController@destroy”);

<a href=”/categories/category/delete/{{$category->id}}” class=”card-link”>удалить</a>

Instead of putting link directly in anchor tag wrap it with url()

Babur001 2020-09-09 15:56:53
2020-09-09 15:50:49
public function destroy($id)
{
$category = Category::find($id);
$category->delete();

return redirect(‘/categories’)->with(‘a’, “Категория номер $id удалёна”);
}

Route::get(“/categories/category/destroy/{category}”, “AdminCategoriesController@destroy”);

<a href=”/categories/category/delete/{{$category->id}}” class=”card-link”>удалить</a>

{{
url(“/categories/category/delete/$category->id”)
}}

Babur001 2020-09-09 15:57:16
Or if you have your route named you can do smth like this
Babur001 2020-09-09 16:01:37
route(‘routeName’, [‘id’ => 1]);
Babur001 2020-09-09 16:02:41
route(‘routeName’, [‘id’ => $category->id])
GistOf 2020-09-09 16:08:44
2020-09-09 15:50:49
public function destroy($id)
{
$category = Category::find($id);
$category->delete();

return redirect(‘/categories’)->with(‘a’, “Категория номер $id удалёна”);
}

Route::get(“/categories/category/destroy/{category}”, “AdminCategoriesController@destroy”);

<a href=”/categories/category/delete/{{$category->id}}” class=”card-link”>удалить</a>

Delete should be sent as a POST request with a field called method. That’s laravel’s way of sending a DELETE request

|