• Welcome to KonaKart Community Forum. Please login or sign up.
 

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - diegobuzzalino

1
I know that Martin Fowler would kill me, but I think that in 20 minutes, I will be creating a database connection on the action, and directly grabbing that info.
2
mmm..got it...

in the admin code I have just found the method that I have been looking for on the client side:
     public AdminCustomer getCustomerForEmail(String s)

Let me think how I could use that from the client side..
3
Here is where I thought about my trade off:
  - I need this functionality
  - I do NOT need extreme security.

So, I'm storing the password twice:
  - the original from Konakart
  - an encrypted version with different algorithm in a Custom field (This algorithm is reversible)

So, I do have the information on the database to fill the log in fields.
The only thing that I'm willing to do, is to grab that information from the database and put on a LoginForm in LoginAction (I added that form to the action in the sturts-config.xml file)

(BTW, thanks a lot for  the attention.. I really apreciate it)
4
I don't want to work on "automatic login", because I'm not an Konakart-expert. I'd prefer not to change the login functionality.

I'd rather prefer to auto-complete the user and password fields on the Login Page, and then, continue with the standard flow, without any change.

(I know that this is not the most safe option, but for my business, it's safe enoufgh, and the cheaper option to implement.)

Currently, when the user log in, I store some information on the CustomX fields, and store a new cookie the user email.
That's working.

Now, I was working on "LoginAction", to add the logic for reading the cookies and the information from the databse. Here is where I found that I need a "getCustomerByEmail" or something like that.

I hope that I have been clear enough.
5
First of all, thanks for the fast answer.

I'm working on "remember user and password" functionality.

So, I need to grab custom information from the database without logging in the user.
I guess that the "customerSearchIf" interface is the answer, but I can't find a factory/concrete class of this.
6
I need something like this -> I need to gather some user information before the user logs in (user detected by cookies)

any ideas?

regards, Diego, from Argentina

(konakart rules!)
7
Programming of KonaKart / Re: Programming guide / tips
September 15, 2009, 08:34:00 pm
thanks greg for the answer...
i'm not maradona.. (damn :P)

right after writing the first post, I found the Struts Action source code.. (it was hard to find them..heeh)
the idea of my question is about "programming tips", like..
- how if the best way of code structure (inside Eclipse)
- how should I do the Konakart updates (if a new version is available..)

and that kind of stuff.....



8
Programming of KonaKart / Programming guide / tips
September 15, 2009, 03:14:03 pm
Hi all,
  I'm Diego,from Argentina, have been developing on java for 6-7 years. I have experience on struts, velocity, jsp and that kind of stuff. Now, I'm new babie in konakart, and have just start reading the documentation of konakart(great product!).

My question is: What should I read before starting to customize konakart? I have read the inicial doc that came with the appcliation, but I think that I need some guidelines... (data management, payment methods, etc..)

any idea? tips?

regards...