Dev diary

The getParameter will get the names of the element. There is a false as a default. GetMethod- is it necessary?

Goals this week

Goals this week. Draw the diagram for the whole login, success progress. Still write a plugin. Play with forms and validator. Go thru that example. Go to shop on wed night.

jquery plugin to prevent double submission of button

// jQuery plugin to prevent double submission of forms jQuery.fn.preventDoubleSubmission = function() { $(this).bind(‘submit’,function(e){ var $form = $(this); if ($form.data(‘submitted’) === true) { // Previously submitted – don’t submit again e.preventDefault(); } else { // Mark it so that the next submit can be ignored $form.data(‘submitted’, true); } }); // Keep chainability return this; }; … Continue reading

chain of stuff

web_store->apps/store/modules/default ->apps/store/modules/deal->forward([module],[action])>indexGridSuccess.php defines several slots()->component(deal, homeGrid)->_homeGrid.php can be a deal or a place. ->goBackendBasePluginDeal. -> components.php -> executeHomeGrid(). Product can be a Deal or a Place

Goal this week

Write down the features to add for my website. Look for hosting. Play with plugin architecture. Write down the DB relationship. Go swimming on Tuesday, Thursday.

God s place

Need to be with God and Christian people. Tonight i felt so encouraged going to church. Came back feeling really relaxed and ready to face Monday. My mind changed. From worry and upset to positive and relaxed. It’s so good to be in the house of God.