Re: Displaying a table and make its columns sortable

2011-02-18 Thread Arun K.Rajeevan
Thanks, very good community!

On Feb 18, 3:49 am, Shawn Milochik <sh...@milochik.com> wrote:
> On Thu, Feb 17, 2011 at 4:44 PM, Arun K.Rajeevan <the1.a...@gmail.com> wrote:
> > Show me the django way to do this.
>
> The "Django" way to do this is to learn basic programming skills. You
> originally asked a mess of random questions which didn't have anything
> to do with Django. We answered anyway. Now you're basically us to
> write your application logic for you.
>
> You'll get much more helpful responses when your requests indicate
> you've actually tried to do something and run into a problem.
>
> Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Displaying a table and make its columns sortable

2011-02-17 Thread Arun K.Rajeevan
I think, I'm not clear in first place.
My confusion revolve around following
1) The table that I display is not constitute a single model from
django application.
It combine two models from django application and data returned from a
web-service.

Since web-service included in the recipe, it make me confuse.

For an example,

class TableOne(models.Model):
qID = models.IntegerField(unique = True)
x= CharField(max_length = 20)
# and so on...

class TableTwo(models.Model):
zID = models.IntegerField(unique = True)
x= CharField(max_length = 20)
# and so on...

Now, what I want is display a table which combines TableOne and
TableTwo and shows, ID (for which show qID and zID), x, and foo and
bar
And this foo and bar comes from two web-service calls one specific to
get an object with zID and another for qID.
with a single call with zID I get both foo and bar.

(I used web2py before, there, I get an SQLTABLE which is a
representation of model in table form, where for tasks like this I
apply a virtual field to retrieve foo and bar automatically. And use
powerTable for pagination of models. May be I'm looking for something
like this, that's why I'm confused.)

Show me the django way to do this.

