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.

cliffstah

Members
  • Joined

  • Last visited

  1. For most web designers, AJAX is just a buzz word. It's mostly useful for RIA's (Rich Internet Applications), and not really general websites unless you have some kind of widget that uses it (the live search tool with WordPress is AJAX for example). If you find yourself with a project with a complex data driven user interface - AJAX is probably worth looking into (although I'd use Flash first personally) otherwise, stick to plain hold html
  2. Oops, you're right.. I do know what PSP is (used to use it years ago) - but I misread. But actually most of my points still stand, except for the vector thing.. I have no idea if PSP supports vectors. Fireworks all the way baby.. even I can use it!
  3. I should add.. although it may be obvious, the code to actually subscribe and unsubcribe the user goes in the subscribe() and unsubscribe() functions in index.php.. And also, I missed something out I just noticed.. Sorry, haste is never good for programming. /* Take the appropriate action */ switch ($action) { case "subscribe": if (subscribe($name, $email) == true) { require_once('view_thanks_sub.php'); } break; case "unsubscribe": if (unsubscribe($name, $email) == true) { require_once('view_thanks_unsub.php'); } break; } I forgot to check the return of the subcribe()/unsubscribe() functions. This should read: /* Take the appropriate action */ switch ($action) { case "subscribe": if (subscribe($name, $email) == true) { require_once('view_thanks_sub.php'); } else { $errors['subscribe'] = 'There was an error subscribing. Please try again.'; require_once('view_form.php'); } break; case "unsubscribe": if (unsubscribe($name, $email) == true) { require_once('view_thanks_unsub.php'); } else { $errors['subscribe'] = 'There was an error unsubscribing. Please try again.'; require_once('view_form.php'); } break; } Also, another note. I used an associative array for the errors, so that you can pick out individual fields, and do something like this (in view_form.php): <tr> <?php if (isset($errors['name'])) { ?> <td class="error">Name</td> <?php } else { ?> <td>Name</td> <?php } ?> <td><input type="text" name="name" value="<?php print $name ?>"/></td> </tr> And then hilight fields with errors in CSS. Just a little added extra Ok, had to do it. Updated the zip with the changes, and added the field hilighting. I'll tweak till the day I die.. Anyway I hope that helps. Sorry for the spam. I like writing code, and I like giving it away formsinphp.zip
  4. Sorry, ran out of time for the tutorial - and I actually misread the original spec and overcomplicated it, but that's OK because what I did was quite cool anyway so I'll finish it and post it at another date (using a 'front controller' pattern in PHP). What I did instead, was throw together a real quick basis for what you want to do. It's not pretty, but it works - and hopefully you can extend it if you need to. I've attached a zip with the PHP files in it, and you can see it working here. All you need to do is fill in the blanks, which I can help with.. just need to determine what you are integrating with (mailing list, database, etc) Have fun, I think I'm off to the studio in a few Edit: oops, forgot the link, the form in action: http://cliffrowley.com/apps/formsinphp/ formsinphp.zip
  5. Hang on there, I started writing a post to explain, and ended up writing a tutorial - will post real soon.. give me 20-30 mins or so
  6. Precisely To be honest, RSS is one of those things. If you need it, you'll know. Otherwise it'll just be something someone else uses. I don't use an RSS reader personally, but I do strive to provide RSS feeds on the websites I develop. No wookies
  7. @Oliver RSS is just XML. There are a few pitfalls to watch out for - namely that there are slightly differing standards with RSS and Atom (http://en.wikipedia.org/wiki/Atom_(standard)), but if you stick to using a good RSS reader if you are reading it, or using a good RSS library if you are coding with it then you can't really go wrong. If you want to see what RSS "looks" like, just request a feed directly in your browser (some browsers, namely FireFox will 'pretty it up' a little - but you'll get the jist). Try this one for size: http://cliffrowley.com/feed/ @Eskymo That depends entirely on how you want to use RSS. If you just want to keep a collection of feeds to read, then yes you need to install an RSS reader - or use a web service such as google. As the reader runs, it will periodically update its feed list and present you with any new content. The same applies to a web service such as google's reader, but you'll obviously need to visit the page manually. I hope I understood what you're asking Incidentally, if FireFox (or your chosen inferior browser ) does pretty up the feeds, just view the page source and you'll see the XML.
  8. Why thankyou, it's fun working with you guys =)
  9. Haha.. don't believe what they say - old dogs never stop learning new tricks RSS (or Really Simple Syndication) is a standard mechanism for offering syndicated information from a website. Typically RSS is used by blogging systems to enable readers to keep up to date without having to visit the website or wade through email alerts. For personal use, the general idea is that you get yourself an RSS reader, and subscribe yourself to the feeds you are interested in. RSS readers can (and do) come in any form: Google's web based reader FeedDaemon - a commercial Windows reader SharpReader - a free Windows RSS reader (more listed here) Or websites can use feeds from other websites to share information. For example, I built a simple (and as yet incomplete) RSS reader into a StarFinder application I've been working on which simply aggregates space and astronomy related feeds into a single place. You'll need Flash Player 9 to view, but it's not that important so only bother if you're too curious not too Link is here. More information on RSS from Wikipedia here: http://en.wikipedia.org/wiki/RSS_(file_format) Incidentally, Wikipedia also offers RSS feeds HTH
  10. Hey I would suggest first re-evaulating your current situation before making any architecture changes. First off, I would take a look at the software you are using - forums, wikis, blogs or anything that is drowning your database - and add as much as you can in the way of caching. There's no sense in re-generating content that hasn't changed. Feel free to describe your setup, and what it is that's bogging you down and I'll see if I can help.
  11. Actually yes, there is much better integration between Fireworks and Flash (and pretty much none between PS and Flash). Correct me if I'm wrong, but I believe that the vector support in PS is pretty weak compared to FW, and in order to import vector content (raster content kind of defeats the point of an optimized vector rendering engine) from PS to Flash you will need to export from PS in a Flash-importable format, then import into Flash - adding to your workflow. With FW, you can simply copy and paste into Flash, and Flash will keep your layers and objects intact and convert them to MovieClip instances. Bottom line is if you are using Flash too, I think you are probably better off using Fireworks with it.
  12. Woot, posted ;-)
  13. *stands up* Hello, my name is Cliff and I'm an addict.. I do pretty much anything and everything that takes my fancy (which has taken me everywhere including C/C++, TCL, Perl, Unix, Flash, HTML, PHP, etc etc etc), but mostly I'm into Flash & Flex2. I do a little design, but really not much - I generally suck at it (and don't have the patience). Basically, a jack of all trades, master of none... *sits down* Psst.. very nice forum Ben ;-)

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.