Thats just it. There is really nothing here to go on. If you really want to start talking about the right way to be doing things we would need to start talking about MVC, routing patterns, separations of concerns, composition (dependency injection container), etc. All of which are things that are built into most well known modern php frameworks and otherwise are very advanced topics to break down and explain to someone who barely knows php.
Off-topic: I see. No, I haven’t actually given up. I un-installed it because I don’t know if it was suppose to be a full-fledged package or just a few files. That was my fault. When I installed WAMP myself, I install Apache first, then PHP, then the MySQL server, then download the PHPMyAdmin package. However, I don’t know if that’s how vagrant is too. That was my only concern because I only literally saw a folder and a few files. Then I go back and look at my WAMP environment, I see a whole bunch of files.
Well why are you still posting .? Don’t see a point.
I have only once created a vagrant config from scratch. For last few years I have been using https://puphpet.com/ which will generate a vagrant config for you via GUI. It includes many of common technologies one would need – from php to node to search providers. I recommend taking a look into that rather than trying to build your own vagrant config.
Here is a sitepoint article on using puphpet. It is outdated considering the GUI has changed since than but maybe you can make use of it.
He wasn’t talking to you. He was talking to the “Guru” over there.
>: D I like. -Gives an evil smiling look-. Now we’re talking. I am using the MVC pattern myself. However I’ve notice how you and Scott talk about the MVC web pattern and it intrigues me. I want to learn your ways.
I would highly recommend virtualbox and vagrant. Most development shops will use something like vagrant or docker for creating local development environments because it’s the best way to ensure everyone is working in the same environment. Plus if you screw something up, you can trash the VM and start over (along with the ability to take snap shots as you go). If you screw something up with WAMP or anything you install directly into your host OS, you run the risk of screwing up your host OS too.
Not mention installing Apache, MySQL, and PHP from source on windows is hell on Earth.
We are going totally off-topic here. I am going to stop talking now. If you guys want to continue talking about environments. Please create a new topic and invite me in it. I want to learn more, but I don’t want to distract other users from the main point of this topic.
The difference between you and the “Guru” over here is you’re in college learning programming. The Guru has been programming since you were potty training and in many languages including COBOL, Java, PHP, Javascript, Visual Basic, C#.Net, MySQL, DB2, SQLServer, and Ruby on Rails. I’ve worked on production systems with over 10 million lines of code. I managed a large PHP application running on an in-house high-availability server cluster with multiple nodes and real-time MySQL database replication across two individual servers. I have many applications I’ve written being used in production every day.
If your goal is to get a PHP programming job when you graduate college, you better start learning a framework. You won’t find a job description that doesn’t require knowing at least one.
You better learn Linux too because DevOps will be expected of you.
You’ll probably be asked to write code on a whiteboard in an interview at some point too. It’s not as easy as you might think.
Most of all, you should learn humility. Especially as a junior developer, which you would start out as right out of college, just about everything you do will go through code reviews before it’s put into production and will get ripped apart. Getting defensive when someone questions your code or tries to give you advice will not lead you down a path to success.
I’ve been in your shoes. Enjoy college. It will be the best four years of your life. Trust me, it does not get any easier than this.
Remember, you’re still learning and there’s nothing wrong with that. We’ve all been there. As a programmer you will never stop learning. Technology changes so quickly it can be tough to keep up sometimes. But keep the fact that you are still learning in mind when you post advice on forums.
Good luck with your studies. I wish you the best of luck and I hope you will take my advice to heart and use it to your advantage.
I wouldn’t get too concerned about this going totally off-topic. The OP’s project is a crap of code and they are clearly just trying to get people to write a CMS for them. No experienced programmer would take that approach today.
Man you spammed my whole topic childish , I’m a javascript Dev. PHP is pretty new to me and like all things there is time when things are getting shape in your brain . Dont be so harsh on the code you know better the difference .
Btw thanks for the advices that your giving me above .
NOTE: ‘Im trying to get people write my project’ . What a paranoid guy . Go outside and get some fresh air and talk to a human.
Okay, I see things have heated briefly, cooled down, then are heating back up. I’d like to take a moment for everyone to take a calm collective breath and to keep things civil. Your personal feelings, are not necessary here, and more often than not derive from assumptions we make as we read another person’s response. We interpret tone based on how we feel that person views us, it is an assumption.
Let’s remember that the goal here is to seek advice, start interesting discussions, and to share knowledge. I feel like that is still be accomplished here, but we all know we can do it without heating things up, so please attempt to do that better.
Thanks!
I seeked for advice and you can see what this topic came up with .
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.