Jump to content

imageek

New Members
  • Posts

    8
  • Joined

  • Last visited

Everything posted by imageek

  1. Looks fine in Chrome, I've even imported it into Photoshop and added a ruler to show you ... http://i.cubeupload.com/YxIgKB.png Honestly I wouldn't worry about 1px. But, I know you will, because it's something I'd worry about. Although I rarely get these types of issues with modern browsers.
  2. Nope, no XSS here. I'm James, a PHP developer from the UK. Thought I'd register here because I'm sick of StackOverflow. Miss a community. Just here to help others really, and I may ask the odd question from time to time.
  3. Is your User called hello? No I'm kidding $imageek = new User('imageek'); $foolishRobot = new User('foolishRobot'); $imageek->PickPocket($foolishRobot); unset($foolishRobot); $imageek->RunFromScene(); I think that's how it's done
  4. Possien, I'm not convinced that your solution is going to work across all browsers and mobile devices. That's why I often suggest a grid framework.
  5. Thanks for the reply. Well, I got my CV together today, and found 2 personal projects I was working on, so I pushed them to Heroku. Both show good use of HTML/CSS/JavaScript on the front end. Both are responsive too. One shows my use of PHP the other of NodeJS. So I'll get those looking good and working good. I have a month with no income worries, maybe two. And in that time I need to work solid, start contributing on GitHub, and build up my StackOverflow account. I think that may help. Not sure if my Eluer Project account will help. I'm on level 38. It's just some stuff to go in my favour. Even if I'm working for £20,000 a year, to get on the ladder, I don't mind.
  6. You shouldn't be using tables for layout. Use CSS. The Bootstrap, or Zurb Foundation, CSS frameworks will help you with this by providing classes to create grids. If you want something similar to that in the image you'd create 4 grid columns.
  7. Yeah, the same as me. I worked hard to build up a status on there, and then started to get random questions locked. Even though they were on topic. The rules on that places are getting worse. I asked them to delete my account and I left. Although it's still a value place when I need to Google a problem. Anyway, sorry to take it off topic. Back on topic. I pretty much prefer Linux. I used BSD back in the days, and I guess I use it for development seen as I'm a mac user. But, for production Debian wins.
  8. I will attempt to answer this given the limited information you've provided. To address the database problem you're having first I would write down every piece of information you want the user to provide for the item, question and answers, user information etc, and then use that to create a model. Below I've done a quick model. Keep in mind, I don't know the full details of this application. The tables are as follows: User Advertisement Photo Question Answer If you want the user to upload more than one photo you would need a separate table. You would need to create a one-to-many relationship between the advertisement table, and the photos table. Below is a mock DB structure: Advertisement ############# id (Primary Key) user_id (Foreign Key) title tagline description pictures location condition created_at updated_at deleted Photo ##### id (Primary Key) advertisement_id (Foreign Key) location created_at updated_at deleted User #### id (Primary Key) first_name last_name email password status role created_at updated_at Question #######£ id (Primary Key) user_id (Foreign Key) advertisement_id (Foreign Key) question created_at updated_at deleted Answer ###### id (Primary Key) user_id (Foreign Key) answer created_at updated_at deleted If you don't understand primary keys, and foreign keys, I'd hit Google for a refresher. I've added delete columns to most of the tables which will allow you to soft delete. Especially useful if police contact you for information on an advertisement posted. You still have hard evidence. Or unless the user changes their mind and wants to re-list. I'd also probably store the users IP address, and log all the IP addresses they use. This is useful for banning users, especially spammers. Spammers are all over classifieds sites. I'd also probably store stuff like contact information. And probably only allow prospect buyers to email sellers via the site. I.e. you forward the email to the seller from the buyer, and do the same from the buyer when the seller replies. Ensure you understand relationships and normalisation in a rational database. Not sure what you mean by this, sorry. Again I'm not sure what you mean by this. Pretty much. You're going to want to create a CRUD interface (create, read, update, delete). Or, create an API that makes use of various HTTP verbs. When the results are returned from the database? I.e. pulling an advertisement from the database, along with its questions? If that's the case, they can be returning in a number of ways depending on what abstraction layer you use to access the data from the database. If it's PDO, then you can return the results in a number of ways, more commonly an array, or an object. Hope that helps.
  9. I'm using Sublime. I think it's an excellent text editor.
  10. Hey Guys (and Girls). I'm looking for some advice regarding career progression and was hoping some of the lovely people here can help me out. I'm 30 years old, and I've been using PHP for almost 6 years on a daily basis. I spend a lot of time reading books, learning new topics of interest, putting what I learn into practice. I also use a number of other languages (I'm particularly strong in C#, .NET and WPF), and I'm very familiar with OOP. But here's my problem. I want to look for work as a PHP developer, but at 30 years old I don't have any commercial experience. I have Aspergers, which has really limited me in terms of working, but through therapy I've learnt to deal with a number of issues. I've just broke up from a relationship, and need to get some job security, and would love the chance to get on the career ladder. But, no commercial experience, and no portfolio, doesn't do me any justice. The work I've done in the past has been Facebook applications, or sites that are no longer active. I was heavily involved in Facebook spam, and quick tear down sites used to convert traffic into money. Non of which exist. I was sent to prison for 12 months for computer hacking. But that's hardly an achievement. One thing that may go in my favour is that I'm listed on the Facebook "Thank You" page for reporting security vulnerabilities to them. I was also paid a nice sum for the vulnerabilities I disclosed. So although I would consider myself a very good PHP developer, I really have nothing to show for it. I know a number of languages proficiently such as HTML, CSS, JavaScript, NodeJS, ExpressJS, MySQL, MongoDB, C#, PHP ... and the list can go on. But it's all well saying that, but when they read my CV I'll end up in the trash can. I'd love some suggestions on what to do from here. I probably have about a month to get some bits together to form a portfolio, and by that time I really need to be hunting for work. Keep in mind that although I can do front end development languages, I really don't want to be working on the front end if possible. Is there a good chance I can get work?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.