I just spent several hours trying to find out why my virtual domains were redirecting to https on XAMPP when just last week everything was fine. I had experimented with doing a security certificate for my local development sites, so I thought maybe that had something to do with it. However, I backed out all my changes last week and so there shouldn’t have been any issues. I was searching everywhere with XAMPP thinking I had broken something.
I’m currently working on redesigning a website for a hair salon in Atlanta Georgia by using WordPress, Bootstrap, SASS, jQuery, etc. The site currently is not responsive and it is looking very dated and I am working to bring it into the 21st century.
One of the things that too many web developers forget about while developing is usability and UI/UX TESTING. Oh – they make sure their code works, but often times forget about whether it provides a good user experience. I on the other hand, am CONSTANTLY TESTING the UI/UX design. As I make changes I test it on various browsers and ON ACTUAL PHONES. One thing I have seen developers ignore is the testing on the actual phones.Continue reading
I have been experimenting with Bootstrap 4.0 Beta 2 and there seems to have been a lot of questions on how to extend this new version. While this may not be final or the only way to do it – this is what I have come up with so far. Here we will set up _custom_variables.scss and _custom_mixns.scss files that modify or extend the default Bootstrap and then use these variables and functionality within our own styles.scss file. I will show you how to modify default Bootstrap variables such as $blue, and add a new custom color which will not only be reflected in our custom Bootstrap, but then can also be accessed from our own styles.scss file. In addition we will create a mixin to create a gradient for the background. Finally we will add a new size variable that we will then be able to access in our styles.scss file. What we will ultimately end up with is something that looks like the graphic above.Continue reading
I’m currently working to get up to speed on the latest version of Bootstrap which is currently Bootstrap 4.0.0 Beta-2 and I don’t want to use their predefined colors – such as “blue” for primary, “gray” for secondary, etc. I wanted to be able to customize the color scheme. Finding out how to exactly do this wasn’t the easiest thing. It seems there are a lot of pieces out there, but nothing that defines exactly how to do it. What also made it difficult was the fact that this is just Beta and so there have been changes. The way to customize the theme in Bootstrap 4.0 Alpha is completely different in Beta. After trial and error it seems I got it to work properly.Continue reading
So I encountered this problem when I tried to install the SCSS package into my Sublime 3 text editor. For some reason when I went into the Package Control – which I have had set up for years – it wasn’t installing the package. Continue reading
I have had to move two WordPress sites from HTTP to HTTPS (https://www.rrosetta.com and https://magazine.AboutNewJersey.com) and both times I ran into the same problem – the site going into an infinite redirect. There was a key piece that was missed and not well documented so I figured I would put those steps down here and hopefully not only help myself in the future, but others as well.Continue reading
It is actually very easy to create a virtual domain. It only requires two files to be modified and you don’t even have to store your site’s files within the XAMPP directory structure.
UPDATE: do NOT use .dev as the virtual domain. Read this for more information – Chrome AND Firefox Now Redirect .dev Domains to HTTPS.
Well for years I’ve used Dreamweaver, not only to design sites, but also to write PHP code. Well with doing Zend Framework and OOP and getting serious with PHP, Dreamweaver just doesn’t cut it as a code editor anymore. Dreamweaver is great at doing webdesign, which is what it’s primary function is and I will continue to use it for that, but for PHP coding, I will now be using Eclipse with the Aptana Plugin.
One thing I was very impressed with was Eclipse’s complete melding with the PHP language, and the code I am developing. It is a great way to learn about various PHP functions and interestingly enough – the Zend Framework since I am now working with that.Continue reading
This may sound counter productive, but encountering errors when learning a language is a good thing. It helps you to understand how the language works and how to debug the code. All code has errors, whether it is syntax or logical. Logical errors are usually the hardest to find because the program is still working, it’s just not doing what it should be doing. It could be as simple as something like setting a database column to Tiny Int, but then trying to store a Integer size value in there. It will store the value, it just won’t be the value you started out with. You may not even know something is wrong until you go to view the value and you notice that it is obviously incorrect.
Syntax errors however are generally mistypes. An upper case letter in a class name, versus a lower case letter, missing semi-colon, undeclared class, etc. All of a sudden the system is complaining that it can’t find a class and you have to figure out why. Even though in general syntax errors should be easier to find, especially if you develop in a module format, constantly testing the modules as you go along, it can be very difficult when just learning.Continue reading