Got a new job.
Its only been a few days but I’m loving it already.
The people are awesome.
The project is cool.
Cant really talk about what I am working on.
Legalize is hard to understand, and its better to be safe then sorry.
Got a new job.
Its only been a few days but I’m loving it already.
The people are awesome.
The project is cool.
Cant really talk about what I am working on.
Legalize is hard to understand, and its better to be safe then sorry.
I got an iPad.
Its getting me a lot of attention.
On the 761 heading south from the valley,
I saw a helicopter stop traffic and make lifts.
And there was a bunch of hoodlums on the
bus who saw me and started talking jive.
But it was it cool, we had a laugh, they call me iPad. 🙂
And today I had a meeting and my iPad was the center of attention for a minute.
I got this craigslist scraper and it collected about 380 emails from the LA computer gigs area.
So I sent them an email blast today. Sent out this blog. Its looking good, I got 20 impressions so far, when I usually don’t have any.
Once your controller has assigned variables and called render(), Zend_View then includes the requested view script and executes it “inside” the scope of the Zend_View instance. Therefore, in your view scripts, references to $this actually point to the Zend_View instance itself.
Variables assigned to the view from the controller are referred to as instance properties. For example, if the controller were to assign a variable ‘something’, you would refer to it as $this->something in the view script. (This allows you to keep track of which values were assigned to the script, and which are internal to the script itself.)
By way of reminder, here is the example view script from the Zend_View introduction.
One of the most important tasks to perform in a view script is to make sure that output is escaped properly; among other things, this helps to avoid cross-site scripting attacks. Unless you are using a function, method, or helper that does escaping on its own, you should always escape variables when you output them.
Zend_View comes with a method called escape() that does such escaping for you.
By default, the escape() method uses the PHP htmlspecialchars() function for escaping. However, depending on your environment, you may wish for escaping to occur in a different way. Use the setEscape() method at the controller level to tell Zend_View what escaping callback to use.
The callback function or method should take the value to be escaped as its first parameter, and all other parameters should be optional.
Although PHP is itself a powerful template system, many developers feel it is too powerful or complex for their template designers and will want to use an alternate template engine. Zend_View provides two mechanisms for doing so, the first through view scripts, the second by implementing Zend_View_Interface.
A view script may be used to instantiate and manipulate a separate template object, such as a PHPLIB-style template. The view script for that kind of activity might look something like this:
These would be the related template files:
Some may find it easier to simply provide a Zend_View-compatible template engine. Zend_View_Interface defines the minimum interface needed for compatability:
Using this interface, it becomes relatively easy to wrap a third-party template engine as a Zend_View-compatible class. As an example, the following is one potential wrapper for Smarty:
In this example, you would instantiate the Zend_View_Smarty class instead of Zend_View, and then use it in roughly the same fashion as Zend_View:
This step-by-step article describes how to configure a secondary DNS server.
On the primary DNS server, identify an additional name server. To do this, follow these steps:
For example, type namesvr2.example.com.
For example, namesvr2.example.com.
To install the DNS service, follow these steps:
DNS is now installed. To start the DNS snap-in, click Start, point to Administrative Tools, and then click DNS.
To configure the forward lookup zone on the secondary name server, follow these steps:
To configure the reverse lookup zone on the secondary name server, follow these steps:
Note The network ID is that portion of the TCP/IP address that pertains to the network.
For additional information about TCP/IP networks, click the article number below to view the article in the Microsoft Knowledge Base:
When you select a zone on the secondary name server, you may recieve the following error message in the right pane of the DNS window:
The DNS server encountered an error while attempting to load the zone.
The transfer of zone data from the master server failed.
This issue may occur if zone transfers are disabled. To resolve this issue, follow these steps:
Note If you click Only to the following servers, type the IP address of the secondary name server in the IP address box, and then click Add.
To troubleshoot and obtain information about the DNS configuration, use the Nslookup.exe utility.
For additional information about using Nslookup, click the article number below to view the article in the Microsoft Knowledge Base:
I made some changes to primaoro.com today.
Put in a checkout button in the product detail page, and restacked the google checkout button with the original button on the cart page.
Hope it will make purchasing easier.
I also have a meeting with masis, so I have to finish hdmispot.com changes today.
I just moved the search bar, added the visa mastercard logo on the bottom, and setup the x-cart static pages.
I am burned out. I don’t feel good about the interviews, Disney stood me up, and I haven’t heard anything good from any of the other recruiters either. Burn.
How exciting, I got a 1pm meeting today with Sodahead. I blew my chance to hook up with VC funded start up three years ago. I just didn’t know enough about MVC, and ORM, and Agile Development. The same problem occurred at Disney and Varient.
Varient didn’t like me because I had never seen ->assign(‘name’,$value) statements before. And I totally flunked one of their questions, “Create a left hand menu with 3 random links selected from a database”. I was so amped the night before, and crashing so hard that day, I went into my own world of .. use rnd() and use a loop to get 3 unique id numbers. when the answer was “select * from links order by rand limit 3”.
Sodahead didn’t like me because I didn’t know about Agile Development, or Scrum, and I had no clue what ORM, or object relational mapping is. What was I supposed to say? I mean, we didn’t have main stream frameworks at Bill McCaffrey’s setup, and their servers were getting 2 billion page view’s a month. Bill taught me that the best most efficient way to extend PHP is with C. He also taught me, screw oracle, write your own middleware, in C.
I hope to have changed this precedent, and today I will find out, as I walk into a Django backend and YUI frontend shop, Sodahead.com
And then do a phone screening with Disney.
Manifesto for Agile Software Development We are uncovering better ways of developing software by doing it and helping others do it. Through this work we have come to value: Individuals and interactions over processes and tools Working software over comprehensive documentation Customer collaboration over contract negotiation Responding to change over following a plan That is, while there is value in the items on the right, we value the items on the left more.
I am having some installation issues on my domain with this people aggregator software. Totally not happy. It says the software doesn’t work on a non linux box, well they weren’t kidding.
I’ve got a special deal going on for the person to give me my first iphone app project. I’ll work at the starving student price discount, which means insane productivity fueled by caffeine and sugar, at dirt cheap prices. Don’t be shy, get on this deal!