World: r3wp
[Web] Everything web development related
older newer | first last |
Maxim 28-Apr-2011 [1845] | it has a nice retrospect of HTML and tackles a single question... "why do we have an <IMG> tag in html?"... the answer is surprisingly simple and evocative: The ones that win are the ones that ship. funny... the leading OS is called WINdows ;-) |
Janko 28-Apr-2011 [1846x2] | about JS libs: I don't use jQuery .. it's oweblown for what I want (I don't need it to reinvent javascript). If I need any complex components like datepicker (which I don't want to reinvent) I use mootools usually (because you can use just needed parts of it). jQuery UI modules (which has this) are very very slow and CSS is so complex I don't even start to get it how to customize it. Dojo always seemed this mega lib that I don't want either. If I go to their demos (at least last time I looked) everything is slow and unresponsive. I want my things to be slim on code and snappy. Prototype (mootools does this also, but I think a little less) is first generation JS lib (that started it all). I think it heavily monkey patches the core JS/DOM objects.. thats why I don't like it. I also neve use css3 selectors in my JS code (that is a major part why people use jquery and likes). I always move relative to an element with seekFwd, seekIn, seekOut, seekBack fuctions I have or just use ID of element (and then seek if needed). |
UsrJoy and InvoiceFox generate 90% of html on client side. I have few weird (functional-ish (as in functional programming)) ideas how to do this: I use http://code.google.com/p/jsgoo/http://refaktor.si/demos/jsgoo/ for this | |
onetom 29-Apr-2011 [1848] | Janko: we tried http://angularjs.orgrecently. it also does client side html templating BUT in 2 ways. the merged data can update itself inside the template and also if some input fields change, the corresponding model variables reflect this change automatically. the best framework i've seen so far & u can mix it easily with jquery or mootools |
Pekr 29-Apr-2011 [1849] | jQuery is imo typical example of another so called standard the world has choosen, and yet again the wrong one :-) Even MS suggests it to use with SharePoint .... |
Maxim 29-Apr-2011 [1850] | The ones that win are the ones that ship. ;-) |
Pekr 29-Apr-2011 [1851x2] | Maxim - then I don't support those that win, nor am I interested to win :-) I thought that' why we are here in the first place :-) Or we could all be using php, Ruby, or any new trend which appears :-) |
Janko - what do you think about - http://gwt-ext.com/? | |
onetom 29-Apr-2011 [1853] | Pekr: what else then if not jquery? |
GrahamC 29-Apr-2011 [1854] | onetom, do you have a site using this angularisjs ? |
onetom 30-Apr-2011 [1855x2] | http://misko.hevery.com/2010/07/29/a-radically-different-way-of-building-ajax-apps/ here is a video about angular. it's one hour but it worth very much to watch. |
and yes, i have a site using angular, but it's a work in progress, so i can't show it publicly. privmsg me if u r interested | |
GrahamC 30-Apr-2011 [1857x2] | So, angular is a DSL that is compiled into JS client side to handle all the dom manipulation and other stuff that you would normally have to write JS to do ...or use Jquery functions. |
Sounds like a neat idea .. less is better ! | |
onetom 1-May-2011 [1859] | angular is a js library which interprets special tags, attributes and element values in the dom and sets up an event handler system behind the scenes which keeps model objects in sync w the dom content (back and forth) |
Maxim 13-May-2011 [1860x2] | wow, the new FF really is annoying :-) what is it with browser makers... they just keep making their stuff more and more aggravating to use. |
ah, I just put back some toolbars which are off by default... making a bit more sense. | |
onetom 13-May-2011 [1862x2] | u seem to be a prisoner of your habits. toolbars? in a browser? what is the good for? :) |
finally i dont have to start with turning off the bookmarks bar on a fresh install. most ppl dont use it anyway... and probably FF maker have *measuered* this. and giving more space for the content worth more than bookmarking | |
Maxim 14-May-2011 [1864] | don't get me wrong, I like that FF is conscious about screen real estate.... its just that opening a window with no buttons, is a bit drastic. I hate pulldown menus because they are extremely slow. |
AdrianS 16-May-2011 [1865] | so why not use keyboard shortcuts? |
Maxim 18-May-2011 [1866] | bah, I've learnt so many keyboard shortcuts in my life (with a past in vfx and innumerable 3d & fx softwares ;-) that my memory for such things is pretty full. |
AdrianS 21-May-2011 [1867] | yeah, I know what you mean, but a browser is such a constantly used tool that a few shortcuts are worth memorizing, IMO |
onetom 25-May-2011 [1868] | http://code.google.com/p/js-test-driver/ this seems to be some serious shit... the guy who is writing the angular.js framework can run 300 unit tests in 400ms on the 10K lines code base. |
Robert 2-Jun-2011 [1869] | I have a question regarding fonts on web-sites: Take a look at this one here: http://www.binaryage.com/ It uses a font called PLAY which I like a lot. This font wasn't installed on my system, but the web-site displayed it. It's even not one of the standard web fonts I know. Why does this work? |
Cyphre 2-Jun-2011 [1870] | I did just quick look at the site and it seems it uses this service http://fontdeck.com |
Robert 2-Jun-2011 [1871] | Seems to work via Google as well: http://www.google.com/webfonts/family?family=Play&subset=latin#code |
Cyphre 2-Jun-2011 [1872x2] | yes, the google api is probably using the fontdeck site internaly. |
Also such fonts will work properly only in newer browsers..the binariage site looks terribly in IE8 for example. | |
Robert 2-Jun-2011 [1874] | IE9 looks the same as Safari, no problems. |
Cyphre 2-Jun-2011 [1875] | I just noted that so you know. It depends how much you care about the backward compatibility etc. |
Robert 2-Jun-2011 [1876] | Yep... thx. It should work for most people of course. |
Kaj 2-Jun-2011 [1877] | The Googel Webfonts home page drives my Firefox 3.5 into a crash loop |
onetom 3-Jun-2011 [1878x4] | im wondering what is the best way of providing permalinks for mechanical parts, like pipe fittings. i'd like to provide a catalog of them for a couple of companies. each company has their own part number system which unambigously identifies a product. i would expose a description page about these as: /company/part-number |
it would however look cryptic and wouldn't empasize what is that page about, so we were thinking about attaching a slug to it, to help human usage and search engines too. | |
Q1: im not very sure about how much more effective from a SEO point of view to have a slug in the URL as opposed to keywords in meta tags and the same description as in the title of the page for example. | |
Q2: would it be okay to add the slug as an extra path level, like stackoverflow.com does? | |
Kaj 3-Jun-2011 [1882] | Search engines don't use meta keywords anymore |
onetom 3-Jun-2011 [1883] | Q3: do u know any article describing best practices regarding permalinks/slugs? |
Kaj 3-Jun-2011 [1884x2] | A structured description in a title tag would be OK, but it seems that URLs help extra |
I use a unique identifier such as a date, followed by a textual description in the rest of the URL | |
onetom 3-Jun-2011 [1886] | it's not a news site, so there might be issues with the unqueness of the slug and other things like, i might need to display the nominal size of the part which is a fraction in many cases, lile 1-1/4" which wouldnt read nice at all if i have to replace the slash. the dbl quote might be okay to omit though |
Kaj 3-Jun-2011 [1887x2] | Yes, readability is a problem, so URLs are often more optimised for search engines than for human readers |
1/4" would be 0.25-inch | |
PeterWood 3-Jun-2011 [1889] | No, it;s two hoon in this part of the world. |
Oldes 3-Jun-2011 [1890] | http://typekit.com/ |
onetom 3-Jun-2011 [1891] | do u specify the slug manually or let some automatism hint u with a possibility 1st? |
Kaj 3-Jun-2011 [1892x2] | I just have an extra field short-name |
But you have to train your users on it | |
Tim 9-Oct-2011 [1894] | Well, I've been using rebol for 11 years, but never have used altme for support. But I have a |
older newer | first last |