JazMan Posted May 6, 2005 Report Share Posted May 6, 2005 Nesen sāku ņemties ar PHP. uztaisīju skriptu fotogalerijām, bildes glabājas failu veidā, pagaidam MySQL glabājas tikai informācija par galerijām (Galerijas_ID, Nosaukums, Autors, Datums, Direktorija). Vai kāds varētu padalīties pieredzē, kā labāk realizēt komentāru sistēmu. pagaidām domāju ka izveidot vēl divas tabulas kurā būs šādi lauki : 1Tabula (Bildes_ID, Galerijas_ID, Bildes_nosaukums, Faila_nosaukums) 2Tabula (Komentari_ID, Bildes_ID, Komentars, Datums, Autors) Vai ari to visu kaut ka savādāk realizē, un es te samurgoju? :blink: Link to comment Share on other sites More sharing options...
рпр Posted May 6, 2005 Report Share Posted May 6, 2005 pareizi Link to comment Share on other sites More sharing options...
Venom Posted May 6, 2005 Report Share Posted May 6, 2005 pareizi vien ir Link to comment Share on other sites More sharing options...
bubu Posted May 6, 2005 Report Share Posted May 6, 2005 Ļoti pareizi. Link to comment Share on other sites More sharing options...
v3rb0 Posted May 6, 2005 Report Share Posted May 6, 2005 pareizi! :) Link to comment Share on other sites More sharing options...
Klez Posted May 7, 2005 Report Share Posted May 7, 2005 man wiens jawt par teemu :) ... shajaa gadiijumaa sanaak ka komenti tiek gruusti wienaa tabulaa... bet ja tai tabulaa buus 100.000 wai wairaak ieraxti ... ? mysql pawilks ? es domaaju aaatrdarbiibu... Link to comment Share on other sites More sharing options...
Venom Posted May 7, 2005 Report Share Posted May 7, 2005 vilks, pelēks un ar zobiem (: + tu vēl savāc tos 100 000 un tad ja kas domā Link to comment Share on other sites More sharing options...
Klez Posted May 7, 2005 Report Share Posted May 7, 2005 sawaakt waru... naw probleemas :) a ko dariit shaadaa gadiijienaa? bik war paātrināt ja querijam pieliek HIGH_PRIORITY Link to comment Share on other sites More sharing options...
Venom Posted May 7, 2005 Report Share Posted May 7, 2005 kad savāksi un bremzēs, tad parunāsim (: Link to comment Share on other sites More sharing options...
Venom Posted May 7, 2005 Report Share Posted May 7, 2005 precīzāk - kad savāksi un _ja_ bremzēs Link to comment Share on other sites More sharing options...
Klez Posted May 7, 2005 Report Share Posted May 7, 2005 nju te ira ... 200000 itkaa jaw nebremzee.... :) Link to comment Share on other sites More sharing options...
hmnc Posted May 7, 2005 Report Share Posted May 7, 2005 nju te ira ... 200000 itkaa jaw nebremzee.... :) 17265[/snapback] man bremzēja. itkā rāda 0.001 sec, bet lapa nenormāli velkas. inet ātrums nevarētu būt. bet par tiem 1`000`000 ierakstiem - ja sāks bremzēt taisi nākamo tabulu un miers. piemet klāt vietu field kurā tabulā glabājas attiecīgās bildes komenti un miers. Link to comment Share on other sites More sharing options...
JazMan Posted May 10, 2005 Author Report Share Posted May 10, 2005 Paldies!! Link to comment Share on other sites More sharing options...
Klez Posted May 10, 2005 Report Share Posted May 10, 2005 par inetu .... nu jaa uz mDSL tas wisss meetaajas ..... konkreetaak mana kaste ... Link to comment Share on other sites More sharing options...
Delfins Posted May 10, 2005 Report Share Posted May 10, 2005 wisss kad pārstāsi rakstīt šādā veidā vairs tādi jautājumi neradīsies :) PS: no offense Link to comment Share on other sites More sharing options...
Recommended Posts