danielesposito

J. Web Developer at Gia Consulting

Experience

13,910

0 Best Reply Awards

  • Member Since 7 Months Ago
  • 135 Lessons Completed
  • 2 Favorites

22nd November, 2017

danielesposito started a new conversation Best Practices, Search With Laravel And Vue • 3 days ago

Hello to everyone and hello @JeffreyWay

I have got a doubt and I believe some of you may help me. I'm on a project and I need to build a search component. This search will have some filter on the resources that users are searching on and one of this will be a select list of categories.

How should I expose this list to Vue? Which are the best practices? I have to create a dedicated controller where I fetch the data needed and call it with Ajax? Better to create an API Resource and call it from a route? Should I use the API routes?

As most of you, I'm using laravel as backend and Vue for the front-end. I hope some of you can help me out to better understand this concept.

I will appreciate.

Thanks

D

13th October, 2017

danielesposito left a reply on View Not Found • 1 month ago

@36864

The other routes I have created are protected by the make: auth command. What I have done is that I created a new route and a new view called home and still not working. I did a fresh installation of laravel and everything worked even from outside. I tried to change the port of my server to:82 and still not working. But now like a magic when I came back to the initial setting, everything working fine, but I can't you guys explain how. How can I activate debugbar? maybe can be helpful next time.

Really thanks for the help!

danielesposito left a reply on View Not Found • 1 month ago

@36864 Hello there,

Yes, I'm sure that my server is running and it's well configured as I got another project there with vue and is everything fine.

I just wrote all the command you suggesting but still get not working.

I removed the root route from web.php and when I tried to access it by typing from the other pc ( no from the VM ) I got the same issue, "sorry, page not found", then added again and getting back just the route.

This is struggling me because I can't really understand why if I try from local is working.

Thanks anyway

D

danielesposito left a reply on View Not Found • 1 month ago

@ChristophHarms,

I have tried what you said, with no success. I changed the "APP_URL" under .env file but still not working. You how can I check the generated URL of the app?

Those are the step I did:

  1. composer install
  2. php artisan migrate
  3. php artisan cache:clean
  4. npm install

danielesposito left a reply on View Not Found • 1 month ago

@ChristophHarms

And after that I should run php artisan clean:cache and other command ?? I will try and I will let you know.

Thanks

danielesposito left a reply on View Not Found • 1 month ago

@Snapey hello,

Yes I did it all! But still not working.

danielesposito left a reply on View Not Found • 1 month ago

@ChristophHarms Hello,

As you said in the post I cannot access to the VM from the outside world, but as I said in the post I can access to the welcome view. So if it is like you mentioned I couldn't access even to the welcome view isn't it ? Anyway I will check it out ! Thanks for reply.

D

danielesposito started a new conversation View Not Found • 1 month ago

Hello to everyone, I really need help.

I have a laravel project and I moved the whole project from my local machine to a virtual machine and now I'm struggling with several problems. If I log into my virtual machine and try to access via browser with localhost my site runs ok. But if a try on a different computer on the same LAN to access the site I can see only the welcome page, the other one doesn't work, it shows me, sorry, page not found. I even tried to create other views from scratch on VM and getting the same error.

I will really appreciate any suggestions from you guys. I really need to resolve!

Thanks to you all.

18th September, 2017

danielesposito left a reply on Vue And Google Maps • 2 months ago

Hi @topvillas,

Thanks for your reply. I have already seen that on githubs, but I think it is too much for my need. All I have to do is to handle one or two events from the maps. My big problem is to share data and events between them and keep updating them sync.

danielesposito started a new conversation Vue And Google Maps • 2 months ago

