Over the bank holiday weekend I wanted to take some time for learning about something away from the PHP language, I decided tolook more into maps.
I’m looking at maps as I have a thing for maps and I want to be able to achieve things like this which i have absolutly no idea how to do.
Dave and I booked to stay at this resort earlier today, just thought I would drop that in there.
My Day 3 task is all about working with files in PHP.
I’m going to have to find at least 2 methods of reading, writting to and creating files in PHP and describe the proccess of this.
David couldn’t help his helpful self and hinted that tizag would be a good place to start my research.
Todays task set by David Carr has been to look at the Super Global Server function, I am to learn more about this function and experiment with what can be done using this function.
I will put it into practice with my own thing.
It’s so awesome having a mentor like David Carr.
Today I’m looking at Preg_replace_callback and what I can do with this function. Firstly I will explain what it is and then I will demonstrate how it can be used.
I will then try to make use of this function in SMVCF V 2.1 or use with run PHP
Continuing with learning GIT, already seeing real potentional in this tool
Upgraded my GIT Hub account to organisation, with private repositories (well I convinced David too and add me as a member) as I can see how useful this is going to be when it comes to keeping up to date with inhouse CRM CMS.
I’m continuing to to learn how to use GIT a bit by bit
I’ll be discussing the flow of what happpens when I use GIT in a project and not wizzing throught the guide I’m following as I want to understand the tasks and that’s why I’m writing about what I’m learning.
As ever this is my proggress and not indented to be used as a guide, if you want to learn more follow the Code School guide.
It’s been an interesting morning, in preperation to becoming a proud order of a Mac Book Pro I’ve been learning some of the thngs I’ve always put off and one of those things is GIT.
Now I know that using GIT is not dependent on working on a Mac but with so many turorials and course seeming to be focused around the OS it seems that that it’s one more barrier to getting started.
When finding and replacing multiple instances of text in a website use this:
update [table_name] set [field_name] = replace([field_name],'[string_to_find]','[string_to_replace]');
would look something like this in practice
update sm_usefulSites set webAddress = replace(field_name,'[kerryowston.co.uk]','[daveismyname.com]');
it updates the selected colum( field_name) in the selected table (table name) and tells it to replace whatever is specified in string_to_find with whatever is spedified in string_to_replace
SYSTEM Framework V2.1
I purchased a theme from theme forest called pallet and using this theme for this guide
Thanks to another insightful training session by David Carr I have begun to look at how existing templates can be applied to the framework. Here I look at the setup, and adapting a template to the framework header & footer.