Updates from September, 2010 Toggle Comment Threads | Keyboard Shortcuts

  • webscriptz 15:00 on 04/09/2010 Permalink | Reply
    Tags: load, , profile, profiling, , server   

    Profiling a php application 

    Today I’ve been talking with a friend of mine, Pieter. We share a server together for our websites,programming adventures etc.

    I’ve been talking about a project I’m writing and reminded me to go profile my application so the load of the application keeps low. So I’ve been searching the web for some easy profiling system, I came across Xdebug and others but the one that really struck my fancy was PHP quick profiler.

    It might not have every single feature other applications have in their toolbox but it’s easy to install and easy to work with. The things I’m most concerned about are shown nicely so I don’t need more

     
  • webscriptz 00:39 on 22/02/2010 Permalink | Reply
    Tags: annoyed, , , , , ,   

    Annoyed…with coding 

    I’ve been coding away all week, that is between my other jobs at home :P

    In all my ‘wisdom’ and persistence i made a small app with Yii which stores data in an array and serializes it into a db, and a basic CRUD, a proof of concept to see if the framework was capable of doing this and in the fastest way possible.

    No problem so far, getting it is simple, but apparently you Yii doesn’t permit everything. So you need a $temp variable to store the model data in, suffice to say that it isn’t really the shortest route to take nor in my opinion the fastest bus alas I have to do with it. This little app of not more then a 60 lines of code took me four days, four damn days to figure out the error,  honestly if we have methods to ‘save space’ in your coding why not permit them?

    I’m not going to bother everybody with my nagging so, I’ll stop here.

    For those who want to see the topic on the yii forums.

     
  • webscriptz 23:09 on 24/09/2009 Permalink | Reply
    Tags: , , , , , , , register,   

    Register & Yii projects 

    So, I think ti’s time for some updates on the website.

    I has been a bit wild the last 3 weeks. School has started yet again and I had a project to finish not to mention that i’m starting to see through the Yii framework structure. I’ve been writing diagrams for different project that I have in my head too and that takes a lot of time. Besides figuring out how I want the database to be and my database system had schifted, alto mysql is the favorite, a friend encouraged that i take a look to postgresql. Yii has given me a hard time to basically because it’s been a bit of a struggle to change coding methodes in function of Yii and then I don’t start talking about the RBAC system it has build-in. It took every neuron to understand everything form begin to end. Models was also something, Yii has two model types and the active records model is something to understand, I was a bit lost at how I would have to write my own AR functions but thanks to the forums I got that figured out too. All in all everything is good at the moment.

    I’ll be uploading some pictures of the system I wrote recently so you can get some sneaky peaks at it but unfortunately it won’t be open source system.

     
  • webscriptz 23:41 on 09/02/2009 Permalink | Reply
    Tags: ideas, installer, ongoing, part of, , , script,   

    PHP app installer 

    The last 2 to 3 days I’ve been working on a system that can be easely integrated into any application so that it can install itself on a server. I’ve added some ideas to suit myself, one is that data is installed to 2 databases. One for the users and one for the data of the users.

    Why? Because you can scale a lot easier if parts are in other databases. And it includes some of my projects that I want to start, see Google, users tend to user a website more when they are registerated but what if, like google, I register for Gmail and I can have Google docs with the same account but not the annoying registration? That is what I want to do.

    Great and Free? …..I’m not yet at that stage

    TODO:

    • The things that are left for me to do is basically that I scale everything more
    • Maybe port to smarty all the vars and everything
    • Maybe make a installer creator script for the people who want to implement my script.
    • Do something to the mysql files
    • Make more comments in the code
    • Document the script
     
    • webscriptz 20:40 on 21/02/2009 Permalink | Reply

      I’ve finished a second version which is basically far better and preforms better then the old one.

      Inserted smarty into the system and multiple language support also.

      Forget the docs who needs them anyway? Didn’t really took the time to document it:p

      The database has been scaled down to a single database and the sql files have been scaled down to one file that’s it really. Oh almost forgot this, got some oop in it, not really strong, just one class that does it all.

  • webscriptz 15:12 on 15/08/2008 Permalink | Reply
    Tags: ads, , google ads, , phpbb3   

    Inserting adsense in phpbb3 templates 

    I have to review some things from my last post about phpbb3 adsense. Infact it doesn’t matter where you put it just don’t do it in the if statements of the templates because you won’t be able to see it always.

     
  • webscriptz 00:04 on 15/08/2008 Permalink | Reply
    Tags: , , forums, ,   

    Adsense and forums 

    Where do you put AdSense when you manage a forum? It’s the question I’m thinking about for some days now. I’m trying different approaches every once in a while until I’m satisfied.

    Just before you we get started, note that forums.webscriptz.be isn’t getting a lot of visitors, this is basically because I have to deal with big competitors in the same niche of the web. Also because I’m not promoting the place because, well I’m short of time and I don’t want to spend money on something that I can earn myself by doing the work AdSense does.

    I’ve got my little theories on where to put AdSense on my blog, I don’t have the very best of designs for phpbb3 but I’m thinking positive.

    (More …)

     
  • webscriptz 23:47 on 13/08/2008 Permalink | Reply
    Tags: , , , money,   

    phpbb3 adsense input 

    I’ve solved the problems with adsense in the template files, the page I found truly explained a lot, apparently I’ve inputted the script into the wrong lines of code, odd as it seems.

    To the website

     
c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
shift + esc
cancel