Hello to everyone, I'm pretty new to vue js and I will appreciate all kind of suggestions. I'm taking part of a new project and we are planning to use vue js as a front end. I need to integrate google maps with vue and I don't know where to start. I need to build a dashboard with google maps and I have to handle a few events from there, like right click on the maps, add markers and so on. Let's take an example: on the right, I will have a few tables that show up some data, like persons, vehicle. Then on the left, I will have the maps and I need to show all data took from the tables as markers. In other words, I will have to share the data with maps. Then I need to handle events, for example: when I right click on the maps I need to launch a modal that shows a form, with that form I can add persons or vehicle on the maps and in the same time I need to update the tables on the right. Now, my questions are: how can I share the data between the maps and the tables? How can I handle the events from the map, add markers and update the tables as well? Which is the best way to create a component for the map?

Thanks to everyone the will help me to rich my objective.

D.

4th September, 2017

15th April, 2017

danielesposito left a reply on I Would Like To Know Your Opinion • 7 months ago

Hey @FourStacks

Thank you for your time!! I really appreciate that, as you were on the some position I'm now, you can understand how is important to have someone who can help you with it and this discussion is helpful for me!! I got a really project on my mind and I will do it!! I'm stick on laracasts right now getting better on php, restful ecc. My only problem is that I'm not just a freelance and got less time to learn and tuned all the time! But I won't give on this and ready to work hard !! Anyway your advice makes lot of sense to me thanks !

13th April, 2017

danielesposito left a reply on I Would Like To Know Your Opinion • 7 months ago

@endian I think I do start with lumen as you say it more flexible to move the project into Laravel. Obv before I need to better understand OOP and follow some others series of Jeffry.

Thanks. D.

danielesposito left a reply on I Would Like To Know Your Opinion • 7 months ago

@endian

Thank you man, your answers were helpful !! I appreciate that !! You right should know what you need to build your app, and then choose a framework that can help you with it. Using a framework like Laravel yielding just the 5% of the power it has, it could be unnecessary. So, I wanna start to build a website with a few pages and some call to the database as a start point, what you suggest? Lumen or Slim?

danielesposito left a reply on I Would Like To Know Your Opinion • 7 months ago

Hello @endian, what is that about? what do you mean for micro-framework? It allows you to build up a site? Do you suggest me that because is more flexible to understand? Anyway thanks, i gonna take a look to it.

D

12th April, 2017

danielesposito left a reply on I Would Like To Know Your Opinion • 7 months ago

@gustav1105 thanks a lot for your clear answers. As a self-taught developer like you, sometimes I get confused on which is the best way to follow. I will keep the official documentation close to me and will never let it go.

danielesposito left a reply on I Would Like To Know Your Opinion • 7 months ago

Hello @endian, Yeah that's what I would do. I got a project in my mind I believe it's hard to achieve, that's why I started watching the series. I think before to start I need to know at least the basics, then I will move to the project, and it would be great to get support from you'll.

Thanks anyway.

danielesposito left a reply on I Would Like To Know Your Opinion • 7 months ago

Hello @bastman69,

Thanks, I will advantage from your suggestion.

danielesposito left a reply on I Would Like To Know Your Opinion • 7 months ago

Hi, @gustav1105 thanks for your reply. Yes, I'm using mac environment and I really love it. Once I finish the course that I'm following, I will provide to install homestead on my mac as you suggested above.

What about the Laravel course? Do You think I can start from the series Laravel 5.4 from scratch or I have to watch the previous series?

Thanks by the way. D.

danielesposito started a new conversation I Would Like To Know Your Opinion • 7 months ago

Hello to everyone, First of all, my name is Daniele and I'm a junior web developer of PHP. I have good knowledge of procedural code, but I wanna go on. I know a bit of OOP, this means I know what a class is, how to extends it and how to manage methods. I love the idea to learn Laravel, composer and so start to follow all PSR standards, Git and Github, Server management with forge, I wanna even start to use PHPUnit to test out my code and all the stuff the comes after that to get a good level as a web developer. Now, my question is: where should I start? I have started a few days ago, The PHP Practitioner series. What should be my next step? What should be my plan to learn all about it? I will appreciate all kinds of advice from your experience. Many Thanks to y'all. D.

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.