Welcome Guest, Not a member yet? Register   Sign In
Can I load view before model or model inside view
#2

[eluser]Sumon[/eluser]
sudesh,
is it possible in any other ways rather then CI? lets say my model is busy with reading huge data(say 20 Trillion rows) from a table and then apply some logic. Now my question is how long the model will take how we know that in advance.

On the other hand, say for a file what we do is determine file size in advance using JS(i am not 100% sure though). Later file uploading starts and counting how much file size is uploaded. Finally calculate a real time ratio (say 40%) using AJAX.

Ops...!!! same approach may be applied for first scenario. It might be like, a database table size might store in metadata ( i am not sure how we to read metadata). If it is then it's possible in the real time to calculate in percentage how much data reading is complete by model. Surely here is also AJAX.


Messages In This Thread
Can I load view before model or model inside view - by El Forum - 09-15-2008, 12:08 AM
Can I load view before model or model inside view - by El Forum - 09-15-2008, 02:27 AM
Can I load view before model or model inside view - by El Forum - 09-15-2008, 02:57 AM
Can I load view before model or model inside view - by El Forum - 09-15-2008, 06:10 AM
Can I load view before model or model inside view - by El Forum - 09-15-2008, 06:28 AM
Can I load view before model or model inside view - by El Forum - 09-15-2008, 07:50 AM
Can I load view before model or model inside view - by El Forum - 09-15-2008, 10:36 AM
Can I load view before model or model inside view - by El Forum - 09-16-2008, 10:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB