by Kev on 2 December, 2009
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
I’m just starting to experiment with Expression Web 3 as a site editor (specifically for editing PHP, CSS and Javascript files) and the first stumbling block was how to set it up so that I can edit my remote files directly without having to create a local version. This is necessary because I don’t have PHP/MySQL and Apache installed on my Windows machine.
Despite the fact that this doesn’t appear to be mentioned in the application help, it’s actually very simple. Just go to File, Open and, in the address bar, type your FTP address. You’ll then be prompted to type in your login details and, assuming this has worked successfully, you’ll then be presented with an Explorer view of your site from which you can pick your file. Simple.
Use Facebook to Comment on this Post
by Kev on 27 October, 2009
PHP gets a bad press from time to time, largely because its very flexibility is seen as laxness by the tight sphincter brigade. However, just because PHP doesn’t force “best practice” on programmers doesn’t mean you can’t adopt said best practice.
Object oriented programming is much talked about and has many advantages over the old-school line-based procedural code. You’re probably familiar with functions (blocks of code called independently: they used to be called subroutines in the old days). Objects are groups of function which are, to some degree, “self aware”. By this I mean that values can be passed within the objects to allow the object to take the appopriate actions.
Enough of theory, I want to give a concrete example of how using objects can be, in a very practical, sense a timesaver. I’m going to show you how to create a very useful database object which can be used to make connecting to the database, retrieving and storing data much simpler. [click to continue…]
Use Facebook to Comment on this Post