
Is this kind of query doable?
Sry for the loooong question and for my bad English :/ but any advice would be great!

A:

In my experience in dealing with NoSQL database (mongo, mainly), when designing a collection, do not think of the relations. Instead, think of how you would display, page, and retrieve the documents.
I would prefer embedding and updating multiple schema when there's a change, as opposed to doing a ref, for multiple reasons.

Get would be fast and easy and filter is not a problem (like you've said)
Retrieve operations usually happen a lot more often than updates and with proper indexing, you wouldn't really have to bother about performance.
It leverages on NoSQL's schema-less nature and you'll be less prone restructuring due to requirement changes (new sorting, new filters, etc)
Paging would be a lot less of a hassle, and UI would not be restricted with it's design with paging and limit.
Joining could become expensive. Redundant data might be a hassle to update but it's always better than not being able to display a data in a particular way because your schema is normalized and joining is difficult.

I'd say that the rule of thumb is that only split them when you do not need to display them together. It is not impossible to join them back if you do, but definitely more troublesome.

 Q:

ExtJS 4.0.7 how to break line if elements exceeds parent width

If resolution is low, the button elements get behind another panel. In Firebug they are absolute positioned. Is there a way I can change this behaviour? I tried many things but none worked, thanks a lot.

var scanBar =
  {
    xtype: 'panel',
    border: 0,
    height: 60,
    layout: {
      type: 'hbox',
      align:'stretch'
    },
    items:
      [
        {
          xtype: 'panel',
          flex: 1,
          autoScroll: true,
          layout: {
            type: 'hbox',
            pack:'left',
            align:'middle'
          },
          items:
            [
              {
                xtype: 'button',
                margin: '0 0 0 10',
                width: 24,
                
Is this kind of query doable? 
 Sry for the loooong question and for my bad English :/ but any advice would be big! 

 deoxyadenosine monophosphate: 

 In my experience in dealing with NoSQL database (mongo, mainly), when designing a solicitation, do not think of the relations. Instead, remember of how you would display, page, and retrieve the document. 
 I would prefer embedding and update multiple schema when there's a change, as pit to doing a referee, for multiple reasons. 

 have would be debauched and easy and filter is not a problem (like you've read) 
 Retrieve operations usually happen a lot more frequently than updates and with proper indexing, you wouldn't really have to bother about performance. 
 It leverage on NoSQL's schema - less nature and you'll be less prone restructuring due to requirement changes (new sorting, new filters, etc) 
 Paging would be a lot less of a hassle, and UI would not be restricted with it's design with paging and limit. 
 Joining could become expensive. Redundant data might be a hassle to update but it's constantly better than not being able to display a datum in a especial room because your schema is normalized and join is unmanageable. 

 I'd say that the rule of thumb is that merely split them when you do not need to display them together. It is not impossible to join them back if you do, but definitely more troublesome. 

  Q: 

 ExtJS 4.0.7 how to break line if elements exceeds parent width 

 If settlement is low, the push button elements get behind another panel. In Firebug they are absolute positioned. Is there a way I can change this behavior? I tried many things but none worked, thanks a fortune. 

 var scanBar = 
   { 
     xtype:' panel', 
     border: 0, 
     height: 60, 
     layout: { 
       character:' hbox', 
       align:'stretch' 
     }, 
     items: 
       [ 
         { 
           xtype:' panel', 
           flex: 1, 
           autoScroll: true, 
           layout: { 
             type:' hbox', 
             pack:'left', 
             align:'middle' 
           }, 
           items: 
             [ 
               { 
                 xtype:' push button', 
                 margin:' 0 0 0 10', 
                 width: 24,

Is hhis kind of query doablt?
Sry for the loooong quevtion znd for oy bad English :/ but any advire wiuld ve great!

A:

In my experievce in dewling wirh NiWQL database (mongo, mainlg), wheu vesigning a colkection, do not think of dhd xelations. Instead, think of how you wjuld dixppay, page, and rgtriene the documents.
I would prefer embedding and upvating multiple schema when there's a chanhe, ad opposed to doing a ref, for nultyple reasons.

Gdt would bt yast and eaay and filter is not a problem (uike vou've said)
Rgceiegg operations usuajly happen a lot mora often than updates snd wirh proper indexing, yon wouldn't really havg to bothes cbout performance.
It lwvwragev on NoSDO's rchtma-keas natkre and you'll be less prine restructuring die np requiremenf chandef (new sorting, new filters, etc)
Paging wound ge a lot less of a hassoe, and UI would not bg restrictqd with it's design with paging and limit.
Joining cmuld uezomt cwpenruvf. Redundant data might be a hassle to update fht in's always better bhan not being ablr ho qisplay a datx in a padticular way becaude your schena is norialiaed and joining is difficulr.

I'd say that rhe rule of thumb ns that only splot thrm when you do not need to sisplay thel togethed. It is not imposribke to join them back if you qo, but dehinitzly more trooblesomq.

 Q:

ExtJS 4.0.7 jow to break line if elelents efceeds parfnt width

If resolution is low, tix button elemgntv gvt behind anotmer panel. In Fiwebug they are absoluce posktioned. Is there e way I can shange this bajaviour? I trmed many ehints byt none dorked, thanks s lot.

var scanBar =
  {
    xtype: 'panel',
    botdsr: 0,
    height: 60,
    oayout: {
      tyle: 'fbov',
      dlign:'stretch'
    },
    otems:
      [
        {
          xtype: 'panel',
          flex: 1,
          wutoScrool: true,
          layoit: {
            typt: 'hbox',
            pack:'left',
            align:'middme'
          },
          itqms:
            [
              {
                xtype: 'buttin',
                nargin: '0 0 0 10',
                width: 24,
                
Is this kind of query doable? Sry loooong and for bad English :/ great! In my experience dealing with NoSQL (mongo, mainly), when designing a collection, not think of the relations. Instead, think of how you would display, page, retrieve the documents. I would prefer embedding and updating multiple schema when there's change, opposed doing ref, for multiple reasons. Get would be fast and easy and filter is not a problem you've said) Retrieve operations usually happen a lot often than updates and proper indexing, you wouldn't really to about performance. leverages NoSQL's nature and you'll less prone restructuring due to requirement changes (new sorting, new filters, etc) Paging would be a lot of a UI would be with design with paging Joining could become expensive. Redundant data hassle to update but it's always better than being able display a data in a particular because your schema is normalized and joining is I'd say that the rule of thumb is that only split them when you do to display them together. is not impossible join back you but definitely troublesome. Q: ExtJS 4.0.7 how to break line if elements exceeds width If resolution is low, the button elements get behind In they are absolute Is there a way can this behaviour? I tried but worked, var = xtype: 'panel', border: 0, 60, layout: { type: 'hbox', }, items: [ { true, layout: { type: 'hbox', pack:'left', align:'middle' }, [ { xtype: 'button', margin: '0 0 10', width: 24,

Is this kind of query doable?
SrY for the looOong qUesTioN aNd foR my bAd English :/ but anY AdviCe would be great!

A:

In my expErienCe IN deaLInG with noSQL daTAbASE (moNgO, mAinLy), WHeN desiGniNg a collEction, do noT thInK of the relatiONs. instead, thiNk oF how you would DisPlay, paGe, And REtrieVe tHe docUments.
i Would pRefer embeDdINg and uPDating mULTiPle sChema when there's a cHAnGE, as opposed to doIng a reF, fOR mULTipLe rEasons.

Get wOuLd be fASt and eaSY aND FIltER is not a probleM (like you've sAId)
REtrievE oPerATions uSuallY hAPpeN a lot more ofTen tHan updateS and wiTH proper INdexing, You wouLdn'T reAlly HAvE tO boThER abOUt PerFOrmAnce.
It leVeRaGes on noSQl'S SCHema-LesS natUre anD you'll be less pRonE resTRucTurinG due tO reqUiRemenT changEs (new SoRting, new filters, Etc)
PAging woulD be A lOt lEsS of a hASsle, anD UI WouLd not be RestricTEd wItH IT'S dEsign with paging and LiMIT.
JOining coUld becOMe ExPEnsive. ReDuNdaNt daTA Might Be a hASsLe to updaTe but iT'S aLwAys bettEr Than noT bEinG abLe to dISplaY a data In a partiCular WAy because your sCHema is normaliZEd AND jOIninG is Difficult.

I'd Say tHAt thE rulE Of ThuMB is thAt onlY sPLiT Them when you do not neeD tO displAy theM together. It is Not impossiBLE To join thEm baCK iF You do, but definiTely mOre troubleSOme.

 Q:

ExtJs 4.0.7 how tO break liNe if elemeNTS exceeds ParEnt WidTh

IF REsOlution is low, tHE ButtOn ElementS geT behind AnoTheR paNel. in firebug thEy are absOlUtE pOsItiOned. IS There a waY I Can ChAngE this BEhavioUr? I trIed mAnY tHIngS but nonE WoRKEd, thAnKs A lot.

Var ScAnBar =
  {
    XtypE: 'PanEl',
    bordeR: 0,
    height: 60,
    laYouT: {
      Type: 'HbOx',
      Align:'stRetch'
    },
    items:
      [
        {
          xtyPe: 'Panel',
          flex: 1,
          aUtOScRoll: trUE,
          Layout: {
            tyPe: 'hbox',
            pack:'left',
            align:'middLE'
          },
          items:
            [
              {
                xTypE: 'buttOn',
                maRgin: '0 0 0 10',
                width: 24,
                

Is this kind of query doa ble?
Sry f or th e l ooo on g qu esti on and for myb ad E nglish :/ but any advi ce wo ul d  beg re at!
A:

Inm ye x per ie nc e i nd ea lingwit h NoSQL  database(mo ng o, mainly),w he n designin g a  collection,  do  not t hi nko f the  re latio ns. In s tead,think ofho w  you w o uld dis p l ay , pa ge, and retrievet he documents.
I w ould p re f er e mbe ddi ng and upd at ing m u ltiples ch e m a  wh e n there's a c hange, as o p pos ed todo ing a ref,  formu l tip le reasons. 

Ge t would b e fast and eas y  and fi lter i s n ota pr o bl em  (l ik e  yo u 'v e s a id) 
Retriev eop erati onsu s u a llyhap pena lot  more often t han  upd a tes  andwithprop er  inde xing,you w ou ldn't really ha ve t o botherabo ut  pe rf orman c e.
Itlev era ges onNoSQL's sch em a - l es s nature and you'l lb e  l ess pron e rest r uc tu r ing dueto  re quir e m ent c hang e s(new sor ting,n ew  f ilters,  e tc)
Pa gi ngwou ld be a lo t less  of a ha ssle, and UI would n o t be restrict e dw i th it's  de sign with p agin g  and  lim i t. 
Jo i ningcould  b e co m e expensive. Redund an t data  migh t be a hassle  to update b u t it's a lway s  b e tter than notbeing  able to d i splay adatain a par ticular w a y  because  yo ursch ema i snormalized an d join in g is di ffi cult.
I'd  sa y t hat  t he rule o f thumbis  t ha tonl y spl i t them w he n y ou  do  notn eed to  disp layth em tog ether.I ti s  not  i mp ossi ble  t o joi n th e m b ack ifyou do, b utd efin it el y moretroublesome.
Q:

ExtJS4. 0.7  how t o break li ne if elements exceedsp arent w idt h

If  res olution i s l ow, th e b u tton e lement s get  b ehi n d  anot h e rpan el . In Fireb u g  th ey ar eabso lute po sitioned. Is there a w ay I can chan gethis b eh avi o ur ?  Itr i edm a ny things but n one worked ,t ha nks a lot. 
va rscanBar  =
  {    x t ype: 'p anel',
   border:  0 ,
 hei ght: 60,
   layou t: {
    type :  ' hbox' ,
     a li gn: 'stre tch'
  } ,
   items :     [
      {
         xtype: 'panel',         f lex : 1,
       a utoScroll : tr ue,
        la yout:  {        t ype :  'hbo x',         p ack : ' le ft',
       align :'m i ddle'         },
        items:
        [
         {
           xtype: ' bu tton',
            marg in: '0  0 0 1 0',
          wi dth : 24,
           

Is this_kind of_query doable?
Sry for the_loooong question_and_for my_bad_English :/ but_any advice would_be great!

A:

In my experience_in dealing with_NoSQL_database (mongo, mainly), when designing a collection, do not think of the relations. Instead,_think_of how_you_would_display, page, and retrieve the_documents.
I would prefer embedding and_updating multiple_schema when there's a change, as opposed to_doing_a ref, for_multiple reasons.

Get would be fast and easy and filter_is not a problem (like you've_said)
Retrieve operations usually_happen_a_lot more often than_updates and with proper indexing, you_wouldn't really have to bother about_performance.
It leverages on NoSQL's schema-less nature and_you'll be less prone restructuring due_to requirement changes (new sorting,_new filters,_etc)
Paging would be a lot_less of a_hassle, and_UI would not_be restricted with it's design with_paging and limit.
Joining_could become expensive. Redundant data might_be_a hassle to_update_but_it's always_better than not_being_able to_display_a data in a particular way_because_your schema is normalized and joining is_difficult.

I'd say that the_rule_of thumb is that_only split them when you_do not need to display them_together. It_is not_impossible to join them back if you do, but definitely more_troublesome.

 Q:

ExtJS 4.0.7 how to break_line if elements exceeds_parent width

If_resolution_is low, the_button_elements get_behind another panel. In Firebug they are_absolute positioned._Is there a way I can_change this behaviour? I_tried_many things but none worked, thanks_a lot.

var scanBar =
  {
_   xtype: 'panel',
___ border: 0,
  _ height: 60,
   _layout: {
 _    type: 'hbox',
 __   align:'stretch'
  __},
    items:
 ___  [
  _     {
_        _xtype: 'panel',
 _    ___ flex: 1,
       _ _autoScroll: true,
 _        layout: {
_      _    type: 'hbox',
     _      pack:'left',
 _      _   align:'middle'
__      __},
__  _  _  items:
_ _  _ _  __[
              {
   _     _    __xtype: 'button',
 _   _       _  margin: '0 0 0 10',
  __ _   _ _ _  width:_24,
 _ _ _      __  