Carson a gheibh Flex agus Apollo buaidh

Eadar-lìonA-raoir chuir mi seachad am feasgar le cuid de charaidean.

Chaidh a ’chiad 3 uairean a chaitheamh aig Crìochan ag obair air làrach teachdaiche anns an robh cuid de dhùirn thar-bhrobhsair. Chaidh an làrach a sgrìobhadh le foirfe, dligheach CSS. However, with Firefox 2 on a PC the bulleted menu list had an ugly pixel shift and on Internet Explorer 6, one of the CSS methods didn't work at all.

Firefox 2 (thoir sùil air a ’ghluasad picteil neònach sin a tha ga dhèanamh a’ coimhead cha mhòr ann an clò Eadailteach):
Clàr-taice Firefox 2

Seo mar a bu chòir dha a bhith a ’coimhead:
Internet Explorer 7

Each time that we tested something, another browser broke. We were testing across OSX with Safari and Firefox and then XP with IE6, IE7, and Firefox. Bill's expertise at CSS and my love of JavaScript eventually led to a solution that didn't require browser specific hacks… but it was a ridiculous (but fun) exercise that web designers go through every single day.

An fhìrinn sin Apple, Mozilla, Microsoft, agus Opera eu-comasach air tagraidhean a sgrìobhadh a chleachdas a Inbhe lìn bu chòir nàire a bhith air gach fear dhiubh. B ’urrainn dhomh gu tur a thuigsinn an robh na feartan aige fhèin aig gach brabhsair a dh’ fhaodadh a bhith a ’faighinn taic tron ​​sgrìobhadh aca fhèin - ach is e stuth bunaiteach a tha seo.

Seo eisimpleir foirfe de carson Apollo agus lùbadh deagh chothrom air an eadar-lìn a sguabadh air falbh. Sgrìobh mi latha no dhà air ais mu dheidhinn Scrapblog, an application written in Flex (and quickly ported to Apollo). If you haven't had a chance to see it – feuch feuch e – it's nothing short of amazing.

Bidh Flex a ’ruith fo Adobe Flash's plugan brabhsair. Is e seo plugan a tha 99.9% tòrr of the Internet runs (you're running every time you look at a Youtube video). Apollo utilizes the same engine but allows you to actually run in an application window rather than being limited to the browser.

Dè a th ’ann am Flex?

bho Adobe: Tha frèam tagraidh Flex air a dhèanamh suas de MXML, ActionScript 3.0, agus leabharlann clas Flex. Bidh luchd-leasachaidh a ’cleachdadh MXML gus eileamaidean eadar-aghaidh cleachdaiche an aplacaid a mhìneachadh gu dearbhach agus a’ cleachdadh ActionScript airson loidsig luchd-cleachdaidh agus smachd dòigh-obrach. Bidh luchd-leasachaidh a ’sgrìobhadh còd stòr MXML agus ActionScript a’ cleachdadh an Adobe Flex Builder? IDE no neach-deasachaidh teacsa àbhaisteach.

Leis gu bheil sinn duilich a bhith a ’togail clàr sìmplidh thar-bhrobhsair, smaoinich a’ feuchainn ri tagradh lìn iomlan a thogail a tha a ’faighinn taic thairis air brobhsairean! Aig a ’cheann thall, feumaidh luchd-leasachaidh hacks no sgrìobhadh sònraichte do bhrobhsair a sgrìobhadh gus dèanamh cinnteach gum bi an aon eòlas agad ge bith dè an seòrsa brobhsair no deasg a lorgas tu ag obair air. Chan eil cùisean tar-bhrobhsair ann agus a ’bhuannachd a bharrachd le bhith a’ giùlan an aplacaid gu Apollo gu furasta gus ruith a-steach no a-mach às a ’bhrobhsair.

A bharrachd air gun a bhith draghail mu mar a tha e a ’coimhead anns gach brabhsair, tha buannachdan eile ann. Bidh sgrìobhadh airson Flex a ’dèanamh chan eil require formal programming skills. I think that's why many professional programmers scoff at utilizing Flex or Adobe. They'd rather you spent tens of thousands of dollars having them develop the feature in ASP.NET that takes a few lines of MXML.

If you'd like to keep up on Flex and Apollo, subscribe to my friend Bill's blog.

7 Beachdan

  1. 1
  2. 2
  3. 5
  4. 6
  5. 7

Dè do bheachd?

Tha an làrach seo a 'cleachdadh Akismet gus spama a lùghdachadh. Ionnsaich mar a thathar a 'pròiseasadh an dàta bheachdan agad.