![]() Long term - all the above should resolve, the only remaining question is if you need the ability to run Windows for testing. They'll do the job - but I'd like to see what the more powerful "pro" machines (coming Real Soon Now) offer first. if you're using VMs) and only 1 external display (or 2 screens total on the Mini). These are extraordinarily powerful for their size/price and, in terms of raw grunt, more than adequate for web dev, but you may want to look at their other limitations - max 16GB RAM (OK, but I'd want at least the potential of adding more for a dev machine, esp. The only M1 Macs available so far are entry-level (by Apple standard) ultraportable laptops and an interesting, but slightly odd Mac Mini. I think VS Code only went native very recently.ģ. They probably are, but you need to check individually. You'll need to double check that all the software tools you use are (a) M1 compatible and, preferably, M1 native. Now, this could resolve itself in a few months, if not weeks, but that's the state of play today.Ģ. It's 2021, and doing any sort of development without VMs is like washing your feet with socks on. When it does arrive, it will be ARM Linux only, but that shouldn't be a problem for PHP/MySQL/etc which is all 99.9% processor independent. and had Linux running in DIY front-ends but - last time I looked - nothing was shrink wrapped or in-the-shops. are in the pipeline, there are technical previews out, people have patched QEMU etc. The hypervisor backend is there, part of the OS, Parallels etc. Give it another 6-12 months and I don't think there will be an issue but, at the moment:ġ. However, in the short term, the M1 is a slight complication. Normally, I'd still say that the Mac was a fine choice for web development. In that case, whether you use Mac, Windows or Linux as your host is just a matter of personal preference (have to point out that Windows Pro comes with a complete hypervisor, plus the WSL stuff). (Something like Docker is another possibility). it gets useful to have each project sandboxed in it's own little VM with its own IP address and tailored to be as close as possible to the target environment. For simple web apps of the just-upload-to-a-directory-on-the-server variety it may be overkill, but as soon as things get a bit complex and you start having to worry about databases, writable directories, file permissions, rewrite/aliases, SSL certs etc. You can still use the "host" OS to run your IDE/Editor and other tools - either by setting up a shared directory or the new-is "remote development" features in something like VS Code. However, what I'm increasingly finding is that it can be even better to run your development server as a VM running a minimal Linux installation - which you can choose to be as close as possible to the precise distro and version that your target server uses. otherwise, a PC running Linux would be even better than a Mac for the "raw" web development. which are often essential for dealing with your source materials/assets and (more debatably) other apps which you may prefer to gimp, Inkscape etc. are well supported on Mac (not that you can't run those perfectly well on Windows, but they sometimes have minor but annoying quirks with pathnames, file permissions etc.)ī. All the "usual suspects" - Apache, Ngenix, PHP, Perl, Python, Node.js, MySQL, PostgreSQL, MongoDB. You've got all the familiar Unix shells and command-line tools although - be warned - it's based on BSD rather than SysV/GNU so there are a number of annoying differences to GNU Linux commands. Runs Unix, so it's a much closer match to a target server running Linux than a Windows PC. ![]() I'd say the reasons that the Mac is a good system for web development is a combination of:Ī. Note: PHP and MySQL run on the server (or, during development, the Mac). Can someone point me to a good resource/post for how to set up a development environment on a Mac? (Again, I've done this with XAMPP on a 'Windows PC, so I assume Mac is much easier, but don't know where to start).Do I need to worry about the M1 Chip and therefore purchase one of the models with the Intel chip? I read in this MacWorld article that the new M1 chip may make it harder to develop for non-iOS environments, but I don't know if this applies to my situation, given that I am not developing a client-side application, just a web application that runs through the browser.My machine is 5 years old, so I need a new laptop, and I have always heard that Macs are much easier to develop on. To date I've developed on a Windows machine (most recently a Surface Pro) using XAMPP to create a localhost. I am an entrepreneur and web developer with an existing app in the cloud for 10 years running on a Linux server with PHP and MySQL (I'm self-taught, so have gaps in my knowledge).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |