March 2010
1 post
3 tags
Update primary key in Propel
Have you ever tried to change an object’s primary key in Propel? Well…it’s not as simple like call setters and save(). The problem is that you’re changing the primary key in the object and then you’re asking the object to build the UPDATE SQL. I’m not sure what the correct approach is to this issue, but Propel is clearly not paritularly adept at updating primary...
February 2010
1 post
2 tags
January 2010
2 posts
2 tags
Prado criteria addOr() behaving strangely. Is this...
No, it’s not.
But maybe you won’t find the solution for hours if I explain the details… :)
In some situations (Propel 1.4), Criteria::addOr() translates to SQL as an AND. The usual example of using:
$c = new Criteria();
$c->add(BookPeer::TITLE, '%developer%', Criteria::LIKE);
$c->addOr(BookPeer::TITLE, '%Web%', Criteria::LIKE);
It translates in SQL as
WHERE...
2 tags
Prado PHP framework is still alive
During a recent project, I started to deal with the Prado framework. Prado borrowed many ideas from Microsoft ASP.NET. This framework has in mind since June 2004, but from version 3.0, significant efforts are allocated to ensure the quality and stability of Prado. After trying most of available frameworks (Symfony, CakePHP, Zend), I felt that something else would be needed, something like...
December 2009
2 posts
2 tags
CSS Transform Exporter for Blender →
„As the title implies, the exporter script runs in Blender. Simply construct a 2D scene using planes, add in an animation track, run the script and click Export. It’s as simple as that!”
wonderful idea.
2 tags
November 2009
4 posts
2 tags
cube
lev: na ez az a srác
lev: ja és progmatos
blint: lol
blint: sejtettem
blint: nem is
blint: aszittem mérnökinfós
lev: :)
lev: khm....az én vagyok
lev: :)
blint: de rajtad legalább nem látszik
…
lev: na
lev: már fordul is a kernel!!!
blint: :D:D:D
blint: „de rajtad legalább nem látszik” - csak meg ne szólalj
4 tags
Resolving: "A network-related or instance-specific...
Our recent ASP.NET project has began to grow bigger and bigger, so yesterday I decided to grab all business logic from the project, separate to components and put them into class libraries. Mostly I used some automated copying process, but in ‘ClientManagerClassLibrary’ I had to recreate my ‘ClientProfile’ LINQ to SQL class using the built-in wizard in Visual Studio 2008...
2 tags
Create extended, customizable ListView DataPager
<asp:ListView ID="livComments" runat="server" DataSourceID="CommentsObjectDataSource" EnableViewState="False" onitemcommand="livComments_ItemCommand" >
<ItemTemplate>
... /template here/ ...
</ItemTemplate>
<LayoutTemplate>
<asp:PlaceHolder ID="itemPlaceholder" runat="server" />
<asp:DataPager ID="CommentDataPager" runat="server"...
new blog design is done
ready to code yeah.
October 2009
3 posts
3 tags
Login failed for user ‘IIS APPPOOL\DefaultAppPool’...
Last night I wanted to share our currently developed CMS (ASP.NET 2.0 project), so I copied the working application from my developer machine to a home server running on Windows 7, IIS 6.1.
After I configured the connection string, I got the following error:
Login failed for user 'IIS APPPOOL\DefaultAppPool'.
It’s not a simple “Login failed” message, adding rights to the...
1 tag
start!