I have been busy integrating Asterisk into NimbleBilling – take a look see and let me know what you think!
UPDATE : An online demo is available here!
As a sole proprietor and “freelancer” it is never easy wearing all of the hats, especially when I am knee deep in bugs and get a sales or support call. One of the most troubling issues I have is with asking for money. I never have a problem creating the invoice but it is that bloody send button that kills me.
Because of the above – I have decided to finally get organized and put together an automated invoicing application so I don’t have to worry about billing – the computer does for me. Basically you point your browser to a web app and adda few items to a job list – then save. Here’s a screencast that should demo it better than I can type it :
Here’s some of the functionality summed up in a brief list.
- Add / Edit / Delete Clients
- Add / Edit / Delete Invoices
- Add / Edit / Delete Jobs
- Add / Edit / Delete Taxes
- Add / Edit / Delete Services / Products
- Auto Email Invoice
- Download PDF Invoice
It probably does a lot more but I am too excited to complete the PayPal module.
Be sure to check back for updates – a version will be available for you shortly!
It gets very repetitive writing forms for clients – that’s why I decided to take the last hour to write this piece of fine code.
It takes whatever title you give a form object and creates a copy / paste dump for your view, controller and Javascript. It doesn’t handle checkboxes or select boxes – but that is because I find the form is not the time killer; it’s the Javascript and validation. The nice part is that most of the heavy lifting is done for you – plus you do not have to worry about spelling mistakes or silly syntax stuff because it is all duped in the script.
I’d like to pop this up on a subdomain after making it pretty – please comment if you think you will find this little app useful.
PS. During the recording I noticed a small error in the code – no need to comment, it is fixed now. The json_encoded array was returning a value that would not display in the error fields due to a mismatch in the name.
UPDATE : Check Out the Application Here!
I have fully tested the generated code and it works great, here’s a video demonstrating how to use “FormTorch”.
Displaying HTML rows with offset background colours is a great way to present large amounts of data in a table – plus it looks nice.
Here are a few ways I display data in this format :
1. PHP Method (for use with browsers with no JavaScript or CSSv3)
We set a variable (i) to the value of 1. We then add 1 to i until it reaches 10. Within the loop we determine if there is a remainder when dividing i by 2, this lets us know if the number is even or odd. We add an odd class to every odd table row – and and even class to every even table row.
Why choose this method :
Choose this method when you know your users will be using older browsers or are unsure if they have javascript enabled.
2. CSSv3 Method (For use with newer browsers)
How it works :
CSS sets the ‘nth-child’ to use the defined background colour.
Why choose this method :
Simplicity!, however beware of outdated browsers.
3. jQuery (for use with JavaScript enabled browsers)
How it works :
Similarly to the CSSv3 method above – however does not require CSSv3 support in the browser. It adds the class ‘odd’ to every other row in the table.
Why choose this method :
Simple to implement however requires JavaScript – do not forget to load jQuery in your document head!
If you host web applications for clients you know that a reliable web control panel is always a must. I have received calls at wee hours of the night from clients who needed something that could easily be executed with a simple web control panel and I was kicking myself for being so lazy.
I spent a few days looking for a reliable and even more importantly, affordable web hosting control panel. Unfortunately the free stuff still came at a price (learning curve for unwilling clientele) and the pay stuff was way out of budget.
As any enraged geek, I wrote it myself, here is my masterpiece in action :
This thing ate up so much of my time but I didn’t even care. The learning curve was huge – especially the DNS administration. I had to think of new ways to execute administrative tasks from a very limited user. I had to automate reloading services, span updates of SOA record strings – it was awesome.
The reason I put this whole video / post thing together is that I have a feeling there are others who are / were in my situation. Now I need feedback and I need to find any insecurities / vulnerabilities so heres what I want to do :
I am putting together a demo server, one you all can play with and try to break – you wont see it for another day or two but it will be here. I want to offer a full years free hosting to the one who provides the best feedback for this application.
Feedback may include :
- Best Feature Request
- Best Hack / Exploit (do your worst!)
- Stupidest mistake on my behalf
Submissions will be judged by an unbiased third party and we will gladly host the winners stuff for an entire year!
I will post the host / IP as soon as the demo server is complete and I am looking forward to hearing from you.






