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.

ReformedGeek

Members
  • Joined

  • Last visited

Everything posted by ReformedGeek

  1. Our (TCRM) ecommerce system handles food deliveries. We have one in place in a sandwich shop in Cardiff. Users can also build their own sandwiches. It was hard work to write as it just made me hungry all the time.
  2. I started to read this thread and realised our registration form was still in a table layout (in my defense it was written before I started here). I am now in the process of updating it. I hate tables for layouts as that is not what they are intended for. They are for tables of data, not to control the layout. CSS gives you so much more control of the layout. I've worked with forms where one row is used for the label and the next for the form element itself. Moving the label cell to the side of the form element is such a fiddly process and inserting a new element is a headache as it can affect the layout of the whole table. You end up having to change colspans in 23 places. And you also end up drowning in mark up. Gareth
  3. Hi Rich Our ecommerce system (www.TCRM.co.uk) displays the prices of the products and the resulting shopping cart in the currency of the user's choice (from the ones we've made available). They are then taken to PayPal in that currency. Even though this was the more complex option to implement I believe people are happier if they can clearly see how much things cost right from the start. Exchange rates do not have to be set every minute. Think of a store like Tesco which labels clothes in both sterling and euros. They set it at an acceptable rate then absorb any differences (good and bad). The change isn't vast over the course of a couple of weeks or months. Hope this helps Gareth
  4. Can I ask how complex the user id is going to be? If I'm assigned a number like 113, all I need to do is start entering numbers and start getting at your user information. I realise that this is a straight forward application, but I'm for building a secure system no matter what it is.
  5. Hi 47 This site has great potential, but yes does need a bit of work. The main problem for me is you don't get to see much content without scrolling down. You need to tighten the design up a bit. I would recommend: - Moving the search box to the right hand side of the menu bar - Dropping the full width top advertising banner - Move the menu bar much closer to the top of the box - Putting the login/register text in one tight line between the top edge of the blue box and the menu bar In addition I would make the headline in the news box a little bigger Hope this helps Gareth
  6. Totally agree with you JG in that there is no perfect answer. As I said it's one of those occasions where the relational model falls down a little bit. And my method is especially memory hungry because of the select * and the extra 30 character description. Blofeld, could you post a list of the fields that you would be displaying? I'm more of a fan of letting the database server do the data work as far as possible as that's what it's optimized to do.
  7. In this instance I don't think that two trips to the database and matching the arrays is the way to go. You have two sql queries and result sets to handle and maintain and then you have to step through both sets of results at least twice- once to generate the arrays, then again to output the contents.
  8. I'm with JG on this one. Getting one big record set is better than many little ones. I tend to set a 'last product id' flag and only display a full 'header' record if the current ID is different from the previous ID. This is one of those occasions when the relational database model is not ideal and the object-oriented model is more appropriate.
  9. If you were a web developer then using templates is not so bad because you're aim is to demonstrate how well the site is built and how well it functions. The design is just one part of that (Sorry if I'm stepping on your point a bit there Mike). However, if you are a web designer then it's all about the look you can make a website achieve, that's the role you perform, and using a template to carry out that role is not the way to do it. My advice would be to study many templates, analyse what makes them good in your eyes, and try to make them better. Produce as many mock ups as possible. When we look at designers we don't just look at the websites they've actually created, but the looks they can help us achieve. Mock ups are perfectly acceptable for that.
  10. Yes I still use tables for tabulated data too, but now the table is wrapped in a nice div and not another table!
  11. I cringe when I think of the tables I used for my layouts ten years ago. CSS and div use minimise the HTML needed for layout. This make the result of the more functional part of your code easier to see and debug. You're not swimming in a sea of 'echo "<td>";' and wondering why your layout is going wrong because 50 lines ago you set the colspan to 5 instead of 6. PS I agree with people on the pork chops
  12. This one might be a good one to start with: http://www.phlonx.com/resources/nf3/ it reminds me of the database course I took in uni.
  13. IE always seems to have a problem with header redirects. Header redirect a php page to a pdf you've just created works in browsers which process the header information correctly but not in IE because it thinks it's getting a php file and finds a pdf. IE gets its file type information from the url and (by the looks of it) its protocol information too. That's why the page refresh option works.
  14. Hi Adam The more correct way is to have three tables. A members table, a specialities table, and a linking table members_specialities. They would have the following fields: Members (UserID, First_Name, Last_Name, Email_Address.... etc) Specialities (SpecID, Spec_Name... etc) Member_Specialities (UserID,SpecID) This would have a compound primary key. This structure is closer to third normal form and solves a number of issues: 1. You don't have to change the table structure or code to add a new speciality or remove one 2. Allows you to store multiple specialities in the future 3. Joined queries can be constructed more easily to use the tables for different purposes It's a bit more coding but the code will be easier to understand and adapt in the future. Hope this helps Gareth
  15. Hi Sir Jonny look4design.co.uk has been created using classic asp and interiordesignphotos.co.uk has been written in php. I'd recommend using php if you're writing the site yourself, but writing a site like this does require a high level of knowledge. Or if you'd like us to take a look it for you we'd be happy to help. We created www.weddingbellesofwales.co.uk which is a product catalogue of dress designs if you'd like to take a look. Thanks Gareth
  16. Hi Tim We've just finished putting a site together (currently in beta testing) for IT trainers for administering courses. The difference with this site is that client companies that are registered to use the site can request training sessions from the tutors. They enter the type of course (from a list) then put in the desired dates and who will be attending. The selected tutor is then informed via email and they log on to the site to confirm the request. This then updates their work list on the site. This could easily be adapted for your needs. If you're interested just drop us a line at TCRM in Bridgend. Thanks Gareth
  17. 1024x768 which is floated in the center with a good background image or complimentary colour for those with higher resolutions. w3schools have been recording the resolution of their site visitors: Date Higher 1024x768 800x600 640x480 Other January 2011 85.1% 13.8% 0.6% 0% 0.5%
  18. I'm with webdesigner93 on this one- Checking that the array value is set before trying to process it. I even tend to wrap that up with an if (!isset($_FILES)) { echo "No file information found"; } else { ... } first to ensure the mechanism is working, but that might be a bit of an over kill!
  19. I've worked with classic ASP, ASP.NET and php (amongst others) and I think a big criteria for the language you choose is the kind of customer/employer you want to cater to. If you want to go down the corporate root then ASP.NET perhaps has the edge. It's more suited to intranet sites and has better integration with Office applications, Outlook, Active Directory and Microsoft SQL server. In those circumstances it can be more productive, but move into the faster moving public web arena it can be too cumbersome. If you're looking to become a more public facing web developer then php or an associated framework is the way forward. I'm of the school where you should learn the fundamentals of php first then progress to a framework.
  20. We use the following method to allow the download of existing files: - Each document's details is stored in a database - The user selected the file to download and the ID of the document is passed to the download page - The details of that document (including source file path) are retrieved from the database - The file is copied from a private directory to a public directory and given a randomly generated name - This link is then displayed for the user to click on or right-click and save - Each time the script is run it checks for files in the public folder that are more than x hours/minutes old and removes old files. The aim is to separate the user as much as possible from the original source document so they can't begin to figure out where it came from and work out how to download others without going through the proper processes you put in place to begin the download. Hope this helps. Hello everyone. First post on this forum! Gareth

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.