On Feb 18, 2:31 am, Tim Sawyer <list.dja...@calidris.co.uk> wrote:
> On 17/02/11 20:18, Arun K.Rajeevan wrote:
>
>
>
> > I've a table which stores unique ids for an object that I've to retrieve
> > via SOAP( I've a url to a WSDL file) service calls.
> > This table also contains some details like last access to this object
> > from application etc.
>
> > *What I need very badly and urgently:*
> > I've to display a few items from this table + data retrieved from the
> > SOAP service per unique ids in the table into a  
> > And columns must be sortable and there's a drop down list for filtering
> > too. probably I need pagination too.
> > Since, all the data is not in my applications table and comes from SOAP
> > service, I'm confused about it.
>
> > How should I go about it?
>
> > I can think of something like, there'll be custom methods in the table,
> > which retrieves each item that need to be displayed from SOAP service.
> > (Con: This will need so many SOAP service calls per item, where as I can
> > retrieve whole data in one go, here I need to get data and use only one
> > field from it. ), and from what I know, if I use custom methods, then
> > table columns will not be sortable.
>
> > I'm not a django expert. so please consider this while answering.
>
> As has been said, you're probably better of doing this with
> JavaScript/jQuery.
>
> I'd suggest looking at some jQuery plugins, such as:
>
> http://tablesorter.com/docs/http://plugins.jquery.com/project/PicNetTableFilter
>
> Tim.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Displaying a table and make its columns sortable

2011-02-17 Thread Arun K.Rajeevan
I've a table which stores unique ids for an object that I've to retrieve via 
SOAP( I've a url to a WSDL file) service calls.
This table also contains some details like last access to this object from 
application etc.

*What I need very badly and urgently:*
I've to display a few items from this table + data retrieved from the SOAP 
service per unique ids in the table into a  
And columns must be sortable and there's a drop down list for filtering too. 
probably I need pagination too.
Since, all the data is not in my applications table and comes from SOAP 
service, I'm confused about it.

How should I go about it?

I can think of something like, there'll be custom methods in the table, 
which retrieves each item that need to be displayed from SOAP service. (Con: 
This will need so many SOAP service calls per item, where as I can retrieve 
whole data in one go, here I need to get data and use only one field from 
it. ), and from what I know, if I use custom methods, then table columns 
will not be sortable.

I'm not a django expert. so please consider this while answering. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Integrating existing soap based applications

2011-02-11 Thread Arun K.Rajeevan
I tried SOAPpy and pysimplesoap in terminal.

I only got later to work.

from SOAPpy import WSDL
WSDLFILE = "https://api.bullhornstaffing.com/webservices-1.1/?wsdl;
_server = WSDL.Proxy(WSDFILE)
#it throws an exception here. wsdl is a complex one

#other library
from pysimplesoap.client import SoapClient, SoapFault  
client = SoapClient(WSDFILE, cache='.')
#works ok

Most likely I'm doing something wrong!!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Integrating existing soap based applications

2011-02-11 Thread Arun K.Rajeevan
Hi,

I got a query to integrate BullHorn (Staffing solution) (http://bullhorn.com) 
and VerticalResponse (Email-Marketing)  (http://www.verticalresponse.com/) 
together into their existing application.
On investigating I found out that, both uses soap services. 
How do you recommend me to consume SOAP services in django.
I'm new to SOAP and will not say myself as a  django expert.

Thanks,
Arun

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: E-commerce site

2011-02-09 Thread Arun K.Rajeevan
Hi Fred,

Thank you for Komodo tip.
I tried wing IDE and loves it, but it's commercial, which I can't afford.
I've to try Komodo edit now (which is free (the Edit version), right?)
Also, tried Eric, which is too much for web development.

I miss something like NetBeans for Java :)

Thanks,
Arun.K.R
_
{ Man can be Destroyed but cannot be Defeated.}
{ As you live your days, so you craft your life. }
{ In this world of no walls or fences, we don't need windows or gates! }
http://www.google.com/profiles/ <http://goog_1117901676>*the1.arun*
Registered Gnu\Linux User: #470196
Registered Ubuntu User: #25827
_




On 9 February 2011 16:17, Fred Chevitarese <fchevitar...@gmail.com> wrote:

> I know. Lot of people don´t like ides, but i like it! xD
>
> And i use Komodo Edit. You can configure a lot of shortcuts to increasing
> your the development.
> I´ve made an "tutorial" to explain how to create those shortcuts... It´s in
> portuguese but you can use google translator.
> The video don´t have audio... So, here goes the link!
>
>
> http://chevitarese.wordpress.com/2009/11/17/django-criando-atalhos-na-ide-komodo/
>
> Hope it helps!
>
>
> "
> *O relógio da vida recebe corda apenas uma vez.*
> *Ninguém tem o poder de decidir quando os ponteiros pararão, se mais cedo
> ou se mais tarde.*
> *O presente é o único tempo que você possui.*
> *Viva, ame e trabalhe com vontade.*
> *Não ponha nenhuma esperança no tempo, pois o relógio pode parar a
> qualquer momento.*
> "
>
> Fred Chevitarese - GNU/Linux
> http://chevitarese.wordpress.com
>
>
>
>
>
> 2011/2/8 Kenneth Gonsalves <law...@thenilgiris.com>
>
> On Tue, 2011-02-08 at 05:53 -0800, Arun K.Rajeevan wrote:
>> > The one e-commerce solution I found and looks promising is Stachmo
>> >  http://www.satchmoproject.com/
>> > which is django based.
>>
>> go for it - it is developed by people with a long history of developing
>> e-commerce sites in a variety of platforms before they came to django
>> and they know what they are doing.
>> --
>> regards
>> KG
>> http://lawgon.livejournal.com
>> Coimbatore LUG rox
>> http://ilugcbe.techstud.org/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: E-commerce site

2011-02-09 Thread Arun K.Rajeevan
Hi Kenneth sir,

We met @ NIT Calicut. I was there with you on python workshop with Mr.
Anoop.

I know the place to ask satchmo related questions is there mailing list.
But, still, Yesterday I tried installing satchmo and everything went right,
except pictures (of products) are not showing up.
I followed satchmo tutorial!!!

Also, when I'm about to upload the solution back to server, would it help me
to set up everything in a virtual environment now itself?

Thanks,
Arun.K.R
_
{ Man can be Destroyed but cannot be Defeated.}
{ As you live your days, so you craft your life. }
{ In this world of no walls or fences, we don't need windows or gates! }
http://www.google.com/profiles/ <http://goog_1117901676>*the1.arun*
Registered Gnu\Linux User: #470196
Registered Ubuntu User: #25827
_




On 9 February 2011 07:10, Kenneth Gonsalves <law...@thenilgiris.com> wrote:

> On Tue, 2011-02-08 at 05:53 -0800, Arun K.Rajeevan wrote:
> > The one e-commerce solution I found and looks promising is Stachmo
> >  http://www.satchmoproject.com/
> > which is django based.
>
> go for it - it is developed by people with a long history of developing
> e-commerce sites in a variety of platforms before they came to django
> and they know what they are doing.
> --
> regards
> KG
> http://lawgon.livejournal.com
> Coimbatore LUG rox
> http://ilugcbe.techstud.org/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: E-commerce site

2011-02-08 Thread Arun K.Rajeevan
Well, thank you for plata pointer, I never heard about it.
Going to try that.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: E-commerce site

2011-02-08 Thread Arun K.Rajeevan
By support I only mean the support we usually get from forums, but a bit
faster response time.
Which I think is expectable over here.

Arun.K.R

On 8 February 2011 20:47, Shawn Milochik  wrote:

> Oops, hit 'send' by mistake on that last e-mail.
>
> As I was saying, Satchmo is likely the way go to. However, don't
> expect us to support your paying customers.
>
> If you're not competent to support your customers in Django, use
> another tool. Learn Django and implement a Satchmo store to teach
> yourself, then when you know what you're doing you can offer to
> maintain Django sites for your customers.
>
> Shawn
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



E-commerce site

2011-02-08 Thread Arun K.Rajeevan
Hi all,
I was a java programmer before I started to code in python.
For the last 1yr I use python and loves it.

I'm new to django, but tried django tutorial and used web2py before for a 
few websites.
Now, I had a bid for an e-commerce site.

I don't want to go for magneto or the like, because I don't know PHP nor do 
I like to use that language.
The one e-commerce solution I found and looks promising is Stachmo 
 http://www.satchmoproject.com/
which is django based.

How stable that project is? Or do you recommend the use of it?
Is there any other python  based solutions?

If I choose to go for stachmo, I'm most likely sure that I'll end up with 
lots of problems because I'm not that familiar with django, can I hope to 
get some good support from you guys (I heard a lot about django-users group 
is very supportive) so that I will not end up in bad customer reputations? 
!!

I need:
* an e-commerce site (not complex, we may have a max of 20 different 
products), 
* a forum with support, downloads/updates, product registration, Personal 
account page/shipping details/preferences/etc, 
* a blog
* social media integration

Please suggest a starting point, and django applications that can be 
integrated to create this product in a rapid manner.
Also, if you suggest the use of an ide, please mention which one. currently 
I'm happy with geany (a text editor + some more)
Don't worry about the fact I'm new to django, I'm fast to adapt.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.