Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

JamesW

Privileged
  • Joined

  • Last visited

Reputation Activity

  1. Like
    JamesW reacted to Rob G in Help needed with XML (PHP)   
    The first SimpleXMLElement object created by the function is the root element of the XML document (in this case BrowseNodeLookupResponse) so you don't need to try to go into it.

    foreach ($pxml->BrowseNodes->BrowseNode->TopItemSet->TopItem as $item) { is all you need!
    The clue is in the errors. There are 4 of the "property from non-object" errors on that line, so count back from the last one you try to get to find the original broken bit!
  2. Like
    JamesW reacted to BlueDreamer in The realities of working in web design...   
    It sounds like you have got a clear plan.
     
    The only thing I'd add is to avoid learning proprietry software, rather learn techniques instead. For instance, learn to code HTML and CSS rather than "learn Dreamweaver", or learn image creation and manipulation techniques rather than learn "Photoshop".
     
    It's a subtle difference but can be important in the long run! The tools don't matter, it's what you do with them that counts
  3. Like
    That's good. I do use Dreamweaver now and then as it's got a convenient FTP installed and CS4 has live view, which is a neat little addition. But i would never use it as a WYSIWYG!
     
    But if you learn CSS shorthand.....DW can seem a long way around things and still adds empty properties that you wouldn't add when hand coded. Like padding: 0 0 0 0; and margin: 0 0 0 0; If you used a reset, you wouldn't necessary need those and it all adds to the file size(even if it's a small amount) if you have a long style sheet
  4. Like
    JamesW reacted to sunwukung in What are PHP Frameworks?   
    Frameworks are, in general, a collection of classes that take care of the common tasks encountered while building a site. For example, the Zend framework has classes to authenticate/authorize users, validate form input or access a database. Each framework has it's strengths and weaknesses - although without significant experience in the given framework it might take time to understand what those are. Most frameworks also tend to implement what is called the Model View Controller design pattern - a way of structuring code to separate business and presentation logic - which they achieve with varying degrees of success.
     
    Many (if not most) frameworks have a process whereby they assemble the core components and folder structure of a project for you automatically on initial installation/setup. This can be quite confusing at first, and each framework does it slightly differently. In some cases it also indicates the framework's intended purpose. A lot of frameworks start you off with a simple blogging application...(but can leave you out in the cold once you get past that initial fun part). All the frameworks make extensive use of OOP architecture - and incur certain performance overheads as a result.
     
    Codeigniter is renowned for it's ease of use, excellent documentation, but also for being potentially limiting and tied to PHP4. It's also made by Ellislabs, the people behind Expression Engine. Symfony is a heavy lifting framework, but quite slow. Zend is popular because it's made by the people behind PHP, and you are not committed to a pre-determined project structure (although it is quite hard to set up). You can also use the ZF classes individually - and to make your own frameworks (IF you can get your head round them). Cake is known for it's emulation of Ruby on Rails "code to a convention" methodology, DooPHP is a new one that is apparently very fast. Kohana PHP is a community driven branch of Codeigniter with a great reputation. Agavi, Seagull and Solaris also deserve a mention.
     
    There are literally hundreds to choose from, arguably too many. Personally, I think you need to know your stuff re:OOP to be able to use any of these proficiently, or to extend them beyond their initial purpose. Personally, I've done a lot of research on these frameworks, but have yet to use any. I've rolled my own in order to understand the concepts and earn my OOP stripes, and now I'm thinking either Zend or Kohana.
     
    Here's a great tutorial to explain Zend Framework, and also some of the key concepts behind MVC...
    http://survivethedeepend.com/
     
    Hope that helps.
  5. Like
    JamesW reacted to empek in How to echo out 3 column table   
    Here's a link to a tutorial I wrote for you.
  6. Like
    JamesW reacted to MyshMash in Dissertation Title Suggestions   
    I read something in this book that I really like the idea of:
     
    Web design using standards can not only save companies money but is also better for the environment.
    Web standards = less code = less bandwidth/less server space = less servers needed = less energy needed/lower energy bills = money and energy saved. (A lot better explained in the book )
     
    Edit:
    I found the chapter here.
     
    Although I don't think he means it seriously, it could be worth looking into.
  7. Like
    JamesW reacted to andy9l in MAC or PC   
    You should try using 'IETester'. It runs the render engine for IE 5.5 -> 8 in the tabs you select.
    ( http://www.my-debugbar.com/wiki/IETester/HomePage )
     
     
    If your only experience of a Mac is of one which used a single mouse button, perhaps you're the best person to be posting such judgemental lists of pros and cons. Though I agree with a lot of it
    Macs have been using two mouse buttons for nearly 10 years now. (Source: http://www.wired.com/science/discoveries/news/2000/10/39773 )
  8. Like
    JamesW reacted to wizely in Friendly banter   
    Ah... the banter! We used to have that by the bucket load (still do behind the scenes - it'd make your eyes water) - but these days folks are so quick to offend it's easy for a poop squall to blow-up. Having said that it doesn't stop me poking fun at the pixel jockeys, mercilessly slaying the spammers and treating SEOers to some good old-fashioned sarcasm.
     
    PS. You know that Internet Explorer 6? That's your Mum that is!
  9. Like
    JamesW reacted to ElanMan in MAC or PC   
    In any debate like this there is always some prat who butts in with a mention of Linux...
     
    This time it's me!
     
    LINUX FTW!!!!
  10. Like
    JamesW reacted to bocaj in 2010 Re-design   
    That seems a bit irrelevant, and wholly stupid as seen as you're site doesn't validate either?
     
    Seriously, don't point score. It's pathetic.
  11. Like
    JamesW reacted to MG1878 in More eyes needed....   
    You've got it in for me havent you pal.
     
    Fair enough I havent hammered the images as I tend to prefer the code part of it all (as you can most likely tell).
     
    Attacking my work isn't really helping anybody, expect yourself maybe if you are having some problems in your life etc.
     
    The Facebook logo doesnt have a white background, I dont know what you are looking at. Are you on the actual facebook website by chance?
     
    For the record, I havent downloaded any templates etc I code it all from scratch using Notepad, maybe my skills arent the best but I am learning, for the record that S&S website was done after 3 months of web design experience.
     
    I am very intrigued to see one of your designs, care to be so kind?
  12. Like
    JamesW got a reaction from Stevo in Google wave   
    Sent, they take a while to come through from Google though
  13. Like
    JamesW reacted to ElanMan in Help with Twitter Search XML   
    If you print_r($entry), you'll see that 'link' is an array.

    SimpleXMLElement Object ( [id] => tag:search.twitter.com,2005:5154244393 [published] => 2009-10-25T19:55:09Z [link] => Array ( [0] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => text/html [href] => http://twitter.com/DoeAveSha/statuses/5154244393 [rel] => alternate ) ) [1] => SimpleXMLElement Object ( [@attributes] => Array ( [type] => image/png [href] => http://a3.twimg.com/profile_images/488234399/shannon6_normal.jpg [rel] => image ) ) ) [title] => @HomeSWEETHome__ ; YOOOO TENISE YHU WANNA GO OFF ON TWITTER HUH [content] => [url="http://twitter.com/HomeSWEETHome__"]@HomeSWEETHome__[/url] ; YOOOO TENISE YHU WANNA GO OFF ON [b]TWITTER[/b] HUH [updated] => 2009-10-25T19:55:09Z [author] => SimpleXMLElement Object ( [name] => DoeAveSha (shannon smith) [uri] => http://twitter.com/DoeAveSha ) )
    You need to access the second item in that array

    $link2 = $entry->link[1]['href'];
  14. Like
    JamesW reacted to Connetu_C in Help with Array inside Loop   
    A quick glance would make me believe you don't want to re-assign the $shuffle array each time inside the loop. This is basically clearing out the array on each iteration before adding that iteration's $v to the (new) array. Hence by the time the loop finishes, only the last $v has been added (to the new and empty array that was created in that iteration). If you see what I mean?!
     
    Anyway, to fix it, delete the line:
     

    $shuffle = array();
    and place it instead before and outside the loop, like this:
     

    $shuffle = array(); while($row = mysql_fetch_array($result))
     
    Does that solve (and importantly explain) it for you?
  15. Like
    JamesW reacted to ElanMan in Help Decoding JSON   
    There are actually 3 nested arrays here, the $decode array(2), the 'results' array(1) and another array(28) that holds the values you want.
    You'll access them like so:

    echo $decode['results'][0]['trackViewUrl'];
     
    You'll find it easier to read the output of var_dump by placing it inside <pre> tags

    echo '<pre>'; var_dump($decode); echo '</pre>';
  16. Like
    JamesW reacted to Mark L Bentley in How much to build this?   
    here is what I have so far. I'm going to try to package it as a plugin.
  17. Like
    JamesW reacted to PowerfulTrueRam in Little firefox experiment.   
    Haha, the first comment made me laugh:
     
    Sometimes I think that YouTube should have a short IQ test as opposed to a captcha on the signup form
  18. Like
    JamesW got a reaction from Acej in Add a CMS to an existing site - Help required?   
    By the looks of that design it shouldn't be too hard to get it into Wordpress, you just need to split it up.
     
    The header and Nav you can put in 'header.php' the main content in 'page.php' etc..
     
    This is a pretty good tutorial Link..
     
    Also to make it simpler for the customer you could remove the blog part of Wordpress using this plug in
     
    Hope this helps
  19. Like
    JamesW reacted to ash182 in Negitive reputation?   
    How come I have negitive reputation? Hope I didn't upset someone...
  20. Like
    JamesW reacted to Thomas Thomassen in help with layout please.   
    Agree. Webdesign is not solely a visual thing. There's much more to web-design than just making it 'look' good on the screen. I've yet to see a WYSIWYG editor that actually is any good at generating good semantic code.
    I wouldn't be surprised is most people did you dreamweaver - but that doesn't mean it's a good thing. People used to think the earth was flat.
    To create a good professional website you will need to get down and dirty with codes to ensure it works as well as it should.
     
    Remember that websites is being presented in a multitude of media - not just various browser versions, but on mobile devices, printed, read out loud by screen readers, accessed by search engines and other computer programs that harvest, collect and connect data. This is some of the few things you have to consider when designing web-sites and to make a good professional product WYSIWYG doesn't cut it.
     
    I also use Notepad++, or PHPEdit. But I have looked at the recent DW and it's code-view mode does look useful. It provides some feedback and tried to catch potential code issues. So I wouldn't dismiss DW, just wouldn't use the WYSIWYG mode.
  21. Like
    JamesW reacted to terydinho in Need some help on choosing Courses..   
    Well the final choice is up to you mate - but as a fellow essex lad; going to southampton was the best thing I ever did. Only a couple of hours away from essex on the train so you can head home once a month; but you wont want too!! Just my 2p worth, but go away from home; the further from your comfort zone you, the more you will be ready for real life when it hits you
     
    If you do look into that course, I am sure the lecturer's name is Paul Ansell, he is a top, top bloke and he knows his stuff too.
     
    And do you play footie (just guessing from your forum avatar)? If so, then join the uni football team and that will really get your social life going hehe
  22. Like
    JamesW reacted to chriswhite05 in Need some help on choosing Courses..   
    I'm one of those guys at bournemouth uni, Rob also goes that I know..
     
    As said above a move away from home is soo much better then somewhere near. Going to Bournemouth was the best decision I have ever made. Learnt to live on my own, met some awesome people and learnt lots about what I want to do. I have only spent one year away so far, but I cannot wait to go back, it is soo different from school as well a lot of freedom! In fact even being back home for summer is getting too much, and thats only 3 months or so off.
     
    Me and Rob both study Interactive Media Production. And I can honestly say its pretty amazing! Not only are you in beautiful bournemouth, with the beach and a pretty damn good nightlife. But the media facilities are top notch.
    In fact, the media school(uni is split up into diff schools, which basically is just different buildings on the same campus) at Bournemouth is the only centre of excellence in media! Which just goes to proove how good it is! Just for this one course we have 3 labs with about 15-20 imacs in, all with decent software. The lecturers and tech-support guys (who come in very useful) really know what they are on about.
     
    As far as content goes, its a course were people can start with no knowledge and can progress but where also people with knowledge can still learn some things.
     
    For example, I didn't really know much about web-coding before such as xhtml, css, php but soon learnt this all and have got quite far with learning.
    Good thing bout this course is there are no exams, which I think is great, but also right for a production course.
    It's split up into 4 projects; Images, Narratives, Audiences and Summer Project
     
    Images starts the course off with teaching photoshop stuff, creating photomanipulation etc. But you also need to construct a portfolio styled website to display these images on. So they also teach you xhtml and css.
     
    Narratives uses video but also teaches php as well as improving on the knowledge learnt in the images section.
    You have to create an interactive narrative, so most went on the idea of having video-sequences which at the end you could decide on a route to take the user through their story.
     
    Audiences was mainly flash based, where you had to create an animation using flash. Learnt a lot of as3 through this. Again this had to displayed in web-format.
     
    Then finally the summer project. This was a collobrative group project with 2 other courses (tv production and scriptwriting). This was a great project where I personally learnt a lot of php by doing. We had to create a website and some mobile content for a campaign that we wanted to raise awareness of, or that were intrested this was run by channel4's battlefront and we had a presentation day with people from channel4 coming to watch, give advice and ultimately praise us .
     
    It's a farly well rounded course, teaching photoshop, xhtml, css, php, as3 etc. But it also allows you to go beyond that.. Outside of the uni I have learnt, jquery, wordpress how to use mysql etc. and the tech guys can help with mysql, jQuery etc..
     
    As well as the production stuff, we learn theory such as typography, history of design, semiotics etc.. but it is mainly a production course.
     
    Anyway thats my review on the first year.. and personally I cannot wait for the second year. From current second years we have found out that we get to make our own social-networking website, create games and stuff and it sounds fun
     
    So far its been the time of my life
     
    Long post... so in summary.. come to bournemouth tis amaaaaaaaaaaaaaazing!
     
    Hope that helps, and no I don't work for Bournemouth or anything
    If you have any questions regarding the course or uni feel fre to PM me
  23. Like
    JamesW reacted to Eskymo in Portfolio Advice   
    The 'Hi I'm Baz Hodson' text gets a bit annoying after a while - I would change this from page to page. Also you state in several places that you code using valid XHTML, but neither your portflio or contact pages validate.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.