scentauri's Profile User Rating: -----

Reputation: 5 Worker
Group:
Active Members
Active Posts:
63 (0.05 per day)
Joined:
16-February 11
Profile Views:
1,646
Last Active:
User is offline Jul 24 2014 05:25 AM
Currently:
Offline

Previous Fields

Country:
CA
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
PC
Your Car:
Mercedes
Dream Kudos:
0

Latest Visitors

Icon   scentauri has not set their status

Posts I've Made

  1. In Topic: Being told to don't assign classes in HTML

    Posted 16 Sep 2013

    View PostDblAAssassin, on 16 September 2013 - 05:35 PM, said:

    Well, first why does she not want you to use classes? That's like showing on the the first day to school, in a different state, and expecting everyone to know your name. I'm assuming she doesn't want you to use classes because it interferes with something she does?

    The Answer
    I, would tell her that in order to do the job effectively, that you want me to do I need to use classes. This, may be even more of a big thing to say to the director, because he/she is hiring you to code HTML, and in order to do it effectively you need to use classes.

    I always try to code by this motto..
    Code Smarter, Not Harder.

    Hope this helped, good luck.


    The reason for her refusing to allow classes is because the design of our websites was audited recently and the consultant mentioned how the design needs to be consistent. So, in her attempt to keep everything consistent she does not want classes to be assigned to elements. She wants each tag to have only one style throughout the entire site, so that all p, h1, h2, h3, etc. will be the same regardless and so we will only have to change one rule to affect it site-wide. I think it's a great idea, but don't think it's wise to get rid of classes altogether, but still having a hard time convincing her.

    View PostAtli, on 16 September 2013 - 05:52 PM, said:

    Is there already a lot of existing code that uses DOM traversal instead of classes? If there is, it may not be in the best interest of the project to start changing to classes, even though it's an arguably superior method. Consistency does matter.

    View Postbaavgai, on 17 September 2013 - 12:33 AM, said:

    The absolute last thing you'd want to see would be <b> or <strong> or whatever. Hard coding display tags in content tags just isn't good, no matter what you're doing.

    To be fair, though, the <strong> tag isn't really a display tag like <b> is. It's a structural tag meant to place strong emphasis on it's contents. Browsers tend to render it bold, but that's just how they choose to interpret it visually. - Same goes for <i> and <em>. The <em> tag isn't meant to indicate that things should be italic, like the <i> tag is, even though it's always rendered that way.

    I do agree though that HTML style tags and attributes are to be avoided, but I don't categorize <strong> and <em> as among those tags.


    DOM travesal in relations to Javascript? I'm not too familiar with this.
  2. In Topic: Single Page Website with Database Interaction

    Posted 13 Mar 2013

    I have discovered that this is possible as I will be using JSP to interact with the database. At least it works in theory in my mind.
  3. In Topic: Remove Phone Icon on Telephone links

    Posted 22 Feb 2013

    Could somebody please move this thread to Mobile Development? I did not see that category previously.
  4. In Topic: Responsive Web Design Problem

    Posted 22 Feb 2013

    From what I understand, Responsive Web Design is about making your code flexible to the different medium and resolutions available (mainly pertaining to mobile phones). The trick with responsive web design is to replace fixed pixed with percentages. If you want two items side by side, rather than state each to be width: 450px each, make each width: 45% or so.

    When dealing with responsive web design for mobile devices, keep in mind that you must have a User Agent detection to detect the different mobile phones that are out in the market.

    Next thing to do is to set the viewport resolution and make this fixed so that your code becomes exclusive for mobile design.

    If you require more information on this, I can provide more info soon; however, my time is fairly limited, but I will try my best to get back to you.

    I haven't examined your code fully, but wanted to provide some info to you first because I noticed you are using fixed pixels.
  5. In Topic: File is not created and updated immediately

    Posted 6 Nov 2012

    View PostCTphpnwb, on 06 November 2012 - 08:38 AM, said:

    I see no wait call in the code you've provided, nor do I see a reason to use one.

    I'm not really sure what the problem is or why you're using file_put_contents(). You should probably be returning/echoing a value instead of storing it on a file on the server.


    The wait call is hypothetical. It represents the code after file_put_contents(). I'm writing the value into a file on the server, so Ajax can access that file and update with a progress percent (read from the file) for the file upload.

    This is a file upload program I am creating using PHP, Javascript and Ajax. It was working before where a call to file_put_contents created the file instantly, however that isn't the case anymore and I'm just trying to figure why that is the case.

My Information

Member Title:
D.I.C Head
Age:
29 years old
Birthday:
October 7, 1984
Gender:
Location:
Canada
Interests:
Reading newspaper, online articles, blogs
Computer programming/Web Developing
Tennis, Ping Pong, Baseball
Years Programming:
6
Programming Languages:
C#, SQL Server, PHP, MySQL, ASP, VB Script, X/HTML, CSS, XML, Javascript, AJAX, Access, Actionscript

Contact Information

E-mail:
Click here to e-mail me
Twitter:
scentauri

Comments

scentauri has no profile comments yet. Why not say hello?