Jump to content

thescientist

Moderator
  • Posts

    8,682
  • Joined

  • Last visited

Posts posted by thescientist

  1. did you got the angular site? the home page alone gives a comprehensive overview of what it does and examples for how to use it.

    https://angularjs.org/

     

    If you need a full MVC framework, for a medium to large scale dynamic site, probably driven by AJAX / backend services, Angular is one option. There are other non MVC options that still emphasize component based development, but that's a matter of preference and philosophy.

    • Like 1
  2.  

    The fact that neither w3c or WHATWG provide correct usage for nav/ul relationships is indicative of them not being considered for use together

    You're entitled to your interpretation then, but I don't think most would see it that way. i personally have started using <ul> within <nav> and find it to be semantic for my needs and for others reading the same code.

     

    To get the focus back on the OP, what are your expectations with this code? Are you looking for this to be responsive design, or just for desktop? Typically, the best way to at least ensure the code works as expected is to run it on the browsers / devices you want to support and make sure it passes the new HTML5 DTD validation checker. Aside from that, I don't see you using positioning, which is good. It is the number one bad habit I see new developers get into, so make sure you only use it when appropriate.

    php

    If you haven't looked into it, PHP7 is near stable release, and should be quite an overhaul of the underlying engine and a pretty good attempt at starting to remove the cruft. mysql is completly removed, for example. I think PHP is entering a "renaissance" if you will with this release, similar to how JavaScript is also in an upswing, supported by recent advances in EMCAScript 2015 (ES6) and Node.

    • Like 1
  3. If you use tools like Grunt or Gulp, or Apache, you can run a local webserver which will allow you to open your site on those devices over the local intranet created by your router / wifi network. Essentially, nothing beats actually testing with the actual devices in hand.

×
×
  • Create New...